docs: add missed field to version.DecodeResult

This commit is contained in:
Kagami Hiiragi 2015-02-12 13:50:04 +03:00
parent e90086f8d2
commit 9ca411ec22

View File

@ -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