dcrd/rpctest
2020-02-18 19:35:19 -06:00
..
doc.go rpctest: Upstream create new rpctest package sync. 2017-07-19 14:24:27 -05:00
memwallet.go rpctest: Update for hdkeychain API changes. 2020-02-14 19:36:36 -06:00
node.go rpcclient: Start v6 module dev cycle. 2020-01-31 15:05:03 -06:00
README.md multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
rpc_harness_test.go rpctest: adapt new API 2020-01-31 15:05:03 -06:00
rpc_harness.go rpctest: adapt new API 2020-01-31 15:05:03 -06:00
utils.go rpctest: adapt new API 2020-01-31 15:05:03 -06:00
votingwallet_test.go rpctest: adapt new API 2020-01-31 15:05:03 -06:00
votingwallet.go secp256k1: Make private key independent type. 2020-02-10 22:40:34 -06:00

rpctest

Build Status ISC License Doc

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.