dcrd/rpctest
Dave Collins 3b6449ca31
main: Use rpcclient/v3.
This updates the main module and rpctest package (which is part of the
main module) to use v3 of the rpcclient module.
2019-07-22 18:12:53 -05:00
..
doc.go rpctest: Upstream create new rpctest package sync. 2017-07-19 14:24:27 -05:00
memwallet.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00
node.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00
README.md multi: Use https links where available. 2019-06-18 14:20:06 -05:00
rpc_harness_test.go mining: Overhaul background template generator. 2019-06-23 00:45:51 -05:00
rpc_harness.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00
utils.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00
votingwallet_test.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00
votingwallet.go main: Use rpcclient/v3. 2019-07-22 18:12:53 -05:00

rpctest

Build Status ISC License GoDoc

Package rpctest provides a dcrd-specific RPC testing harness crafting and executing integration tests by driving a dcrd instance via the RPC interface. Each instance of an active harness comes equipped with a simple in-memory HD wallet capable of properly syncing to the generated chain, creating new addresses, and crafting fully signed transactions paying to an arbitrary set of outputs.

This package was designed specifically to act as an RPC testing harness for dcrd. However, the constructs presented are general enough to be adapted to any project wishing to programmatically drive a dcrd instance of its systems/integration tests.

Installation and Updating

$ go get -u github.com/decred/dcrd/rpctest

License

Package rpctest is licensed under the copyfree ISC License.