Age | Commit message (Collapse) | Author |
|
|
|
5805ac8 Add preciousblock tests (Pieter Wuille)
5127c4f Add preciousblock RPC (Pieter Wuille)
|
|
|
|
Unit test adaptations by Pieter Wuille.
|
|
segwit scripts
67d6ee1 remove redundant tests in p2p-segwit.py (Johnson Lau)
9260085 test segwit uncompressed key fixes (Johnson Lau)
248f3a7 Fix ismine and addwitnessaddress: no uncompressed keys in segwit (Pieter Wuille)
b811124 [qa] Add tests for uncompressed pubkeys in segwit (Suhas Daftuar)
9f0397a Make test framework produce lowS signatures (Johnson Lau)
4c0c25a Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts (Johnson Lau)
3ade2f6 Add standard limits for P2WSH with tests (Johnson Lau)
|
|
|
|
|
|
|
|
|
|
|
|
This fixes an issue in backporting to 0.13 as 0.13 enforces SF
activation by block version lockin instead of through a hard-coded
block height.
|
|
|
|
4cdece4 [qa] Fix compact block shortids for a test case (Dagur Valberg Johannsson)
|
|
b55d941 [qa] Fix race condition in sendheaders.py (Suhas Daftuar)
6976db2 [qa] Another attempt to fix race condition in p2p-compactblocks.py (Suhas Daftuar)
|
|
|
|
Also de-duplicates code that has been moved to mininode
|
|
sync_with_ping() only guarantees that the node has processed messages
it's received from the peer, not that block announcements from the node have
made it back to the peer. Replace sync_with_ping() with an explicit check that
the node's tip has been announced.
|
|
|
|
|
|
Also improve tx printing
|
|
|
|
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)
|