aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/README.md
blob: ee9e8b35ca713914fc6f93e4516099ef9fa45686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Regression tests of RPC interface
=================================

wallet.sh : Exercise wallet send/receive code.

walletbackup.sh : Exercise wallet backup / dump / import

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.