Suhas Daftuar
e38781da40
Tests: fix missing import in mempool_packages
9 years ago
MarcoFalke
fa4a522541
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
9 years ago
Suhas Daftuar
ec143391ef
Tests: make prioritise_transaction.py more robust
9 years ago
Suhas Daftuar
8c74cedef5
RPC test for BIP9 warning logic
9 years ago
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
9 years ago
MarcoFalke
fa8cd46f39
[qa] Move create_tx() to util.py
9 years ago
MarcoFalke
fad7dc8a6c
[qa] wallet: speed up tests
9 years ago
Elliot Olds
2ab835ae6c
Check if zmq is installed in tests, update docs
...
If ZMQ is enabled, check whether it's installed before running ZMQ tests.
If it isn't, disable ZMQ and print a warning.
Also add dependency info to test docs, so users know ZMQ is required
before running tests, and so they know how to install it.
When following the build instructions before this change then trying
to run the RPC tests, a unix user would get an error when python
tried to import zmq.
There may be other dependencies that should be added to the docs,
particularly ones for non-unix systems. This is the only unlisted
dependency I encountered using linux.
9 years ago
MarcoFalke
fa97f95c15
[doc] Fix markdown
9 years ago
BtcDrak
6ba8b2a6c4
Add bip68-sequence.py to extended rpc tests
9 years ago
Alex Morcos
a51c79be6b
Bug fix to RPC test
9 years ago
Suhas Daftuar
da6ad5f684
Add RPC test exercising BIP68 (mempool only)
9 years ago
Wladimir J. van der Laan
7539f1aae3
tests: Make proxy_test work on travis servers without IPv6
9 years ago
mrbandrews
7689041c03
[rpc-tests] Change solve() to use rehash
9 years ago
Daniel Cousens
d13f65ebac
rpc: update inline comments to refer to new file paths
9 years ago
MarcoFalke
fa8e2a6925
[qa] Change default block priority size to 0
9 years ago
Suhas Daftuar
eaa8d2754b
RPC: indicate which transactions are replaceable
...
Add "bip125-replaceable" output field to listtransactions and gettransaction
which indicates if an unconfirmed transaction, or any unconfirmed parent, is
signaling opt-in RBF according to BIP 125.
9 years ago
MarcoFalke
facd288c31
[qa] wallet: Print maintenance
9 years ago
Suhas Daftuar
4a04879378
Fix error in blockchain.py introduced in merge
9 years ago
Chris Wheeler
9d263bd17c
Typo fixes in comments
9 years ago
Suhas Daftuar
4d10d2e16f
Eliminate race condition in mempool_packages test
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
Alex Morcos
df0e2226d9
Add RPC test for abandoned and conflicted transactions.
9 years ago
MarcoFalke
fa1cb1ae15
[qa] Test walletpassphrase timeout
9 years ago
Suhas Daftuar
168915e6de
Eliminate race condition in sendheaders.py test
...
Clear the last block announcement before mining new blocks.
9 years ago
Suhas Daftuar
82a0ce09b4
Add race-condition debugging tool to mininode
9 years ago
Alex Morcos
bebe58b748
SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
9 years ago
MarcoFalke
fa60d05a4e
Add missing copyright headers
9 years ago
MarcoFalke
fa0a9749eb
[qa] Move gen_return_txouts() to util.py
9 years ago
Tom Harding
e279038e84
Use createrawtx locktime parm in txn_clone
...
Streamlines the test and serves as a test of the createrawtransaction
locktime parameter.
9 years ago
MarcoFalke
fa14d99484
[qa] check if wallet or blochchain maintenance changes the balance
9 years ago
MarcoFalke
fa0765d433
[qa] Cleanup wallet.py test
...
* Remove outdated comment
* Remove unneeded 0s
* Remove semicolons
9 years ago
Suhas Daftuar
9b41a5fba2
Add more tests to p2p-fullblocktest
9 years ago
ptschip
39a525c21f
Do not download transactions during inital sync
9 years ago
mb300sd
37d271d7cc
Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.
9 years ago
James O'Beirne
135d6ec8ce
Add RPC tests for getblockheader.
9 years ago
James O'Beirne
16d4fce0b2
Add assert_is_hex_string and assert_is_hash_string to RPC test utils.
9 years ago
Wladimir J. van der Laan
83cdcbdca4
test: don't override BITCOIND and BITCOINCLI if they're set
...
In rpc-tests.py, don't override BITCOIND and BITCOINCLI if they're
already set. Makes it possible to run the tests with either another tree
or the GUI.
9 years ago
Jonas Schnelli
979698c171
[RPC-Tests] add option to run rpc test over QT clients
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Wladimir J. van der Laan
20411903d7
test: Add basic test for `reject` code
...
Extend P2P test framework to make it possible to expect reject
codes for transactions and blocks.
9 years ago
Wladimir J. van der Laan
4c40ec0451
tests: Disable Tor interaction
...
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
9 years ago
Wladimir J. van der Laan
2f601d215d
test: remove necessity to call create_callback_map
...
Remove necessity to call create_callback_map (as well as the function
itself) from the Python P2P test framework. Invoke the appropriate
methods directly.
- Easy to forget to call it and wonder why it doesn't work
- Simplifies the code
- This makes it easier to handle new messages in subclasses
9 years ago
Jonas Schnelli
7632cf689a
[Tests] Refactor some shared functions
9 years ago
Suhas Daftuar
27fae3484c
Use fee deltas for determining mempool acceptance
9 years ago
Suhas Daftuar
9ef2a25603
Update replace-by-fee logic to use fee deltas
9 years ago
Suhas Daftuar
eb306664e7
Fix mempool limiting for PrioritiseTransaction
...
Redo the feerate index to be based on mining score, rather than fee.
Update mempool_packages.py to test prioritisetransaction's effect on
package scores.
9 years ago
Peter Todd
092e9ad7d9
Remove old replace-by-fee tests
...
Made redundant by tests in qa/rpc-tests/replace-by-fee.py
9 years ago
Jonas Schnelli
110ff1142c
[Tests] Add mempool_limit.py test
9 years ago
Suhas Daftuar
2b31ab90c4
Add rpc test for prioritisetransaction
9 years ago