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
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
Jonas Schnelli
110ff1142c
[Tests] Add mempool_limit.py test
9 years ago
Suhas Daftuar
2b31ab90c4
Add rpc test for prioritisetransaction
9 years ago
Suhas Daftuar
6e8b07f5f3
Add rounding helper function to util.py
9 years ago
Alex Morcos
50947ef23f
Change default block priority size to 0
...
Make RPC tests have a default block priority size of 50000 (the old default) so we can still use free transactions in RPC tests. When priority is eliminated, we will have to make a different change if we want to continue allowing free txs.
9 years ago
Matt Corallo
0c9959a308
Add failing test checking timelocked-txn removal during reorg
9 years ago
Suhas Daftuar
cfdc66280f
Explicitly set chain limits in replace-by-fee test
9 years ago
Pieter Wuille
aa4b0c26b0
When not filtering blocks, getdata sends more in one test
9 years ago
Gregory Sanders
d52fbf00e3
Added additional config option for multiple RPC users.
9 years ago
Pieter Wuille
9ac63d6d30
Keep track of explicit wallet conflicts instead of using mempool
9 years ago
Suhas Daftuar
50262d8953
Allow block announcements with headers
...
This replaces using inv messages to announce new blocks, when a peer requests
(via the new "sendheaders" message) that blocks be announced with headers
instead of inv's.
Since headers-first was introduced, peers send getheaders messages in response
to an inv, which requires generating a block locator that is large compared to
the size of the header being requested, and requires an extra round-trip before
a reorg can be relayed. Save time by tracking headers that a peer is likely to
know about, and send a headers chain that would connect to a peer's known
headers, unless the chain would be too big, in which case we revert to sending
an inv instead.
Based off of @sipa's commit to announce all blocks in a reorg via inv,
which has been squashed into this commit.
Rebased-by: Pieter Wuille
9 years ago
MarcoFalke
fa506c0c9b
[wallet] Add rpc tests to verify fee calculations
9 years ago
MarcoFalke
a0953cdf07
[qa] python-bitcoinrpc is no longer a subtree
...
* Only authproxy.py is taken from the python-bitcoinrpc
9 years ago
MarcoFalke
cc975745d5
[qa] Split README.md to /qa and /qa/rpc-tests
...
+ Update with new -help message
9 years ago
Alex Morcos
56106a3300
Expose RPC calls for estimatesmart functions
...
Also add testing for estimatesmartfee in smartfees.py
9 years ago
Suhas Daftuar
c800c95997
Remove unmaintained example test script_test.py
9 years ago
MarcoFalke
4ea1790553
[qa] keypool: DRY: Use test framework
9 years ago
MarcoFalke
c6973ca03b
[qa] keypool: Fix white space to prepare transition to test framework
9 years ago
Jonas Schnelli
d61fcff071
don't enforce maxuploadtargets disconnect for whitelisted peers
9 years ago
MarcoFalke
b27e81f115
[net] Cleanup maxuploadtarget
...
* log: nMaxOutboundLimit is in bytes
* log: Hide misleading -maxuploadtarget=0 warning
* qa : Minor cleanup to maxuploadtarget rpc tests
* net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
9 years ago
James O'Beirne
b5cbd396ca
Add basic coverage reporting for RPC tests
...
Thanks to @MarcoFalke @dexX7 @laanwj for review.
9 years ago
Suhas Daftuar
97203f5606
Port test to rpc-test framework
9 years ago
Wladimir J. van der Laan
2980a18572
Fix crash in validateaddress with -disablewallet
...
Fix a null pointer dereference in validateaddress with -disablewallet. Also add a regression testcase.
9 years ago