complete Version message
This commit is contained in:
parent
24b02ccaa6
commit
2489750913
@ -248,6 +248,12 @@ Version.prototype.fromBuffer = function(payload) {
|
||||
*/
|
||||
this.start_height = parser.readUInt32LE();
|
||||
|
||||
/**
|
||||
* @desc Whether the remote peer should announce relayed transactions or not, see BIP 0037
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.relay = !!parser.readUInt8();
|
||||
|
||||
console.log(this);
|
||||
$.checkState(parser.finished());
|
||||
return this;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user