aboutsummaryrefslogtreecommitdiff
path: root/src/test/txvalidationcache_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix non-qt tests that spend dustPatrick Lodder2020-07-221-1/+1
| | | | | | | | - transaction_tests/IsStandard was spending 0.9 DOGE - tx_validationcache_tests/mempool_dblspend was spending 0.11 DOGE - wallet_tests/coin_selection was completely built around spending cents. This test has been completely reworked and redocumented to make sense for Dogecoin
* Replace test data with Dogecoin valuesRoss Nicoll2018-09-191-1/+1
| | | | | | | | | | | | | | | | | | | Replace test data with Dogecoin equivalents in the folowing tests: * base58 * bip32 * keys * miner * pow Replace RPC and deterministic signatures in unit tests with Dogecoin values. While conventionally I'd use an alternative implementation for these, as RFC 6979 compliant signature generation isn't terribly common, and there's no reason to suspect we've modified this code, I'm going to assert that it's good enough to test that the code doesn't provide different values. Disabled Bitcoin PoW tests, but left code in place to simplify later merges. These are replaced by the Dogecoin PoW tests.
* Make ATMP optionally return the CTransactionRefs it replacedMatt Corallo2017-01-091-1/+1
|
* Merge #9283: A few more CTransactionRef optimizationsWladimir J. van der Laan2017-01-041-1/+1
|\ | | | | | | | | | | | | 91335ba Remove unused MakeTransactionRef overloads (Pieter Wuille) 6713f0f Make FillBlock consume txn_available to avoid shared_ptr copies (Pieter Wuille) 62607d7 Convert COrphanTx to keep a CTransactionRef (Pieter Wuille) c44e4c4 Make AcceptToMemoryPool take CTransactionRef (Pieter Wuille)
| * Make AcceptToMemoryPool take CTransactionRefPieter Wuille2016-12-211-1/+1
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
|/ | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Preserve tx version=1 for certain testsBtcDrak2016-12-081-0/+1
| | | | | Without this change, the tests would be affected by default tx version increases.
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* BIP143: Verification logicPieter Wuille2016-06-221-1/+1
| | | | Includes simplifications by Eric Lombrozo.
* Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool.Gregory Maxwell2016-05-161-1/+1
|
* Implement "feefilter" P2P message.Alex Morcos2016-03-211-1/+1
| | | | The "feefilter" p2p message is used to inform other nodes of your mempool min fee which is the feerate that any new transaction must meet to be accepted to your mempool. This will allow them to filter invs to you according to this feerate.
* Move maxTxFee out of mempoolMarcoFalke2016-02-021-1/+1
| | | | Also, remove default values in CMerkleTx::AcceptToMemoryPool()
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Only call TrimToSize once per reorg/blocks disconnectMatt Corallo2015-10-131-1/+1
|
* Unit test doublespends in new blocksGavin Andresen2015-07-271-0/+86
As suggested by Greg Maxwell-- unit test to make sure a block with a double-spend in it doesn't pass validation if half of the double-spend is already in the memory pool (so full-blown transaction validation is skipped) when the block is received.