64 Commits (27616b9a045476e192c549b98ca494317953bfda)

Author SHA1 Message Date
Sean Bowe 27616b9a04 Add support for Sapling anchors in coins/txdb. 6 years ago
Sean Bowe 7703a673ea Generalize the PushAnchor implementation behavior. 6 years ago
Sean Bowe 9ea4e387b2 Generalize the PopAnchor implementation behavior. 6 years ago
Sean Bowe 18322f074c Introduce support for GetBestAnchor(SAPLING). 6 years ago
Sean Bowe 2bd59e1473 Rename PushAnchor to PushSproutAnchor. 6 years ago
Sean Bowe 008f4ee8e7 Rename GetAnchorAt to GetSproutAnchorAt. 6 years ago
Sean Bowe 08f0728884 Rename hashAnchor to hashSproutAnchor. 6 years ago
Sean Bowe d455828fdc Specifically describe anchors as Sprout anchors. 6 years ago
Sean Bowe 28d20bdb11 Rename NullifierType to ShieldedType. 6 years ago
Jack Grigg 1f9dfbb9f0
Fix -Wstring-plus-int warning on clang 6 years ago
Eirik Ogilvie-Wigley 9669920f75 Rename nullifier caches and maps to indicate sprout nullifiers 6 years ago
Eirik Ogilvie-Wigley cab341e1a8 Add sapling nullifiers to db and mempool 6 years ago
Eirik Ogilvie-Wigley 708c87f16d Add enum for nullifier type 6 years ago
Eirik Ogilvie-Wigley 685e936c31 Add sapling nullifier set 6 years ago
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