Age | Commit message (Collapse) | Author |
|
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
|
|
|
|
|
|
b5fd666 [qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
|
|
Also fix a bug in the sync_with_ping() helper function
|
|
1d28faf test: Avoid ConnectionResetErrors during RPC tests (Wladimir J. van der Laan)
|
|
30930e8 test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
|
|
46a4774 Fix nulldummy.py test (Johnson Lau)
|
|
|
|
These are text files but their encoding does not depend on the locale.
Not all of them require utf8 but it is better to fix it at something
to remove potential unpredictability.
This is necessary on FreeBSD where no locale is set by default,
and apparently Python defaults not only the terminal encoding to the locale
but that of every text file. So without LOCALE environment it defaults text
file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`.
Luckily the locale doesn't affect the default encoding for str.encode() and
bytes.decode() on Python 3, so this is the only change necessary.
|
|
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
|
|
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
|
|
fa156c6 [qa] nulldummy: Don't run unused code (MarcoFalke)
|
|
|
|
a0f8482 [qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
|
|
|
|
|
|
42f6aed tests: Add exception error message for JSONRPCException (Wladimir J. van der Laan)
|
|
0637b02 Ping regularly in p2p-segwit.py to keep connection alive (Johnson Lau)
|
|
fa6e71b [qa] Add getinfo smoke tests and rework versionbits test (MarcoFalke)
ddddaaf [rpc] Deprecate getinfo (MarcoFalke)
|
|
This improves error reporting if `JSONRPCException` is not specifically caught
and ends up in Python's default backtrace handler.
Before:
```
Traceback (most recent call last):
File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 153, in __call__
raise JSONRPCException(response['error'])
test_framework.authproxy.JSONRPCException
```
After:
```
Traceback (most recent call last):
File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 152, in __call__
raise JSONRPCException(response['error'])
test_framework.authproxy.JSONRPCException: Unknown named parameter random (-8)
```
|
|
This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
|
|
|
|
fa427ce [qa] pull-tester: Only print output when failed (MarcoFalke)
|
|
|
|
482f852 Implement NULLDUMMY softfork (Johnson Lau)
|
|
This was replaced by getmininginfo, getnetworkinfo and getwalletinfo
|
|
157254a Fix broken sendcmpct test in p2p-compactblocks.py (Suhas Daftuar)
|
|
783e930 [copyright] Add missing copyright headers (isle2983)
|
|
dddd04f [qa] Refactor RPCTestHandler to prevent TimeoutExpired (MarcoFalke)
|
|
fa644d0 [qa] wallet: Check legacy wallet as well (MarcoFalke)
|
|
fad41f3 [qa] walletbackup: Sync blocks inside the loop (MarcoFalke)
|
|
|
|
Python lambda use was incorrect.
sendcmpct messages need to be synchronized with RPC calls to generate().
Headers need to be synced (eg with getheaders) for cmpctblock announcements
to start.
Last test omitted sending a sendcmpct message.
|
|
|
|
|
|
|
|
c62cc4e fix path for bak file (whythat)
438e94d remove root test directory for RPC tests (whythat)
|
|
5547aeb p2psegwit.py transaction is rejected due to premature witness not size (instagibbs)
bc1d1f2 Update p2p-segwit.py to reflect correct AskFor behavior (instagibbs)
|
|
|
|
2f2548d Fix SIGHASH_SINGLE bug in test_framework SignatureHash (Johnson Lau)
|
|
d6a5dc4 add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests (Cory Fields)
|
|
waitfornewblock waits until a new block is received, or the timeout expires, then
returns the current block height/hash.
waitforblock waits for a specific blockhash, or until the timeout expires, then
returns the current block height/hash. If the target blockhash is the current
tip, it will return immediately.
waitforblockheight waits until the tip has reached a certain height or higher,
then returns the current height and hash.
waitforblockheight is used to avoid polling in the rpc tests.
|
|
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
|
|
|
|
|
|
|
|
|
|
|
|
|