John Newbery
64c080051b
Use logging in individual tests
8 years ago
John Newbery
b0dec4a04a
Remove manual debug settings in qa tests.
...
-debug and -logtimemicros are now set by default. Individual test cases
no longer need to set these parameters manually.
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
MarcoFalke
fab1af31d4
[qa] maxuploadtarget: Use cached utxo set
8 years ago
MarcoFalke
facbfa5816
[qa] Get rid of duplicate code
8 years ago
MarcoFalke
fa666094cf
[qa] mininode: Only allow named args in wait_until
8 years ago
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
9 years ago
MarcoFalke
fad68f751a
[qa] Reduce node count for some tests
9 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
Alex Morcos
5fa66e4682
Create SingleNodeConnCB class for RPC tests
9 years ago
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
9 years ago
MarcoFalke
fa0a9749eb
[qa] Move gen_return_txouts() to util.py
9 years ago
Wladimir J. van der Laan
2f601d215d
test: remove necessity to call create_callback_map
...
Remove necessity to call create_callback_map (as well as the function
itself) from the Python P2P test framework. Invoke the appropriate
methods directly.
- Easy to forget to call it and wonder why it doesn't work
- Simplifies the code
- This makes it easier to handle new messages in subclasses
9 years ago
Jonas Schnelli
d61fcff071
don't enforce maxuploadtargets disconnect for whitelisted peers
9 years ago
MarcoFalke
b27e81f115
[net] Cleanup maxuploadtarget
...
* log: nMaxOutboundLimit is in bytes
* log: Hide misleading -maxuploadtarget=0 warning
* qa : Minor cleanup to maxuploadtarget rpc tests
* net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
9 years ago
Suhas Daftuar
17a073ae06
Add RPC test for -maxuploadtarget
9 years ago