Browse Source

Merge pull request #947 from elichai/patch-1

Added mempool request
patch-2
Manuel Aráoz 10 years ago
parent
commit
906ba7cc0f
  1. 11
      lib/transport/messages.js

11
lib/transport/messages.js

@ -584,6 +584,17 @@ function GetHeaders(starts, stop) {
util.inherits(GetHeaders, GetBlocks);
module.exports.GetHeaders = Message.COMMANDS.getheaders = GetHeaders;
/**
* GetMempool Message
*
* @name Transport.Message.GetMempool
*/
function GetMempool() {
this.command = 'mempool';
}
util.inherits(GetMempool, Message);
module.exports.GetMempool = Message.COMMANDS.mempool = GetMempool;
// TODO: Remove this PATCH (yemel)
Buffers.prototype.skip = function (i) {

Loading…
Cancel
Save