aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests
AgeCommit message (Collapse)Author
2015-08-17Merge pull request #6509Wladimir J. van der Laan
45a6cce Fix race condition on test node shutdown (Casey Rodarmor)
2015-08-15Merge pull request #6013Jeff Garzik
2015-08-14Merge pull request #6415Wladimir J. van der Laan
d042854 SQUASH "Implement watchonly support in fundrawtransaction" (Matt Corallo) 428a898 SQUASH "Add have-pubkey distinction to ISMINE flags" (Matt Corallo) 6bdb474 Implement watchonly support in fundrawtransaction (Matt Corallo) f5813bd Add logic to track pubkeys as watch-only, not just scripts (Matt Corallo) d3354c5 Add have-pubkey distinction to ISMINE flags (Matt Corallo) 5c17059 Update importaddress help to push its use to script-only (Matt Corallo) a1d7df3 Add importpubkey method to import a watch-only pubkey (Matt Corallo) 907a425 Add p2sh option to importaddress to import redeemScripts (Matt Corallo) 983d2d9 Split up importaddress into helper functions (Matt Corallo) cfc3dd3 Also remove pay-2-pubkey from watch when adding a priv key (Matt Corallo)
2015-08-14Implement REST mempool API, add test and documentation.Pavel Janík
2015-08-12Fix race condition on test node shutdownCasey Rodarmor
2015-07-29Merge pull request #6224Wladimir J. van der Laan
59b49cd Eliminate signed/unsigned comparison warning (Suhas Daftuar) 04b5d23 Replace sleep with syncing using pings (Suhas Daftuar) 6b1066f Ignore whitelisting during IBD for unrequested blocks. (Suhas Daftuar) bfc30b3 Ignore unrequested blocks too far ahead of tip (Suhas Daftuar)
2015-07-27[QA] add testcases for parsing strings as valuesJonas Schnelli
2015-07-24Merge pull request #6456Wladimir J. van der Laan
ec249d4 util: use locale-independent parsing in ParseDouble (Wladimir J. van der Laan) 7650449 univalue: Avoid unnecessary roundtrip through double for numbers (Wladimir J. van der Laan) e061e27 rpc: Make ValueFromAmount always return 8 decimals (Wladimir J. van der Laan)
2015-07-22Don't share objects between TestInstancesCasey Rodarmor
2015-07-20Implement watchonly support in fundrawtransactionMatt Corallo
Some code and test cases stolen from Bryan Bishop <bryan@ledgerx.com> (pull #5524).
2015-07-20Add p2sh option to importaddress to import redeemScriptsMatt Corallo
2015-07-18Exempt unspendable transaction outputs from dust checkszathras-crypto
Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them. This primarily targets transaction outputs with `OP_RETURN`. --- Initially based on: commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda Author: zathras-crypto <zathrasc@gmail.com> Date: Wed Mar 25 02:04:02 2015 -0700 Changes: - cherry-picked on top of bitcoin:master - added RPC test for fundrawtransaction
2015-07-18univalue: Avoid unnecessary roundtrip through double for numbersWladimir J. van der Laan
JSON makes no distinction between numbers and reals, and our code doesn't need to do so either. This removes VREAL, as well as its specific post-processing in `UniValue::write`. Non-monetary amounts do not need to be forcibly formatted with 8 decimals, so the extra roundtrip was unnecessary (and potentially loses precision).
2015-07-15Remove bash test note from rpc-tests readmefanquake
2015-07-13tests: Remove old sh-based test frameworkWladimir J. van der Laan
This removes the `conflictedbalance.sh` test as well, but that test has been broken for a long time and isn't part of any scripts. What it does is, IMO, sufficiently tested by other tests.
2015-07-10[QA] remove rawtransactions.py from the extended test listJonas Schnelli
rawtransactions.py is already in the standard test list
2015-07-10[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC ↵Jonas Schnelli
test - added missing mempool sync between block generations
2015-07-10Merge pull request #6414Wladimir J. van der Laan
8a0b933 Fix intermittent test failure, reduce test time (Tom Harding)
2015-07-09Fix intermittent test failure, reduce test timeTom Harding
In txn_clone.py, non-essential test transaction tx2 was asserted to be unconfirmed, but would occasionally confirm depending on network behavior. Fix by explicitly sharing with miner and checking for 1 confirmation. Reduce required conflict tests from 4 to 2, by moving one invocation each of txn_clone.py and txn_doublespend.py to the extented test section. This saves about 15 seconds per test run for me.
2015-07-05[REST] add JSON support for /rest/headers/Jonas Schnelli
2015-07-02tests: fix txn_clone.py (retry)Wladimir J. van der Laan
There was a stale .pyc file around from before the move. This should catch all missing modules and finally fix the travis build.
2015-07-02Merge pull request #6310Wladimir J. van der Laan
177a0e4 Adding CSubNet constructor over a single CNetAddr (Jonas Schnelli) 409bccf use CBanEntry as object container for banned nodes (Jonas Schnelli) dfa174c CAddrDB/CBanDB: change filesize variables from int to uint64_t (Jonas Schnelli) f581d3d banlist.dat: store banlist on disk (Jonas Schnelli)
2015-07-02tests: fix txn_clone.pyWladimir J. van der Laan
Solve merge conflict of test added in #5881 with #6097.
2015-07-02banlist.dat: store banlist on diskJonas Schnelli
2015-07-02Merge pull request #5881Wladimir J. van der Laan
5d34e16 Add txn_clone.py test (Tom Harding) defd2d5 Better txn_doublespend.py test (Tom Harding) b2b3619 Implement CTransaction::IsEquivalentTo(...) (Tom Harding)
2015-06-30add tests for the decodescript rpc. add mention of the rpc regression tests ↵mruddy
to the testing seciton of the main readme.
2015-06-30Replace sleep with syncing using pingsSuhas Daftuar
2015-06-23Merge pull request #6088Wladimir J. van der Laan
2085895 fundrawtransaction tests (Jonas Schnelli) 21bbd92 Add fundrawtransaction RPC method (Matt Corallo) 1e0d1a2 Add FundTransaction method to wallet (Matt Corallo) 2d84e22 Small tweaks to CCoinControl for fundrawtransaction (Matt Corallo) 9b4e7d9 Add DummySignatureCreator which just creates zeroed sigs (Pieter Wuille)
2015-06-18Merge pull request #6272Wladimir J. van der Laan
edbdf88 tests: Extend RPC proxy tests (Wladimir J. van der Laan) baf0507 Improve proxy initialization (Wladimir J. van der Laan)
2015-06-17add RPC tests for setban & disconnectnodeJonas Schnelli
2015-06-17[RPC] extend setban to allow subnetsJonas Schnelli
2015-06-17[QA] add setban/listbanned/clearbanned testsJonas Schnelli
2015-06-15tests: Extend RPC proxy testsWladimir J. van der Laan
Also test -noonion
2015-06-11Add paytxfee to getwalletinfo, warnings to getnetworkinfoStephen
2015-06-11fundrawtransaction testsJonas Schnelli
2015-06-03Ignore unrequested blocks too far ahead of tipSuhas Daftuar
2015-06-02P2P regression test for new AcceptBlock behaviorSuhas Daftuar
2015-06-01Merge pull request #6193Wladimir J. van der Laan
6e71efa [REST] remove json input for getutxos, limit to query max. 15 outpoints (Jonas Schnelli) 64b8027 rest.cpp: strip whitespace (Jonas Schnelli)
2015-05-27[REST] remove json input for getutxos, limit to query max. 15 outpointsJonas Schnelli
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios. The JSON output option is untouched.
2015-05-27Fix walletbackup.py after directory restructuringSuhas Daftuar
Also add walletbackup.py to rpc-tests.sh
2015-05-21rpc-tests: remove python-bitcoinrpc directoryJonas Schnelli
place authproxy.py at same level as other utility classes
2015-05-18pull-tester/rpc-tests.sh: allow passing throug of argumentsJonas Schnelli
2015-05-18update rpc-tests readme.mdJonas Schnelli
2015-05-18[QA] restructure rpc tests directoryJonas Schnelli
* move non-test classes to subdir `test-framework`
2015-05-13Increase timeouts in pruning.py and modify warning language.Alex Morcos
2015-05-13Merge pull request #5159Wladimir J. van der Laan
b649e03 Create new BlockPolicyEstimator for fee estimates (Alex Morcos)
2015-05-13Create new BlockPolicyEstimator for fee estimatesAlex Morcos
This class groups transactions that have been confirmed in blocks into buckets, based on either their fee or their priority. Then for each bucket, the class calculates what percentage of the transactions were confirmed within various numbers of blocks. It does this by keeping an exponentially decaying moving history for each bucket and confirm block count of the percentage of transactions in that bucket that were confirmed within that number of blocks. -Eliminate txs which didn't have all inputs available at entry from fee/pri calcs -Add dynamic breakpoints and tracking of confirmation delays in mempool transactions -Remove old CMinerPolicyEstimator and CBlockAverage code -New smartfees.py -Pass a flag to the estimation code, using IsInitialBlockDownload as a proxy for when we are still catching up and we shouldn't be counting how many blocks it takes for transactions to be included. -Add a policyestimator unit test
2015-05-11Add txn_clone.py testTom Harding
Does what the old txnmall.sh test did. Creates an equivalent malleated clone and tests that SyncMetaData syncs the accounting effects from the original transaction to the confirmed clone.
2015-05-11Merge pull request #6073Wladimir J. van der Laan
a681663 clarify that there are only two nodes (Jameson Lopp)
2015-05-07Merge pull request #5958Wladimir J. van der Laan
231072f [QA] add multisig rpc tests (Jonas Schnelli)