bitcoin/qa/rpc-tests
Gavin Andresen 93a18a3650 Remove CWalletTx::vfSpent
Use the spent outpoint multimap to figure out which wallet transaction
outputs are unspent, instead of a vfSpent array that is saved
to disk.
2014-02-26 11:53:51 -05:00
..
conflictedbalance.sh Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
README.md Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
send.sh Make qa/rpc-tests/ compatible with OSX 2014-02-13 14:25:38 -05:00
txnmall.sh Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
util.sh Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
wallet.sh Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
walletbackup.sh Test for walletbackup/walletdump RPC calls 2014-02-24 12:58:40 -05:00

Regression tests of RPC interface

Bash scripts that use the RPC interface and command-line bitcoin-cli to test full functionality in -regtest mode.

wallet.sh : Exercise wallet send/receive code.

txnmall.sh : Test proper accounting of malleable transactions

conflictedbalance.sh : More testing of malleable transaction handling

util.sh : useful re-usable bash functions

Tips for creating new tests

To cleanup after a failed or interrupted test: killall bitcoind rm -rf test.*

The most difficult part of writing reproducible tests is keeping multiple nodes in sync. See WaitBlocks, WaitPeers, and WaitMemPools for how other tests deal with this.