bitcore-node-res
Version:
Full node with extended capabilities using Bitcore and Res
21 lines (14 loc) • 994 B
Markdown
for creating, managing, starting, stopping and interacting with a Bitcore node.
This function will add a service to a node by installing the necessary dependencies and modifying the `bitcore-node.json` configuration.
This function will load a configuration file `bitcore-node.json` and instantiate and start a node based on the configuration.
This function will recursively find a configuration `bitcore-node.json` file in parent directories and return the result.
This function will return a default configuration with the default services based on environment variables, and will default to using the standard `/home/user/.bitcoin` data directory.
This function will remove a service from a node by uninstalling the necessary dependencies and modifying the `bitcore-node.json` configuration.
This function will call an API method on a node via the JSON-RPC interface.
A collection of functions