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
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
MarcoFalke
fade505e8b
[qa] Add wallet-hd test
8 years ago
MarcoFalke
fa9976b853
[qa] test_framework: Add wrapper for stop_node
8 years ago
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
8 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
MarcoFalke
fa3b379252
[qa] pull-tester: Fix assertion and check for run_parallel
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
Cory Fields
ab95d5df3d
build: a few ugly hacks to get the rpc tests working out-of-tree
...
- Link pull-tester/rpc-tests.py to the build dir
- Add the build-dir's config to the python path so that tests can find it
- The tests themselves are in srcdir
- Clean up __pycache__ in 'make clean'
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