Wladimir J. van der Laan
f2d705629b
Merge #7551 : Add importmulti RPC call
...
215caba
Add consistency check to RPC call importmulti (Pedro Branco)
cb08fdb
Add importmulti rpc call (Pedro Branco)
8 years ago
Pedro Branco
215caba4ed
Add consistency check to RPC call importmulti
8 years ago
Pedro Branco
cb08fdbf78
Add importmulti rpc call
8 years ago
mruddy
fc146095d2
RPC: augment getblockchaininfo bip9_softforks data
8 years ago
Wladimir J. van der Laan
7f71a3c591
Merge #6996 : Add preciousblock RPC
...
5805ac8
Add preciousblock tests (Pieter Wuille)
5127c4f
Add preciousblock RPC (Pieter Wuille)
8 years ago
Pieter Wuille
3ac6de0a04
Align constant names for maximum compact block / blocktxn depth
8 years ago
Matt Corallo
fe998e962d
More agressively filter compact block requests
...
Unit test adaptations by Pieter Wuille.
8 years ago
Wladimir J. van der Laan
53133c1c04
Merge #8499 : Add several policy limits and disable uncompressed keys for 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)
8 years ago
Johnson Lau
67d6ee1e36
remove redundant tests in p2p-segwit.py
8 years ago
Johnson Lau
9260085377
test segwit uncompressed key fixes
8 years ago
Suhas Daftuar
b811124202
[qa] Add tests for uncompressed pubkeys in segwit
8 years ago
Johnson Lau
9f0397aff7
Make test framework produce lowS signatures
8 years ago
Johnson Lau
3ade2f64cf
Add standard limits for P2WSH with tests
8 years ago
Matt Corallo
a4ad37d4ef
[qa] Build v4 blocks in p2p-compactblocktests
...
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.
8 years ago
Matt Corallo
032e883b93
[qa] Send segwit-encoded blocktxn messages in p2p-compactblocks
8 years ago
Wladimir J. van der Laan
e2a17e43e3
Merge #8904 : [qa] Fix compact block shortids for a test case
...
4cdece4
[qa] Fix compact block shortids for a test case (Dagur Valberg Johannsson)
8 years ago
MarcoFalke
d075479969
Merge #8882 : [qa] Fix race conditions in p2p-compactblocks.py and sendheaders.py
...
b55d941
[qa] Fix race condition in sendheaders.py (Suhas Daftuar)
6976db2
[qa] Another attempt to fix race condition in p2p-compactblocks.py (Suhas Daftuar)
8 years ago
Dagur Valberg Johannsson
4cdece4041
[qa] Fix compact block shortids for a test case
8 years ago
Suhas Daftuar
b55d9411e7
[qa] Fix race condition in sendheaders.py
...
Also de-duplicates code that has been moved to mininode
8 years ago
Suhas Daftuar
6976db2f46
[qa] Another attempt to fix race condition in p2p-compactblocks.py
...
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.
8 years ago
Suhas Daftuar
27acfc1d2e
[qa] Update p2p-compactblocks.py for compactblocks v2
8 years ago
Suhas Daftuar
422fac649f
[qa] Add support for compactblocks v2 to mininode
8 years ago
Suhas Daftuar
f5b9b8f437
[qa] Fix bug in mininode witness deserialization
...
Also improve tx printing
8 years ago
Matt Corallo
be7555f0c0
Fix overly-prescriptive p2p-segwit test for new fetch logic
8 years ago
MarcoFalke
76f3c02fb0
Merge #8860 : [qa] util: Move wait_bitcoinds() into stop_nodes()
...
fa7c35c
[qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
8 years ago
MarcoFalke
fa666094cf
[qa] mininode: Only allow named args in wait_until
8 years ago
MarcoFalke
fa7c35c4ec
[qa] util: Move wait_bitcoinds() into stop_nodes()
8 years ago
MarcoFalke
6faffb8a83
Merge #8854 : [qa] Fix race condition in p2p-compactblocks test
...
b5fd666
[qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
8 years ago
Suhas Daftuar
b5fd666984
[qa] Fix race condition in p2p-compactblocks test
...
Also fix a bug in the sync_with_ping() helper function
8 years ago
Wladimir J. van der Laan
0572acd63b
Merge #8839 : test: Avoid ConnectionResetErrors during RPC tests
...
1d28faf
test: Avoid ConnectionResetErrors during RPC tests (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
929860106f
Merge #8840 : test: Explicitly set encoding to utf8 when opening text files
...
30930e8
test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
83998b52d0
Merge #8841 : [qa] fix nulldummy test
...
46a4774
Fix nulldummy.py test (Johnson Lau)
8 years ago
Johnson Lau
46a4774d2b
Fix nulldummy.py test
8 years ago
Wladimir J. van der Laan
30930e847e
test: Explicitly set encoding to utf8 when opening text files
...
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.
8 years ago
Wladimir J. van der Laan
c9d7b0de2f
Merge #8834 : [qa] blockstore: Switch to dumb dbm
...
fa9cd25
[qa] blockstore: Switch to dumb dbm (MarcoFalke)
8 years ago
Wladimir J. van der Laan
1d28faf9e9
test: Avoid ConnectionResetErrors during RPC tests
...
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
8 years ago
Wladimir J. van der Laan
2dd57e4f9f
Merge #8835 : [qa] nulldummy.py: Don't run unused code
...
fa156c6
[qa] nulldummy: Don't run unused code (MarcoFalke)
8 years ago
MarcoFalke
fa156c604e
[qa] nulldummy: Don't run unused code
8 years ago
MarcoFalke
cc9e8aca5f
Merge #8827 : [qa] Split up slow RPC calls to avoid pruning test timeouts
...
a0f8482
[qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
8 years ago
MarcoFalke
fa9cd25ed0
[qa] blockstore: Switch to dumb dbm
8 years ago
Suhas Daftuar
a0f8482f3e
[qa] Split up slow RPC calls to avoid pruning test timeouts
8 years ago
Wladimir J. van der Laan
14e8f9916b
Merge #8810 : tests: Add exception error message for JSONRPCException
...
42f6aed
tests: Add exception error message for JSONRPCException (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
6e54c85439
Merge #8803 : Ping regularly in p2p-segwit.py to keep connection alive
...
0637b02
Ping regularly in p2p-segwit.py to keep connection alive (Johnson Lau)
8 years ago
Wladimir J. van der Laan
dd20ed1223
Merge #8780 : [rpc] Deprecate getinfo
...
fa6e71b
[qa] Add getinfo smoke tests and rework versionbits test (MarcoFalke)
ddddaaf
[rpc] Deprecate getinfo (MarcoFalke)
8 years ago
Wladimir J. van der Laan
42f6aed731
tests: Add exception error message for JSONRPCException
...
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)
```
8 years ago
Johnson Lau
0637b02fce
Ping regularly in p2p-segwit.py to keep connection alive
...
This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
8 years ago
MarcoFalke
fa6e71b27d
[qa] Add getinfo smoke tests and rework versionbits test
8 years ago
MarcoFalke
e31a43c725
Merge #8789 : [qa] pull-tester: Only print output when failed
...
fa427ce
[qa] pull-tester: Only print output when failed (MarcoFalke)
8 years ago
MarcoFalke
fa427cef13
[qa] pull-tester: Only print output when failed
8 years ago
Wladimir J. van der Laan
26b370a937
Merge #8636 : Implement NULLDUMMY softfork (BIP147)
...
482f852
Implement NULLDUMMY softfork (Johnson Lau)
8 years ago