MarcoFalke
fa3fafc960
[qa] wallet: Wait for reindex to catch up
9 years ago
Luke Dashjr
e7e48ba66c
test_framework: Py3.4 compat: Specify timeout parameter by name
...
Changed in version 3.4: The strict parameter was removed. HTTP 0.9-style
“Simple Responses” are not longer supported.
(https://docs.python.org/3/library/http.client.html )
Source: 7ebeebb4f6
9 years ago
Wladimir J. van der Laan
d7b80b54fb
test_framework: Avoid infinite loop in encoding Decimal
...
Avoid an infinite loop in encoding, by ensuring EncodeDecimal
returns a string. round(Decimal) used to convert it to
float, but it no longer does in python 3.x. Strings are
supported since #6380 , so just use that.
9 years ago
instagibbs
f1bb13c93d
Added companion removeprunedfunds call.
9 years ago
instagibbs
7eb702954e
Add importprunedfunds rpc call
9 years ago
Alex Morcos
b536a6fc83
Add p2p test for feefilter
9 years ago
Alex Morcos
5fa66e4682
Create SingleNodeConnCB class for RPC tests
9 years ago
Andrew C
d5c5c713e6
RPC tests for generatetoaddress
...
Adds two RPC tests for the generatetoaddress RPC, one in the wallet, and one when the wallet is disabled.
The wallet RPC Test mines Bitcoin to another node's address and checks that that node has received the Bitcoin.
The RPC test without the wallet mines Bitcoin to an arbitrary address and checks that it works. It then mines to an arbitrary invalid address and checks that that fails.
9 years ago
MarcoFalke
fab3890156
[qa] rpc-test: Normalize assert()
9 years ago
Alex Morcos
68d4282774
Fix calculation of balances and available coins.
...
No longer consider coins which aren't in our mempool.
Add test for regression in abandonconflict.py
9 years ago
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
MarcoFalke
fa97f95c15
[doc] Fix markdown
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
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
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