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
8 years ago
whythat
9bbb414b80
[qa]: enable rpcbind_test
8 years ago
whythat
0ff4375c93
[qa]: add parsing for '<host>:<port>' argument form to rpc_url()
8 years ago
NicolasDorier
122786d0e0
Consensus: Remove ISM
8 years ago
Suhas Daftuar
c59c434b7d
qa: Add test for standardness of segwit v0 outputs
8 years ago
Jonas Schnelli
b50e1ac298
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
8 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
8 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
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
fa324653ab
[qa] fundrawtransaction: Create get_unspent()
9 years ago
MarcoFalke
fa8ce3b670
[qa] assert 'changePosition out of bounds'
9 years ago
MarcoFalke
facb6c0bf8
[qa] mininode: fail on send_message instead of silent return
9 years ago
MarcoFalke
fae1d063fc
[qa] fundrawtransaction: Fix race, assert amounts
9 years ago
MarcoFalke
fa26c420bf
[qa] util: Move check_fee_amount out of wallet.py
9 years ago
Wladimir J. van der Laan
6bbb4ef399
test: test utf-8 for labels in wallet
9 years ago
Wladimir J. van der Laan
a406fcb6ca
test: add ensure_ascii setting to AuthServiceProxy
...
Add a setting ensure_ascii to AuthServiceProxy. This setting,
defaulting to True (backwards compatible),
is passed through to json.dumps. If set to False, non-ASCII characters
>0x80 are not escaped. This is useful for testing server
input processing, as well as slightly more bandwidth friendly in case of
heavy unicode usage.
9 years ago
Suhas Daftuar
a9b8390222
Add test coverage for new RPC calls
9 years ago
mrbandrews
ff2dcf274d
Tests: Edit bloated varint test and add option for 'barely expensive' tests
9 years ago
Jonas Schnelli
6fa950a573
[RPC] Fix createrawtx sequence number unsigned int parsing
9 years ago
MarcoFalke
fa7f4f577c
[rpc] fundrawtransaction feeRate: Use BTC/kB
...
Also introduce UniValueType
UniValueType is a wrapper for UniValue::VType which allows setting
a typeAny flag. This flag indicates the type does not matter.
(Used by RPCTypeCheckObj)
9 years ago
MarcoFalke
faf82e8fc8
[rpc] fundrawtransaction: Fix help text and interface
9 years ago
Luke Dashjr
72cd6b20ca
qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates
9 years ago
mrbandrews
291f8aa5da
Continuing port of java comptool
9 years ago
Pieter Wuille
f45f51e3ae
Fix interrupted HTTP RPC connection workaround for Python 3.5+
9 years ago
mrbandrews
8c9e681ff8
Tests: Rework blockstore to avoid re-serialization.
9 years ago
Suhas Daftuar
e871f8338a
Tests: add timeout to sync_blocks() and sync_mempools()
...
Previously these functions would infinitely loop if sync failed;
now they have a default timeout of 60 seconds, after which an
AssertionError is raised.
sync_blocks() has also been improved and now compares the tip
hash of each node, rather than just using block count.
9 years ago
Suhas Daftuar
1ad9339508
Test framework: only cleanup on successful test runs
9 years ago
Jonas Schnelli
3d3602faf4
Add RPC test for the p2p mempool command in conjunction with disabled bloomfilters
9 years ago
MarcoFalke
fa57b0c5ef
[qa] test_framework: Append portseed to tmpdir
...
This makes it possible to specify a tmpdir while running tests in
parallel
9 years ago
MarcoFalke
fad184550e
[qa] test_framework: Use different rpc_auth_pair for each node
9 years ago
Pieter Wuille
b4d24e142e
Report reindexing progress in GUI
9 years ago
Pieter Wuille
d3d7547911
Add -reindex-chainstate that does not rebuild block index
9 years ago
MarcoFalke
fad68f751a
[qa] Reduce node count for some tests
9 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fab5233fe6
[qa] test_framework: Set wait-timeout for bitcoind procs
9 years ago
MarcoFalke
fad60b3911
[qa] Fix bip9-softforks blockstore issue
9 years ago
MarcoFalke
fa83a5dbce
[qa] wallet: Temporarily disable salvagewallet test
9 years ago