58 Commits (fe862c5ad4bdce6bcc3bf8712d9472561b270c02)

Author SHA1 Message Date
practicalswift 36d326e8b0 Use nullptr instead of zero (0) as the null pointer constant 7 years ago
Gregory Maxwell 3babbcb487 Remove confusing MAX_BLOCK_BASE_SIZE. 8 years ago
Pieter Wuille 21180ff734 Simplify return values of GetCoin/HaveCoin(InCache) 8 years ago
Pieter Wuille 013a56aa1a Non-atomic flushing using the blockchain as replay journal 8 years ago
Matt Corallo 3533fb4d33 Return a bool in SpendCoin to restore pre-per-utxo assert semantics 8 years ago
Alex Morcos 525769853e Change semantics of HaveCoinInCache to match HaveCoin 8 years ago
practicalswift b083db617a [trivial] Fix typo: "occurrences" (misspelled as "occurrances") 8 years ago
Pieter Wuille 589827975f scripted-diff: various renames for per-utxo consistency 8 years ago
Pieter Wuille 73de2c1ff3 Rename CCoinsCacheEntry::coins to coin 8 years ago
Pieter Wuille 119e552f7c Merge CCoinsViewCache's GetOutputFor and AccessCoin 8 years ago
Pieter Wuille 97072d6685 Remove unused CCoins methods 8 years ago
Pieter Wuille 5083079688 Switch CCoinsView and chainstate db from per-txid to per-txout 8 years ago
Pieter Wuille 05293f3cb7 Remove ModifyCoins/ModifyNewCoins 8 years ago
Pieter Wuille 0003911326 Introduce new per-txout CCoinsViewCache functions 8 years ago
Pieter Wuille c3aa0c1194 Report on-disk size in gettxoutsetinfo 8 years ago
Alex Morcos 359e8a03d1 [cleanup] Remove coin age priority completely. 8 years ago
Russell Yanofsky dd44ea39bb Check FRESH validity in CCoinsViewCache::BatchWrite 8 years ago
Alex Morcos b50cd7a67e Fix dangerous condition in ModifyNewCoins. 8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 8 years ago
maiiz 94a34a5d95 Fix relaypriority calculation error 8 years ago
Pieter Wuille 888483098e Use C++11 thread-safe static initializers 9 years ago
Pieter Wuille 382c871d28 Use SipHash-2-4 for CCoinsCache index 9 years ago
Wladimir J. van der Laan 509cb006d5 txdb: Add Cursor() method to CCoinsView to iterate over UTXO set 9 years ago
MarcoFalke fa24439ff3 Bump copyright headers to 2015 9 years ago
Matt Corallo 97bf377bd1 Add CCoinsViewCache::HaveCoinsInCache to check if a tx is cached 9 years ago
Matt Corallo 74d0f90262 Add method to remove a tx from CCoinsViewCache if it is unchanged 9 years ago
Alex Morcos c0353064dd Change GetPriority calculation. 9 years ago
Alex Morcos 8504867b14 Save the last unnecessary database read 9 years ago
Alex Morcos 072e2f8644 Alter assumptions in CCoinsViewCache::BatchWrite 9 years ago
Alex Morcos 14470f9aa6 ModifyNewCoins saves database lookups 9 years ago
Pieter Wuille 9e38d0f745 Separate core memory usage computation in core_memusage.h 10 years ago
Pieter Wuille 046392dc1d Keep track of memory usage in CCoinsViewCache 10 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 11 years ago
Pieter Wuille d4d3fbd828 Do not flush the cache after every block outside of IBD 11 years ago
Wladimir J. van der Laan dd638dd712
typedef std::map<uint256, CCoins> to CCoinsMap 11 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