docs: add missed field to version.DecodeResult
This commit is contained in:
parent
e90086f8d2
commit
9ca411ec22
|
@ -83,6 +83,10 @@ var randomNonce = bmcrypto.randomBytes(8);
|
|||
var version = exports.version = {
|
||||
/**
|
||||
* @typedef {Object} DecodeResult
|
||||
* @property {number} version - Identifies protocol version being used
|
||||
* by the node. Should equal 3. Nodes should disconnect if the remote
|
||||
* node's version is lower but continue with the connection if it is
|
||||
* higher.
|
||||
* @property {Object} services -
|
||||
* [Service]{@link module:bitmessage/structs.ServicesBitfield}
|
||||
* features to be enabled for this connection
|
||||
|
|
Loading…
Reference in New Issue
Block a user