fcash-p2p
Version:
Interface to the bitcoin P2P network for fcash
26 lines (20 loc) • 594 B
JavaScript
;
var Message = require('../message');
var inherits = require('util').inherits;
var fcash = require('fcash-lib');
var BufferUtil = fcash.util.buffer;
/**
* Request peer to clear data for a bloom filter
* @extends Message
* @constructor
*/
function FilterclearMessage(arg, options) {
Message.call(this, options);
this.command = 'filterclear';
}
inherits(FilterclearMessage, Message);
FilterclearMessage.prototype.setPayload = function() {};
FilterclearMessage.prototype.getPayload = function() {
return BufferUtil.EMPTY_BUFFER;
};
module.exports = FilterclearMessage;