aboutsummaryrefslogtreecommitdiff
path: root/src/test/blockencodings_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix 1.14 unit tests (#1408)Max K2018-09-191-6/+2
| | | | | | | | * Fix BlockEncodings test by setting a legacy block version * Fix RPC test by adding missing RPC call * Add missing regtest genesis hashes
* Modify chain consensus parameters to be height aware (#1396)Ross Nicoll2018-09-191-2/+6
| | | | | | | | | * Modify chain consensus parameters to be height aware * Correct implementation of simplified rewards in parameters * Correct max money * Use base block version in IsSuperMajority() instead of full version * Correct mining of blocks in AuxPoW tests * Add in missing pre-AuxPoW consensus checks
* Replace test data with Dogecoin valuesRoss Nicoll2018-09-191-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* Use replaced transactions in compact block reconstructionMatt Corallo2017-01-101-4/+6
|
* Merge #9283: A few more CTransactionRef optimizationsWladimir J. van der Laan2017-01-041-16/+29
|\ | | | | | | | | | | | | 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 FillBlock consume txn_available to avoid shared_ptr copiesPieter Wuille2016-12-211-16/+29
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
|/ | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* remove internal tracking of mempool conflicts for reporting to walletAlex Morcos2016-12-051-3/+3
|
* Introduce convenience type CTransactionRefPieter Wuille2016-11-191-9/+9
|
* Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille2016-11-191-25/+36
|
* Get rid of nType and nVersionPieter Wuille2016-11-071-1/+1
| | | | | | | | | | | Remove the nType and nVersion as parameters to all serialization methods and functions. There is only one place where it's read and has an impact (in CAddress), and even there it does not impact any of the recursively invoked serializers. Instead, the few places that need nType or nVersion are changed to read it directly from the stream object, through GetType() and GetVersion() methods which are added to all stream classes.
* Return shared_ptr<CTransaction> from mempool removesPieter Wuille2016-10-211-1/+1
|
* Make removed and conflicted arguments optional to removePieter Wuille2016-10-211-1/+1
|
* Use cmpctblock type 2 for segwit-enabled transferPieter Wuille2016-10-041-3/+3
| | | | | Contains version negotiation logic by Matt Corallo and bugfixes by Suhas Daftuar.
* Remove redundand (and shadowing) declarationPavel Janík2016-08-051-1/+0
|
* Add some blockencodings testsMatt Corallo2016-06-191-0/+315