Auto merge of #2987 - leto:rpc-readme, r=bitcartel
Fix references to Bitcoin in RPC tests readme This is a vintage documentation bug, which I just fixed in Hush as well.
This commit is contained in:
@@ -1,13 +1,8 @@
|
|||||||
Regression tests of RPC interface
|
Regression tests of RPC interface
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
### [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.
|
|
||||||
|
|
||||||
### [test_framework/test_framework.py](test_framework/test_framework.py)
|
### [test_framework/test_framework.py](test_framework/test_framework.py)
|
||||||
Base class for new regression tests.
|
Base class for RPC regression tests.
|
||||||
|
|
||||||
### [test_framework/util.py](test_framework/util.py)
|
### [test_framework/util.py](test_framework/util.py)
|
||||||
Generally useful functions.
|
Generally useful functions.
|
||||||
@@ -35,8 +30,8 @@ If you set the environment variable `PYTHON_DEBUG=1` you will get some debug out
|
|||||||
|
|
||||||
A 200-block -regtest blockchain and wallets for four nodes
|
A 200-block -regtest blockchain and wallets for four nodes
|
||||||
is created the first time a regression test is run and
|
is created the first time a regression test is run and
|
||||||
is stored in the cache/ directory. Each node has 25 mature
|
is stored in the cache/ directory. Each node has the miner
|
||||||
blocks (25*50=1250 BTC) in its wallet.
|
subsidy from 25 mature blocks (25*10=250 ZEC) in its wallet.
|
||||||
|
|
||||||
After the first run, the cache/ blockchain and wallets are
|
After the first run, the cache/ blockchain and wallets are
|
||||||
copied into a temporary directory and used as the initial
|
copied into a temporary directory and used as the initial
|
||||||
@@ -47,5 +42,5 @@ to recover with:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm -rf cache
|
rm -rf cache
|
||||||
killall bitcoind
|
killall zcashd
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class JoinSplitTest(BitcoinTestFramework):
|
|||||||
assert_equal(self.cannot_joinsplit(node, txn), True)
|
assert_equal(self.cannot_joinsplit(node, txn), True)
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
# All nodes should start with 250 BTC:
|
# All nodes should start with 250 ZEC:
|
||||||
starting_balance = 250
|
starting_balance = 250
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
assert_equal(self.nodes[i].getbalance(), starting_balance)
|
assert_equal(self.nodes[i].getbalance(), starting_balance)
|
||||||
|
|||||||
Reference in New Issue
Block a user