aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modify chain consensus parameters to be height aware (#1396)Ross Nicoll2018-09-191-1/+2
| | | | | | | | | * 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
* Clarify comment about mempool/extra conflictsMatt Corallo2017-01-161-1/+2
|
* Make PartiallyDownloadedBlock::InitData's second param constMatt Corallo2017-01-121-1/+1
|
* Add extra_count lower bound to compact reconstruction debug printMatt Corallo2017-01-121-1/+3
|
* Use replaced transactions in compact block reconstructionMatt Corallo2017-01-101-1/+31
|
* Make FillBlock consume txn_available to avoid shared_ptr copiesPieter Wuille2016-12-211-4/+10
|
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* Fix some typosfsb40002016-11-281-1/+1
|
* Introduce convenience type CTransactionRefPieter Wuille2016-11-191-1/+1
|
* Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille2016-11-191-7/+7
|
* Merge #9039: Various serialization simplifcations and optimizationsWladimir J. van der Laan2016-11-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | d59a518 Use fixed preallocation instead of costly GetSerializeSize (Pieter Wuille) 25a211a Add optimized CSizeComputer serializers (Pieter Wuille) a2929a2 Make CSerAction's ForRead() constexpr (Pieter Wuille) a603925 Avoid -Wshadow errors (Pieter Wuille) 5284721 Get rid of nType and nVersion (Pieter Wuille) 657e05a Make GetSerializeSize a wrapper on top of CSizeComputer (Pieter Wuille) fad9b66 Make nType and nVersion private and sometimes const (Pieter Wuille) c2c5d42 Make streams' read and write return void (Pieter Wuille) 50e8a9c Remove unused ReadVersion and WriteVersion (Pieter Wuille)
| * Make GetSerializeSize a wrapper on top of CSizeComputerPieter Wuille2016-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | Given that in default GetSerializeSize implementations created by ADD_SERIALIZE_METHODS we're already using CSizeComputer(), get rid of the specialized GetSerializeSize methods everywhere, and just use CSizeComputer. This removes a lot of code which isn't actually used anywhere. For CCompactSize and CVarInt this actually removes a more efficient size computing algorithm, which is brought back in a later commit.
* | Fix compact block handling to not ban if block is invalidSuhas Daftuar2016-11-031-1/+1
|/
* Use cmpctblock type 2 for segwit-enabled transferPieter Wuille2016-10-041-2/+2
| | | | | Contains version negotiation logic by Matt Corallo and bugfixes by Suhas Daftuar.
* various typosleijurv2016-08-141-1/+1
|
* BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-221-2/+2
| | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* Elaborate bucket size mathPieter Wuille2016-06-191-4/+10
|
* Use vTxHashes to optimize InitData significantlyMatt Corallo2016-06-191-3/+5
|
* Add reconstruction debug loggingMatt Corallo2016-06-191-1/+15
|
* Add partial-block block encodings APIMatt Corallo2016-06-191-0/+158