50 Commits (master)

Author SHA1 Message Date
Daira Hopwood ec19e8e283 Simplify JoinSplit priority calculation. refs 1896 7 years ago
Jack Grigg 43a03e3bfc
Migrate IncrementalMerkleTree memory usage calls 7 years ago
Pieter Wuille 6bd1d60c97
Separate core memory usage computation in core_memusage.h 9 years ago
Sean Bowe ebd9aa11b1 Ensure cache contains valid entry when anchor is popped. 8 years ago
Simon 520ced1405 Closes #1857. Fixes bug where tx spending only notes had priority of 0. 8 years ago
Sean Bowe f398a94766 Anchors and nullifiers should always be inherited from the parent cache. 8 years ago
Sean Bowe 9e511dbbdd Rename CSerialsCacheEntry. 8 years ago
Sean Bowe 1d184d53e1 Rename cacheSerials to cacheNullifiers and fix tests. 8 years ago
Sean Bowe b7e4abd6f7 Rename some usage of 'pour'. 8 years ago
Sean Bowe bb64be52fe Rename mapSerials to mapNullifiers. 8 years ago
Sean Bowe d889a287ae Rename CSerialsMap to CNullifiersMap. 8 years ago
Sean Bowe d90e46ba8d Renaming SetSerial to SetNullifier. 8 years ago
Sean Bowe 616f8d05af Rename GetSerial to GetNullifier. 8 years ago
Sean Bowe ee964faf3d Rename HavePourRequirements to HaveJoinSplitRequirements. 8 years ago
Sean Bowe 942bc46756 Rename GetPourValueIn to GetJoinSplitValueIn 8 years ago
Sean Bowe bfeaf0049a Rename JSDescription's `serials` to `nullifiers`. 8 years ago
Sean Bowe 8675d94b63 Rename vpour to vjoinsplit. 8 years ago
Sean Bowe a8c68ffe99 Rename CPourTx to JSDescription. 8 years ago
Sean Bowe 7f3c7a683b Flush to disk more consistently by accounting memory usage of serials/anchors in cache. 8 years ago
Sean Bowe 6c59778acb Allow pours to be anchored to intermediate treestates of a transaction. 8 years ago
Sean Bowe 434f328446 Integrate new incremental merkle tree implementation into consensus. 8 years ago
Sean Bowe cf47198370 Fixed a couple incremental merkle tree bugs breaking consistency checks. 9 years ago
Sean Bowe d66877afb3 Added mapSerials consensus rules to prohibit double-spending. 9 years ago
Sean Bowe a8ac403db0 Added mapAnchors consensus rules, finished zcrawpour/zcrawreceive. 9 years ago
Sean Bowe f512cf7c7b Added value balance consensus enforcement for pours. 9 years ago
Sean Bowe 45d6bee945 Add mapSerials infrastructure to CCoinsView. 9 years ago
Sean Bowe 9f25631d50 Add mapAnchors infrastructure to CCoinsView. 9 years ago
Pieter Wuille 046392dc1d Keep track of memory usage in CCoinsViewCache 9 years ago
Wladimir J. van der Laan 4f1524966a Replace direct use of 0 with SetNull and IsNull 10 years ago
Pieter Wuille 02bced1661 Bugfix: only track UTXO modification after lookup 10 years ago
jtimon c444c620c6 Decouple CCoins from CTxInUndo 10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers 10 years ago
Michael Ford fa94b9d562
Convert remaining comments in /src to doxygen format 10 years ago
Mark Friedenbach a372168e77 Use a typedef for monetary values 10 years ago
Pieter Wuille 7c70438dc6 Get rid of the dummy CCoinsViewCache constructor arg 10 years ago
Pieter Wuille 058b08c147 Do not keep fully spent but unwritten CCoins entries cached. 10 years ago
Pieter Wuille c9d1a81ce7 Get rid of CCoinsView's SetCoins and SetBestBlock. 10 years ago
Pieter Wuille f28aec014e Use ModifyCoins instead of mutable GetCoins. 10 years ago
Pieter Wuille 629d75faac Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins. 10 years ago
Daniel Kraft a3dc587a62 Make appropriate getter-routines "const" in CCoinsView. 10 years ago
Pieter Wuille b0875eb3fe Allow BatchWrite to destroy its input, reducing copying 10 years ago
Pieter Wuille bc42503f6a Use unordered_map for CCoinsViewCache with salted hash 10 years ago
Pieter Wuille d4d3fbd828 Do not flush the cache after every block outside of IBD 10 years ago
Wladimir J. van der Laan dd638dd712
typedef std::map<uint256, CCoins> to CCoinsMap 10 years ago
Gavin Andresen 4d707d5120 Add verbose boolean to getrawmempool 11 years ago
Pieter Wuille a0fa20a12b Move CCoins-related logic to coins.{cpp.h} 11 years ago