Suhas Daftuar
e47299a8f2
[qa] Update p2p-compactblocks.py for compactblocks v2
...
Github-Pull: #8393
Rebased-From: 27acfc1d2e
8 years ago
Suhas Daftuar
d6c83b95cf
[qa] Fix race condition in sendheaders.py
...
Also de-duplicates code that has been moved to mininode
Github-Pull: #8882
Rebased-From: b55d9411e7
8 years ago
Suhas Daftuar
b73f0653f3
[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.
Github-Pull: #8882
Rebased-From: 6976db2f46
8 years ago
Wladimir J. van der Laan
cbc3fe59c4
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.
Github-Pull: #8840
Rebased-From: 30930e847e
8 years ago
MarcoFalke
0bee740845
[qa] util: Move wait_bitcoinds() into stop_nodes()
...
Github-Pull: #8860
Rebased-From: fa7c35c4ec
8 years ago
MarcoFalke
794b007896
[qa] Add getinfo smoke tests and rework versionbits test
...
Github-Pull: #8780
Rebased-From: fa6e71b27d
8 years ago
MarcoFalke
1f60d45504
[qa] mininode: Only allow named args in wait_until
...
Github-Pull: #8857
Rebased-From: fa666094cf
8 years ago
Suhas Daftuar
624a007f47
[qa] Fix race condition in p2p-compactblocks test
...
Also fix a bug in the sync_with_ping() helper function
Github-Pull: #8854
Rebased-From: b5fd666984
8 years ago
Johnson Lau
3e4abb5025
Fix nulldummy.py test
...
Github-Pull: #8841
Rebased-From: 46a4774d2b
8 years ago
Wladimir J. van der Laan
31ab2f862a
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
Github-Pull: #8839
Rebased-From: 1d28faf9e9
8 years ago
MarcoFalke
d87227d6d2
[qa] nulldummy: Don't run unused code
...
Github-Pull: #8835
Rebased-From: fa156c604e
8 years ago
MarcoFalke
1dd1783873
[qa] blockstore: Switch to dumb dbm
...
Github-Pull: #8834
Rebased-From: fa9cd25ed0
8 years ago
Suhas Daftuar
9bbe66e592
[qa] Split up slow RPC calls to avoid pruning test timeouts
...
Github-Pull: #8827
Rebased-From: a0f8482f3e
8 years ago
Johnson Lau
375437c26b
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
Github-Pull: #8803
Rebased-From: 0637b02fce
8 years ago
Johnson Lau
9dfa0c8d90
Implement NULLDUMMY softfork
...
Github-Pull: #8636
Rebased-From: 482f852da6
8 years ago
Suhas Daftuar
cef633ce63
Fix broken sendcmpct test in p2p-compactblocks.py
...
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.
Github-Pull: #8739
Rebased-From: 157254a4bf
)
8 years ago
Suhas Daftuar
fb8706ebd7
Add p2p test for BIP 152 (compact blocks)
...
Github-Pull: #8418
Rebased-From: 45c7ddd109
8 years ago
Suhas Daftuar
f6be478b0a
Add support for compactblocks to mininode
...
Github-Pull: #8418
Rebased-From: 9a22a6c089
8 years ago
Suhas Daftuar
4295a7aea5
Tests: refactor compact size serialization in mininode
...
Github-Pull: #8418
Rebased-From: a8689fdf8e
8 years ago
Pieter Wuille
ff893aa557
Implement SipHash in Python
...
Github-Pull: #8418
Rebased-From: 9c8593d2b4
8 years ago
instagibbs
b394a96396
Add basic test for IsStandard witness transaction blinding
...
Github-Pull: #8525
Rebased-From: ca10a03add
8 years ago
isle2983
a60d7cc97d
[copyright] Add missing copyright headers
...
Github-Pull: #8676
Rebased-From: 783e930e68
8 years ago
MarcoFalke
e34374e252
[qa] wallet: Check legacy wallet as well
...
Github-Pull: #8716
Rebased-From: fa644d0053
8 years ago
MarcoFalke
da94272e3c
[qa] walletbackup: Sync blocks inside the loop
...
Github-Pull: #8724
Rebased-From: fad41f308f
8 years ago
isle2983
0a35573534
[doc] - clarify statement about parallel jobs in rpc-tests.py
...
Github-Pull: #8625
Rebased-From: 1467561024
8 years ago
MarcoFalke
c18a9ca788
[qa] pull-tester: Don't mute zmq ImportError
...
Github-Pull: #8607
Rebased-From: fabfd5dae2
8 years ago
MarcoFalke
a27cdd8edf
[qa] abandonconflict: Use assert_equal
...
Github-Pull: #8531
Rebased-From: fa64306520
8 years ago
MarcoFalke
8bb1efd985
[qa] Rework hd wallet dump test
...
Github-Pull: #8442
Rebased-From: fa4439d355
8 years ago
whythat
bea02dc3b6
[qa]: enable rpcbind_test
...
Github-Pull: #8400
Rebased-From: 9bbb414b80
8 years ago
whythat
e111904a76
[qa]: add parsing for '<host>:<port>' argument form to rpc_url()
...
Github-Pull: #8400
Rebased-From: 0ff4375c93
8 years ago
Jonas Schnelli
f70be14f8f
[QA] Add walletdump RPC test (including HD- & encryption-tests)
...
Github-Pull: #8417
Rebased-From: 54af51d98d
8 years ago
Johnson Lau
6b07362b37
Fix SIGHASH_SINGLE bug in test_framework SignatureHash
...
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
Github-Pull: #8667
Rebased-From: 2f2548d5e0
8 years ago
instagibbs
a114a0208b
p2psegwit.py transaction is rejected due to premature witness not size
...
Github-Pull: #8528
Rebased-From: 5547aeb015
8 years ago
instagibbs
3606b6b3a7
Update p2p-segwit.py to reflect correct AskFor behavior
...
Github-Pull: #8528
Rebased-From: bc1d1f2660
8 years ago
MarcoFalke
d6ebe1369f
[qa] Refactor RPCTestHandler to prevent TimeoutExpired
...
Github-Pull: #8750
Rebased-From: dddd04f979
8 years ago
MarcoFalke
ae8c7df7a5
[qa] create_cache: Delete temp dir when done
...
Github-Pull: #8713
Rebased-From: fa27d990ee
8 years ago
whythat
63462c2b4b
[qa] remove root test directory for RPC tests
...
Github-Pull: #8652
Rebased-From: 438e94dc33
c62cc4ec75
8 years ago
MarcoFalke
526d2b0472
[wallet] rpc: Drop misleading option
...
Github-Pull: #8581
Rebased-From: fab5ecb771
8 years ago
Luke Dashjr
8b0eee66e9
Bugfix: Use pre-BIP141 sigops until segwit activates
...
qa/rpc-tests/segwit: Test GBT sigops before and after activation
Github-Pull: #8489
Rebased-From: 160f895a80
239cbd2e5c
8 years ago
Suhas Daftuar
cd0910b787
Fix p2p-feefilter.py for changed tx relay behavior
...
Github-Pull: #8444
Rebased-From: 2c517b3928
8 years ago
Jonas Schnelli
de45c065f0
[Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation
8 years ago
Jonas Schnelli
f142c11ac6
[0.13] Create a new HD seed after encrypting the wallet
8 years ago
Suhas Daftuar
4f7f531af6
qa: Add test for standardness of segwit v0 outputs
...
Github-Pull: #8381
Rebased-From: c59c434b7d
8 years ago
Jonas Schnelli
73adfe3bb9
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
...
Github-Pull: #8390
Rebased-From: b50e1ac298
8 years ago
Suhas Daftuar
fca1a415ce
Rename "block cost" to "block weight"
...
Github-Pull: #8363
Rebased-From: 2c06bae39e
8 years ago
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
8 years ago
MarcoFalke
66668c420a
[qa] Solve merge conflict of 4324bd237c
8 years ago
Suhas Daftuar
e91cf4b210
Add test for handling of unconnecting headers
8 years ago
Jonas Schnelli
f70808596f
[QA] extend wallet-hd test to cover HD metadata
8 years ago
Suhas Daftuar
46c9620f11
Test that unnecessary witnesses can't be used for mempool DoS
...
Check that pre-segwit activation, unnecessary witnesses won't cause
a txid to be permanently rejected.
8 years ago