diff --git a/lib/messages.js b/lib/messages.js index 0ec22e0..daa9d2a 100644 --- a/lib/messages.js +++ b/lib/messages.js @@ -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