MarcoFalke
794b007896
[qa] Add getinfo smoke tests and rework versionbits test
...
Github-Pull: #8780
Rebased-From: fa6e71b27d00766897f3e69775d450924a58a153
2016-10-03 11:31:18 +02:00
MarcoFalke
1f60d45504
[qa] mininode: Only allow named args in wait_until
...
Github-Pull: #8857
Rebased-From: fa666094cf5b9ac4a7c1732a7ffa001afffcd938
2016-10-03 10:59:49 +02:00
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: b5fd666984fdb7125cb809c773b36034f32128cc
2016-10-03 10:57:40 +02:00
Johnson Lau
3e4abb5025
Fix nulldummy.py test
...
Github-Pull: #8841
Rebased-From: 46a4774d2bb9cc863e43507212ef989fa10d56d4
2016-10-03 10:57:22 +02:00
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: 1d28faf9e94fcf240ece7336d61ec297b064bc37
2016-10-03 10:57:04 +02:00
MarcoFalke
d87227d6d2
[qa] nulldummy: Don't run unused code
...
Github-Pull: #8835
Rebased-From: fa156c604e7d86d84f7731b05d7530bc91d2736b
2016-10-03 10:56:27 +02:00
MarcoFalke
1dd1783873
[qa] blockstore: Switch to dumb dbm
...
Github-Pull: #8834
Rebased-From: fa9cd25ed0587078e3218965606c79ebf8138d53
2016-10-03 10:56:12 +02:00
Suhas Daftuar
9bbe66e592
[qa] Split up slow RPC calls to avoid pruning test timeouts
...
Github-Pull: #8827
Rebased-From: a0f8482f3e9b07e37c3f1b6fa09683b448810955
2016-10-03 10:54:51 +02:00
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: 0637b02fce04c800acc6747687c91c9b22f642e5
2016-10-03 10:54:20 +02:00
Johnson Lau
9dfa0c8d90
Implement NULLDUMMY softfork
...
Github-Pull: #8636
Rebased-From: 482f852da65457eb2fbea6b259e7568133fb81c4
2016-09-26 16:50:39 +02:00
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: 157254a4bfdfc4ca3ad5bf2d84e82f290bd0c7f2)
2016-09-26 16:49:14 +02:00
Suhas Daftuar
fb8706ebd7
Add p2p test for BIP 152 (compact blocks)
...
Github-Pull: #8418
Rebased-From: 45c7ddd109465e03551f5b39c2e650c243b4a078
2016-09-26 16:47:11 +02:00
Suhas Daftuar
f6be478b0a
Add support for compactblocks to mininode
...
Github-Pull: #8418
Rebased-From: 9a22a6c0891256f02f4906c1c13fb22a9722ec7c
2016-09-26 16:47:09 +02:00
Suhas Daftuar
4295a7aea5
Tests: refactor compact size serialization in mininode
...
Github-Pull: #8418
Rebased-From: a8689fdf8e10300b73750161a73a23467ecd1efe
2016-09-26 16:47:06 +02:00
Pieter Wuille
ff893aa557
Implement SipHash in Python
...
Github-Pull: #8418
Rebased-From: 9c8593d2b4e25ef628172ceadbedf0ef078d01ef
2016-09-26 16:46:56 +02:00
instagibbs
b394a96396
Add basic test for IsStandard witness transaction blinding
...
Github-Pull: #8525
Rebased-From: ca10a03addf70421893791c2c499e82fc494d60b
2016-09-26 16:42:27 +02:00
isle2983
a60d7cc97d
[copyright] Add missing copyright headers
...
Github-Pull: #8676
Rebased-From: 783e930e68a312bc7654d833053cceead18dd688
2016-09-21 02:43:47 +00:00
MarcoFalke
e34374e252
[qa] wallet: Check legacy wallet as well
...
Github-Pull: #8716
Rebased-From: fa644d0053ca40740b9e7b8982ff6c5d5640e4af
2016-09-21 02:43:47 +00:00
MarcoFalke
da94272e3c
[qa] walletbackup: Sync blocks inside the loop
...
Github-Pull: #8724
Rebased-From: fad41f308f5e0e0650e3eed96c8c8575b3f7c33e
2016-09-21 02:43:47 +00:00
isle2983
0a35573534
[doc] - clarify statement about parallel jobs in rpc-tests.py
...
Github-Pull: #8625
Rebased-From: 14675610245e951f2b922a0eaad6eb7d011ae87e
2016-09-21 02:43:47 +00:00
MarcoFalke
c18a9ca788
[qa] pull-tester: Don't mute zmq ImportError
...
Github-Pull: #8607
Rebased-From: fabfd5dae28cbe26e71d50dbfb6feab03673f27a
2016-09-21 02:43:47 +00:00
MarcoFalke
a27cdd8edf
[qa] abandonconflict: Use assert_equal
...
Github-Pull: #8531
Rebased-From: fa64306520156af1d1fe90e92f6cc22ffa097c02
2016-09-21 02:43:47 +00:00
MarcoFalke
8bb1efd985
[qa] Rework hd wallet dump test
...
Github-Pull: #8442
Rebased-From: fa4439d3554435bdf0ef47861835f10d41bcdc1a
2016-09-21 02:43:47 +00:00
whythat
bea02dc3b6
[qa]: enable rpcbind_test
...
Github-Pull: #8400
Rebased-From: 9bbb414b800cf71f93f15d2cb5d4cf32c72294e6
2016-09-21 02:43:47 +00:00
whythat
e111904a76
[qa]: add parsing for '<host>:<port>' argument form to rpc_url()
...
Github-Pull: #8400
Rebased-From: 0ff4375c93bd159233282de5a33ad2e6c1e79841
2016-09-21 02:43:47 +00:00
Jonas Schnelli
f70be14f8f
[QA] Add walletdump RPC test (including HD- & encryption-tests)
...
Github-Pull: #8417
Rebased-From: 54af51d98d0b38f08c58dd589bff81883aee2854
2016-09-21 02:43:47 +00:00
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: 2f2548d5e0ccea6879eb7b0b851d61ad2f544423
2016-09-21 02:43:47 +00:00
instagibbs
a114a0208b
p2psegwit.py transaction is rejected due to premature witness not size
...
Github-Pull: #8528
Rebased-From: 5547aeb0159027912069b4773184963f54c672af
2016-09-21 02:43:47 +00:00
instagibbs
3606b6b3a7
Update p2p-segwit.py to reflect correct AskFor behavior
...
Github-Pull: #8528
Rebased-From: bc1d1f266046ec79e87c7bf90aaf279f43266cf5
2016-09-21 02:43:47 +00:00
MarcoFalke
d6ebe1369f
[qa] Refactor RPCTestHandler to prevent TimeoutExpired
...
Github-Pull: #8750
Rebased-From: dddd04f979392a8c69cc11f5c54d817702eeed3e
2016-09-19 17:11:18 +02:00
MarcoFalke
ae8c7df7a5
[qa] create_cache: Delete temp dir when done
...
Github-Pull: #8713
Rebased-From: fa27d990ee38a9dce1da71098be010e4a81b18c3
2016-09-16 11:29:35 +02:00
whythat
63462c2b4b
[qa] remove root test directory for RPC tests
...
Github-Pull: #8652
Rebased-From: 438e94dc330a37600ec1d86f2ba8502385b5262d c62cc4ec759a8487373f158b3cbb888efcdd753a
2016-09-16 11:28:48 +02:00
MarcoFalke
526d2b0472
[wallet] rpc: Drop misleading option
...
Github-Pull: #8581
Rebased-From: fab5ecb7719063aa72751df1258dfa4cf4a9a4a9
2016-08-26 11:30:25 +02:00
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: 160f895a80660e4e3904a2624e4110960d051902 239cbd2e5c2a36843b45b356e9aea6e8d35f0968
2016-08-10 14:59:29 +02:00
Suhas Daftuar
cd0910b787
Fix p2p-feefilter.py for changed tx relay behavior
...
Github-Pull: #8444
Rebased-From: 2c517b3928a68c6e36b18262081a401a741cd4cd
2016-08-04 14:01:53 +02:00
Jonas Schnelli
de45c065f0
[Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation
2016-07-27 16:02:41 +02:00
Jonas Schnelli
f142c11ac6
[0.13] Create a new HD seed after encrypting the wallet
2016-07-27 15:56:57 +02:00
Suhas Daftuar
4f7f531af6
qa: Add test for standardness of segwit v0 outputs
...
Github-Pull: #8381
Rebased-From: c59c434b7d1211c13f7904b9bc675e16910a1c0a
2016-07-26 14:25:38 +02:00
Jonas Schnelli
73adfe3bb9
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
...
Github-Pull: #8390
Rebased-From: b50e1ac298363a7733069f82709674d3a8cb3058
2016-07-25 13:04:45 +02:00
Suhas Daftuar
fca1a415ce
Rename "block cost" to "block weight"
...
Github-Pull: #8363
Rebased-From: 2c06bae39edfaa9c0855d83377ad8fda09e4fa08
2016-07-19 12:10:28 +02:00
Wladimir J. van der Laan
238300b398
Merge #8323 : Add HD keypath to CKeyMetadata, report metadata in validateaddress
...
7945088 [Wallet] comsetic non-code changes for the HD feature (Jonas Schnelli)
68d7682 [Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull() (Jonas Schnelli)
f708085 [QA] extend wallet-hd test to cover HD metadata (Jonas Schnelli)
986c223 [Wallet] print hd masterkeyid in getwalletinfo (Jonas Schnelli)
b1c7b24 [Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress (Jonas Schnelli)
5b95dd2 [Wallet] extend CKeyMetadata with HD keypath (Jonas Schnelli)
2016-07-18 07:58:33 +02:00
Wladimir J. van der Laan
37303934fe
Merge #8305 : Improve handling of unconnecting headers
...
e91cf4b Add test for handling of unconnecting headers (Suhas Daftuar)
96fa953 Improve handling of unconnecting headers (Suhas Daftuar)
2016-07-18 07:46:12 +02:00
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
2016-07-15 10:34:08 +02:00
MarcoFalke
66668c420a
[qa] Solve merge conflict of 4324bd237c3147fc153ba5046c211f03e8ac956a
2016-07-14 10:30:13 +02:00
Wladimir J. van der Laan
ca40ef6029
Merge #8312 : Fix mempool DoS vulnerability from malleated transactions
...
46c9620 Test that unnecessary witnesses can't be used for mempool DoS (Suhas Daftuar)
bb66a11 Fix DoS vulnerability in mempool acceptance (Suhas Daftuar)
2016-07-14 08:21:13 +02:00
Wladimir J. van der Laan
4324bd237c
Merge #8311 : Rename CTxinWitness -> CTxInWitness
...
36ae37a Rename CTxinWitness -> CTxInWitness (Bob McElrath)
2016-07-14 08:18:38 +02:00
Suhas Daftuar
e91cf4b210
Add test for handling of unconnecting headers
2016-07-12 13:27:01 -04:00
Jonas Schnelli
f70808596f
[QA] extend wallet-hd test to cover HD metadata
2016-07-09 12:12:36 +02:00
Wladimir J. van der Laan
ff46dd4a34
Merge #7540 : Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY
...
18c975c Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests (BtcDrak)
14d0130 Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY (BtcDrak)
2016-07-08 11:39:10 +02:00
Wladimir J. van der Laan
bb2646aea0
Merge #8309 : [qa] Add wallet-hd test
...
fade505 [qa] Add wallet-hd test (MarcoFalke)
fa9976b [qa] test_framework: Add wrapper for stop_node (MarcoFalke)
2016-07-08 09:58:08 +02:00