dcrd/rpctest
Dave Collins 9e1579771b
multi: Reset testnet and bump to version 3.
This adds a new testnet3 network with new genesis block, block one
ledger, treasury address, and network magic.

All consensus rules that were voted in by testnet2 are automatically
active on the new testnet3 without having to vote them in again.
Consequently, there are no consensus vote agendas defined for it.
2018-08-08 08:09:32 -05:00
..
doc.go rpctest: Upstream create new rpctest package sync. 2017-07-19 14:24:27 -05:00
memwallet.go multi: add valueIn parameter to wire.NewTxIn. 2018-06-15 19:13:41 -05:00
node.go multi: Use saner permissions saving certs. 2018-06-05 10:32:33 -05:00
README.md multi: Fix badges in README. 2018-06-10 18:38:09 +08:00
rpc_harness_test.go travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
rpc_harness.go multi: Reset testnet and bump to version 3. 2018-08-08 08:09:32 -05:00
utils.go rpcclient: Merge dcrrpcclient repo. 2017-10-11 14:25:50 -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.