Cory Fields
d6a5dc4a2e
add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests
...
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.
8 years ago
Johnson Lau
2f2548d5e0
Fix SIGHASH_SINGLE bug in test_framework SignatureHash
...
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
8 years ago
instagibbs
ca10a03add
Add basic test for IsStandard witness transaction blinding
8 years ago
whythat
c62cc4ec75
fix path for bak file
8 years ago
whythat
438e94dc33
remove root test directory for RPC tests
8 years ago
djpnewton
f012a857f5
rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST
8 years ago
isle2983
1467561024
[doc] - clarify statement about parallel jobs in rpc-tests.py
8 years ago
MarcoFalke
fab5ecb771
[wallet] rpc: Drop misleading option
8 years ago
MarcoFalke
fabfd5dae2
[qa] pull-tester: Don't mute zmq ImportError
8 years ago
MarcoFalke
faaec1377c
[qa] Remove unused code
8 years ago
instagibbs
5547aeb015
p2psegwit.py transaction is rejected due to premature witness not size
8 years ago
Wladimir J. van der Laan
35f64e45c2
Revert "[qa] Adjust timeouts for micro-optimization of run time"
...
This reverts commit fa2d68f79c
.
Temporary revert - see discussion in #8532 .
8 years ago
MarcoFalke
fa64306520
[qa] abandonconflict: Use assert_equal
8 years ago
instagibbs
bc1d1f2660
Update p2p-segwit.py to reflect correct AskFor behavior
8 years ago
Wladimir J. van der Laan
c1582d5d85
qa: Remove duplicate `hash160` implementation
...
`hash160` is defined in `test_framework.script`, so there is no need
to define it here again.
8 years ago
Luke Dashjr
239cbd2e5c
qa/rpc-tests/segwit: Test GBT sigops before and after activation
9 years ago
Patrick Strateman
25400c4de1
Account wallet feature RPC tests.
9 years ago
MarcoFalke
fad8cf63e5
[qa] Use single cache dir for chains
9 years ago
MarcoFalke
fa2d68f79c
[qa] Adjust timeouts for micro-optimization of run time
9 years ago
Suhas Daftuar
2c517b3928
Fix p2p-feefilter.py for changed tx relay behavior
9 years ago
MarcoFalke
fa4439d355
[qa] Rework hd wallet dump test
9 years ago
Suhas Daftuar
45c7ddd109
Add p2p test for BIP 152 (compact blocks)
9 years ago
Suhas Daftuar
9a22a6c089
Add support for compactblocks to mininode
9 years ago
Suhas Daftuar
a8689fdf8e
Tests: refactor compact size serialization in mininode
9 years ago
Pieter Wuille
9c8593d2b4
Implement SipHash in Python
9 years ago
Jonas Schnelli
54af51d98d
[QA] Add walletdump RPC test (including HD- & encryption-tests)
9 years ago
Jonas Schnelli
2266b43e33
Port from 0.13: Create a new HD seed after encrypting the wallet
...
Forward-ports two commits from 0.13:
- [0.13] Create a new HD seed after encrypting the wallet
- [Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation
Github-Pull: #8389
Rebased-From: f142c11ac6
de45c065f0
9 years ago
whythat
9bbb414b80
[qa]: enable rpcbind_test
9 years ago
whythat
0ff4375c93
[qa]: add parsing for '<host>:<port>' argument form to rpc_url()
9 years ago
NicolasDorier
122786d0e0
Consensus: Remove ISM
9 years ago
Suhas Daftuar
c59c434b7d
qa: Add test for standardness of segwit v0 outputs
9 years ago
Jonas Schnelli
b50e1ac298
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
9 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
9 years ago
MarcoFalke
fae596f0e4
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
9 years ago
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
9 years ago
MarcoFalke
66668c420a
[qa] Solve merge conflict of 4324bd237c
9 years ago
Suhas Daftuar
e91cf4b210
Add test for handling of unconnecting headers
9 years ago
Jonas Schnelli
f70808596f
[QA] extend wallet-hd test to cover HD metadata
9 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.
9 years ago
MarcoFalke
fade505e8b
[qa] Add wallet-hd test
9 years ago
MarcoFalke
fa9976b853
[qa] test_framework: Add wrapper for stop_node
9 years ago
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
9 years ago
BtcDrak
18c975c831
Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests
9 years ago
BtcDrak
14d01309be
Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY
9 years ago
Suhas Daftuar
36f1b9df76
Tests: Increase sync_blocks() timeouts in pruning.py
9 years ago
fanquake
d24148742e
[doc] Add OS X ZMQ requirement to QA readme
9 years ago
Suhas Daftuar
330b0f31ee
[qa] p2p segwit tests
...
mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.
Py3 conversion by Marco Falke
Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
9 years ago
Alex Morcos
4f7ff00497
[qa] Add rpc test for segwit
...
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9
based switchover logic.
Fixes and py3 conversion by Marco Falke.
9 years ago
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
9 years ago
MarcoFalke
fa58f94ff7
[qa] pull-tester: Start longest test first
9 years ago