Changeset View
Changeset View
Standalone View
Standalone View
doc/functional-tests.md
Show First 20 Lines • Show All 275 Lines • ▼ Show 20 Lines | - `sync_every_block`: `True/False`. If `False`, then all blocks | ||||
sequence and synced (this is slower when processing many blocks). | sequence and synced (this is slower when processing many blocks). | ||||
- `sync_every_transaction`: `True/False`. Analogous to | - `sync_every_transaction`: `True/False`. Analogous to | ||||
`sync_every_block`, except if the outcome on the last tx is "None", | `sync_every_block`, except if the outcome on the last tx is "None", | ||||
then the contents of the entire mempool are compared across all bitcoind | then the contents of the entire mempool are compared across all bitcoind | ||||
connections. If `True` or `False`, then only the last tx's | connections. If `True` or `False`, then only the last tx's | ||||
acceptance is tested against the given outcome. | acceptance is tested against the given outcome. | ||||
- For examples of tests written in this framework, see | - For examples of tests written in this framework, see | ||||
`invalidblockrequest.py` and `p2p-fullblocktest.py`. | `invalidblockrequest.py` and `feature_block.py`. | ||||
### test-framework modules | ### test-framework modules | ||||
#### [test_framework/authproxy.py](test_framework/authproxy.py) | #### [test_framework/authproxy.py](test_framework/authproxy.py) | ||||
Taken from the [python-bitcoinrpc repository](https://github.com/jgarzik/python-bitcoinrpc). | Taken from the [python-bitcoinrpc repository](https://github.com/jgarzik/python-bitcoinrpc). | ||||
#### [test_framework/test_framework.py](test_framework/test_framework.py) | #### [test_framework/test_framework.py](test_framework/test_framework.py) | ||||
Base class for functional tests. | Base class for functional tests. | ||||
Show All 24 Lines |