remove service properties.
This commit is contained in:
parent
013b59a9cc
commit
373e474f59
@ -1198,10 +1198,6 @@ Parser.parseAddress = function parseAddress(p, full) {
|
|||||||
return {
|
return {
|
||||||
ts: ts,
|
ts: ts,
|
||||||
services: services,
|
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),
|
ipv6: utils.array2ip(ip, 6),
|
||||||
ipv4: utils.array2ip(ip, 4),
|
ipv4: utils.array2ip(ip, 4),
|
||||||
port: port
|
port: port
|
||||||
|
|||||||
@ -261,10 +261,6 @@
|
|||||||
* @property {Buffer?} ipv4 - IPv4 address.
|
* @property {Buffer?} ipv4 - IPv4 address.
|
||||||
* @property {Buffer?} ipv6 - IPv6 address.
|
* @property {Buffer?} ipv6 - IPv6 address.
|
||||||
* @property {Number?} port - Port.
|
* @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
|
* @global
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user