neobytes/qa/rpc-tests/README.md

27 lines
719 B
Markdown
Raw Normal View History

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.