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:
Homu 2018-03-05 15:22:36 -08:00
commit 99d9e1483f
2 changed files with 5 additions and 10 deletions

View File

@ -1,13 +1,8 @@
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)
Base class for new regression tests.
Base class for RPC regression tests.
### [test_framework/util.py](test_framework/util.py)
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
is created the first time a regression test is run and
is stored in the cache/ directory. Each node has 25 mature
blocks (25*50=1250 BTC) in its wallet.
is stored in the cache/ directory. Each node has the miner
subsidy from 25 mature blocks (25*10=250 ZEC) in its wallet.
After the first run, the cache/ blockchain and wallets are
copied into a temporary directory and used as the initial
@ -47,5 +42,5 @@ to recover with:
```bash
rm -rf cache
killall bitcoind
killall zcashd
```

View File

@ -40,7 +40,7 @@ class JoinSplitTest(BitcoinTestFramework):
assert_equal(self.cannot_joinsplit(node, txn), True)
def run_test(self):
# All nodes should start with 250 BTC:
# All nodes should start with 250 ZEC:
starting_balance = 250
for i in range(4):
assert_equal(self.nodes[i].getbalance(), starting_balance)