Commit Graph

67 Commits (ae379cf7d12943fc192d58176673bcfe7d53da53)

Author SHA1 Message Date
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
James O'Beirne 4f050b91c7 move-onlyish: move CCoinsViewErrorCatcher out of init.cpp
5 years ago
Jim Posen 4fb789e9b2 Extract CSipHasher to it's own file in crypto/ directory.
6 years ago
Ben Woosley da74db0940
Drop unused GetType() from CSizeComputer
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
practicalswift a720b928c8 Remove includes in .cpp files for things the corresponding .h file already included
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Dan Raviv 5b9748f979 Small refactor of CCoinsViewCache::BatchWrite()
7 years ago
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.
7 years ago
Wladimir J. van der Laan d4e551adfe
Merge #10148: Use non-atomic flushing with block replay
7 years ago
Pieter Wuille 21180ff734 Simplify return values of GetCoin/HaveCoin(InCache)
7 years ago
Pieter Wuille 013a56aa1a Non-atomic flushing using the blockchain as replay journal
7 years ago
Wladimir J. van der Laan 234ffc677e
Merge #10559: Change semantics of HaveCoinInCache to match HaveCoin
7 years ago
Pieter Wuille b3eb0d6485
Merge #10537: Few Minor per-utxo assert-semantics re-adds and tweak
7 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
Pieter Wuille 7dac1e5e9e
Merge #9107: Safer modify new coins
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
Wladimir J. van der Laan 6a07208388
Merge #7056: Save last db read
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
9 years ago
Pieter Wuille 046392dc1d Keep track of memory usage in CCoinsViewCache
10 years ago
Wladimir J. van der Laan 7625f7ff94
Merge pull request #5597
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