MarcoFalke
ffff866da8
[qa] Remove misleading "errorString syntax"
9 years ago
MarcoFalke
444480649f
[qa] mininode: Combine struct.pack format strings
9 years ago
MarcoFalke
faaa3c9b65
[qa] mininode: Catch exceptions in got_data
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
9 years ago
BtcDrak
40234ba89f
Fix comments in tests
9 years ago
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
Wladimir J. van der Laan
018b60c5ea
test_framework: detect failure of bitcoind startup
...
Replace the `bitcoin-cli -rpcwait` after spawning bitcoind
with our own loop that detects when bitcoind exits prematurely.
And if one node fails to start, stop the others.
This prevents a hang in such a case (see #7463 ).
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
NicolasDorier
71527a0f31
Test of BIP9 fork activation of mtp, csv, sequence_lock
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
Alex Morcos
19d73d540c
Add RPC test for BIP 68/112/113 soft fork.
...
This RPC test will test both the activation mechanism of the first versionbits soft fork as well as testing many code branches of the consensus logic for BIP's 68, 112, and 113.
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
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