aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/mempool_packages.py
AgeCommit message (Collapse)Author
2017-03-20Rename qa directory to testJohn Newbery
2017-03-15Fix RPC failure testing (2 of 2)John Newbery
Commit 9db8eecac1c713c760c0217b6acb7455c657fa8b improved the assert_raises_jsonrpc() function for better testing of RPC failure modes. This commit completes the job by removing remaining broken try-except RPC testing from the individual test cases and replacing it with calls to assert_raises_jsonrpc().
2017-03-09Use logging in individual testsJohn Newbery
2017-03-09Remove manual debug settings in qa tests.John Newbery
-debug and -logtimemicros are now set by default. Individual test cases no longer need to set these parameters manually.
2017-03-03[rpc] Remove priorityDelta from prioritisetransactionAlex Morcos
This a breaking API change to the prioritisetransaction RPC call which previously required exactly three arguments and now requires exactly two (hash and feeDelta). The function prioritiseTransaction is also updated.
2017-02-23Fix docstrings in qa testsJohn Newbery
This commit fixes the module-level docstrings for the tests and helper modules in qa. Many of these tests were uncommented previously - this commit ensures that every test case has at least a minimum level of commenting.
2016-12-03remove relaypriority from rpc testsAlex Morcos
2016-06-09Merge #7292: [RPC] Expose ancestor/descendant information over RPCPieter Wuille
176e19b Mention new RPC's in release notes (Suhas Daftuar) 7f6eda8 Add ancestor statistics to mempool entry RPC output (Suhas Daftuar) a9b8390 Add test coverage for new RPC calls (Suhas Daftuar) b09b813 Add getmempoolentry RPC call (Suhas Daftuar) 0dfd869 Add getmempooldescendants RPC call (Suhas Daftuar) 8f7b5dc Add getmempoolancestors RPC call (Suhas Daftuar) 5ec0cde Refactor logic for converting mempool entries to JSON (Suhas Daftuar)
2016-06-09Add test coverage for new RPC callsSuhas Daftuar
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-05[qa] Switch to py3MarcoFalke
2016-03-17Tests: fix missing import in mempool_packagesSuhas Daftuar
2016-03-14[qa] mininode: Add and use CONSTsMarcoFalke
2016-01-14Eliminate race condition in mempool_packages testSuhas Daftuar
2015-12-02Fix mempool limiting for PrioritiseTransactionSuhas Daftuar
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.
2015-12-01Add rounding helper function to util.pySuhas Daftuar
2015-10-27Lower default policy limitsAlex Morcos
Reduce the default limits on maximum number of transactions and the cumulative size of those transactions in both ancestor and descendant packages to 25 txs and 101kb total size.
2015-09-23Add test showing bug in mempool packagesSuhas Daftuar
2015-09-19Track transaction packages in CTxMemPoolEntrySuhas Daftuar
Associate with each CTxMemPoolEntry all the size/fees of descendant mempool transactions. Sort mempool by max(feerate of entry, feerate of descendants). Update statistics on-the-fly as transactions enter or leave the mempool. Also add ancestor and descendant limiting, so that transactions can be rejected if the number or size of unconfirmed ancestors exceeds a target, or if adding a transaction would cause some other mempool entry to have too many (or too large) a set of unconfirmed in- mempool descendants.