dcrd/rpctest
Dave Collins cebab1ef64
multi: Use secp256k1/v2 module.
This updates the following modules to use the secp256k1/v2 module:

- blockchain
- chaincfg/v2
- dcrutil/v2
- hdkeychain/v2
- mempool/v3
- txscript/v2
- main

The hdkeychain/v3 and txscript/v2 modules both use types from secp256k1
in their public API.

Consequently, in order avoid forcing them to bump their major versions,
secp256k1/v1.0.3 was released with the types redefined in terms of the
secp256k1/v2 module so callers still using v1 of the module that are not
ready to upgrade to the v2 module yet can interoperate by updating to
the latest patch version.
2019-10-08 10:14:13 -05:00
..
doc.go rpctest: Upstream create new rpctest package sync. 2017-07-19 14:24:27 -05:00
memwallet.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -05:00
node.go rpctest: remove always-nil error 2019-10-07 09:13:58 -05:00
README.md build: Replace TravisCI with CI via Github actions. 2019-09-20 19:59:04 -05:00
rpc_harness_test.go rpctest: use errgroup to catch errors from go routines 2019-10-07 09:13:58 -05:00
rpc_harness.go rpctest: remove always-nil error 2019-10-07 09:13:58 -05:00
utils.go multi: remove getblocktemplate. 2019-09-05 09:23:56 -05:00
votingwallet_test.go gcs: Start v2 module dev cycle. 2019-08-20 09:07:07 -05:00
votingwallet.go multi: Use secp256k1/v2 module. 2019-10-08 10:14:13 -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.