A bcoin "environment" which exposes all constructors for primitives, the blockchain, mempool, wallet, etc. It also exposes a global worker pool.
- Source:
Methods
(static) define(name, path)
Define a module for lazy loading.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | |
path |
String |
(static) set(network)
Set the default network.
Parameters:
Name | Type | Description |
---|---|---|
network |
String |
- Source:
(static) set(network)
Set the default network.
Parameters:
Name | Type | Description |
---|---|---|
network |
String |