bitwasp / bitcoind-server
A helper library for spawning bitcoind regtest nodes for unit tests
v0.0.6
2018-05-14 12:42 UTC
Requires
- matomo/ini: ^2.0
- nbobtc/bitcoind-php: ^2.0.2
Requires (Dev)
- phpunit/phpunit: ^6.0
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2024-10-23 05:52:16 UTC
README
This library can be used to creating bitcoin node data directories with a certain configuration, or to boot a bitcoind instance against a certain directory.
The NodeService provides a simple API for this function.
The UnitTestNodeService provides an API for creating once off regtest nodes, whose data directories will be cleaned up when the service instance is destructed.
The Server class can also be used as a factory for
producing an nbobtc/bitcoind
RPC client configured
to use the running instance.