Services
Static Method Summary
Static Public Methods | ||
public static |
isFullNode(services: number): boolean this method was deprecated.
|
|
public static |
isLightNode(services: number): boolean this method was deprecated.
|
|
public static |
isNanoNode(services: number): boolean this method was deprecated.
|
|
public static |
legacyProvideToCurrent(flags: *): * |
|
public static |
providesServices(flags: number, services: ...number): * |
|
public static |
toNameArray(flags: number): Array<string> |
Constructor Summary
Public Constructor | ||
public |
constructor(provided: number, accepted: number) |
Member Summary
Public Members | ||
public get |
accepted: number |
|
public set |
accepted(services: number) |
|
public get |
provided: number |
|
public set |
provided(services: number) |
Static Public Methods
public static isFullNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
public static isLightNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
public static isNanoNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
public static legacyProvideToCurrent(flags: *): * source
Params:
Name | Type | Attribute | Description |
flags | * |
Return:
* |
public static providesServices(flags: number, services: ...number): * source
Params:
Name | Type | Attribute | Description |
flags | number | ||
services | ...number |
Return:
* |
public static toNameArray(flags: number): Array<string> source
Params:
Name | Type | Attribute | Description |
flags | number |
Return:
Array<string> |
Public Constructors
public constructor(provided: number, accepted: number) source
Params:
Name | Type | Attribute | Description |
provided | number |
|
Bitmap of services that can be provided by this node |
accepted | number |
|
Bitmap of services that can be accepted by this node |