remove service properties.

This commit is contained in:
Christopher Jeffrey 2016-05-22 23:49:34 -07:00
parent 013b59a9cc
commit 373e474f59
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 0 additions and 8 deletions

View File

@ -1198,10 +1198,6 @@ Parser.parseAddress = function parseAddress(p, full) {
return {
ts: ts,
services: services,
network: (services & constants.services.NETWORK) !== 0,
getutxo: (services & constants.services.GETUTXO) !== 0,
bloom: (services & constants.services.BLOOM) !== 0,
witness: (services & constants.services.WITNESS) !== 0,
ipv6: utils.array2ip(ip, 6),
ipv4: utils.array2ip(ip, 4),
port: port

View File

@ -261,10 +261,6 @@
* @property {Buffer?} ipv4 - IPv4 address.
* @property {Buffer?} ipv6 - IPv6 address.
* @property {Number?} port - Port.
* @property {Boolean?} network - Whether network services are enabled.
* @property {Boolean?} getutxo - Whether peer supports getutxos.
* @property {Boolean?} bloom - Whether peer supports serving FILTERED_BLOCKs.
* @property {Boolean?} witness - Whether peer supports segwit.
* @global
*/