BtcDrak
6ba8b2a6c4
Add bip68-sequence.py to extended rpc tests
9 years ago
Alex Morcos
df0e2226d9
Add RPC test for abandoned and conflicted transactions.
9 years ago
Wladimir J. van der Laan
605c17844e
Merge pull request #7205
...
fa71669
[devtools] Use git pretty-format for year parsing (MarcoFalke)
fa24439
Bump copyright headers to 2015 (MarcoFalke)
fa6ad85
[devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
9 years ago
Wladimir J. van der Laan
97d83739db
Merge pull request #7153
...
7632cf6
[Tests] Refactor some shared functions (Jonas Schnelli)
110ff11
[Tests] Add mempool_limit.py test (Jonas Schnelli)
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
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
Jonas Schnelli
110ff1142c
[Tests] Add mempool_limit.py test
9 years ago
Wladimir J. van der Laan
2ef5ffa59a
Merge pull request #6915
...
2d8860e
Fix removeForReorg to use MedianTimePast (Suhas Daftuar)
b7fa4aa
Don't call removeForReorg if DisconnectTip fails (Suhas Daftuar)
7e49f5f
Track coinbase spends in CTxMemPoolEntry (Suhas Daftuar)
bb8ea1f
removeForReorg calls once-per-disconnect-> once-per-reorg (Matt Corallo)
474b84a
Make indentation in ActivateBestChainStep readable (Matt Corallo)
b0a064c
Fix comment in removeForReorg (Matt Corallo)
9b060e5
Fix removal of time-locked transactions during reorg (Matt Corallo)
0c9959a
Add failing test checking timelocked-txn removal during reorg (Matt Corallo)
9 years ago
Suhas Daftuar
2b31ab90c4
Add rpc test for prioritisetransaction
9 years ago
Wladimir J. van der Laan
eb3d1b3487
Merge pull request #7135
...
fa3a38a
[qa] pull-tester: Cleanup (run keypool, tidy stdout) (MarcoFalke)
9 years ago
Gregory Maxwell
438ee59839
Merge pull request #7044
...
d52fbf0
Added additional config option for multiple RPC users. (Gregory Sanders)
9 years ago
Matt Corallo
0c9959a308
Add failing test checking timelocked-txn removal during reorg
9 years ago
MarcoFalke
fa3a38a7f2
[qa] pull-tester: Cleanup (run keypool, tidy stdout)
...
* Run keypool (takes 6 seconds)
* Print duration of each rpc test
* Structure output (bold, new lines)
9 years ago
Gregory Sanders
d52fbf00e3
Added additional config option for multiple RPC users.
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
Wladimir J. van der Laan
0e935865b9
Merge pull request #6871
...
63b5840
Fix usage of local python-bitcoinlib (Peter Todd)
16a2f93
Fix incorrect locking of mempool during RBF replacement (Peter Todd)
97203f5
Port test to rpc-test framework (Suhas Daftuar)
20367d8
Add test for max replacement limit (Suhas Daftuar)
73d9040
Improve RBF replacement criteria (Suhas Daftuar)
b272ecf
Reject replacements that add new unconfirmed inputs (Peter Todd)
fc8c19a
Prevent low feerate txs from (directly) replacing high feerate txs (Peter Todd)
0137e6f
Add tests for transaction replacement (Peter Todd)
5891f87
Add opt-in full-RBF to mempool (Peter Todd)
9 years ago
Gregory Maxwell
9cdd407ca5
Merge pull request #7029
...
c800c95
Remove unmaintained example test script_test.py (Suhas Daftuar)
9 years ago
Suhas Daftuar
c800c95997
Remove unmaintained example test script_test.py
9 years ago
MarcoFalke
33b7f83c59
[qa] travis: cover *receivedby* rpcs
9 years ago
Wladimir J. van der Laan
5fcc14ee05
Merge pull request #6804
...
b5cbd39
Add basic coverage reporting for RPC tests (James O'Beirne)
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
Suhas Daftuar
17a073ae06
Add RPC test for -maxuploadtarget
9 years ago
Wladimir J. van der Laan
2a1090d4f5
Merge pull request #6351
...
65ef372
Add BIP65 to getblockchaininfo softforks list (Peter Todd)
cde7ab2
Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd)
287f54f
Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
9 years ago
Wladimir J. van der Laan
87e5539e9c
Merge pull request #6827
...
bd4c22e
[rpc-tests] Check return code (MarcoFalke)
0d8b175
[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
9 years ago
MarcoFalke
bd4c22ed56
[rpc-tests] Check return code
9 years ago
Alex Morcos
0658d0ba82
temporarily comment out rpcbind.py
...
until libevent is fixed. also remove duplicate commented-out forknotify.py.
9 years ago
James O'Beirne
1488506872
Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator
...
Thanks @dexX7.
9 years ago
Peter Todd
cde7ab2d4e
Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork
...
bip65-cltv.py is based on the earlier BIP66 soft-fork RPC test
implemented by Pieter Wuille's 819bcf9b99
bip65-cltv-p2p.py is based on the earlier BIP66 P2P test by Suhas
Daftuar's d76412b068
9 years ago
Jeff Garzik
3ab3de8ba1
qa/pull-tester/rpc-tests.py: chmod 0755
...
Fix file mode to be executable.
Include dummy whitespace change to force git to change mode.
9 years ago
ptschip
5467820be5
Migrated rpc-tests.sh to all python rpc-tests.py
...
1) created rpc-tests.py
2) deleted rpc-tests.sh
3) travis.yml points to rpc-tests.py
4) Modified Makefile.am
5) Updated README.md
6) Added tests_config.py and deleted tests-config.sh
7) Modified configure.ac with script to set correct path in tests_config.py
9 years ago