|
|
|
@ -1,22 +1,26 @@
@@ -1,22 +1,26 @@
|
|
|
|
|
Regression tests of RPC interface |
|
|
|
|
================================= |
|
|
|
|
|
|
|
|
|
python-bitcoinrpc: git subtree of https://github.com/jgarzik/python-bitcoinrpc |
|
|
|
|
### [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc) |
|
|
|
|
Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc). |
|
|
|
|
Changes to python-bitcoinrpc should be made upstream, and then |
|
|
|
|
pulled here using git subtree |
|
|
|
|
pulled here using git subtree. |
|
|
|
|
|
|
|
|
|
skeleton.py : Copy this to create new regression tests. |
|
|
|
|
### [skeleton.py](skeleton.py) |
|
|
|
|
Copy this to create new regression tests. |
|
|
|
|
|
|
|
|
|
listtransactions.py : Tests for the listtransactions RPC call |
|
|
|
|
### [listtransactions.py](listtransactions.py) |
|
|
|
|
Tests for the listtransactions RPC call. |
|
|
|
|
|
|
|
|
|
util.py : generally useful functions |
|
|
|
|
### [util.py](util.sh) |
|
|
|
|
Generally useful functions. |
|
|
|
|
|
|
|
|
|
Bash-based tests, to be ported to Python: |
|
|
|
|
----------------------------------------- |
|
|
|
|
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 |
|
|
|
|
- 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 |
|
|
|
|
|
|
|
|
|
Notes |
|
|
|
|
===== |
|
|
|
@ -32,5 +36,8 @@ test state.
@@ -32,5 +36,8 @@ test state.
|
|
|
|
|
|
|
|
|
|
If you get into a bad state, you should be able |
|
|
|
|
to recover with: |
|
|
|
|
rm -rf cache |
|
|
|
|
killall bitcoind |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
rm -rf cache |
|
|
|
|
killall bitcoind |
|
|
|
|
``` |
|
|
|
|