diff options
| author | Pieter Wuille <[email protected]> | 2012-07-08 19:04:05 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-10-20 23:08:57 +0200 |
| commit | 13c51f20f619b9001bb6caf225b8cd6c5c2fbb31 (patch) | |
| tree | 5f19cdc9ff4d01f620239156a3d87cbce60dc091 /src/db.cpp | |
| parent | Transaction hash caching (diff) | |
| download | discoin-13c51f20f619b9001bb6caf225b8cd6c5c2fbb31.tar.xz discoin-13c51f20f619b9001bb6caf225b8cd6c5c2fbb31.zip | |
Direct CCoins references
To prevent excessive copying of CCoins in and out of the CCoinsView
implementations, introduce a GetCoins() function in CCoinsViewCache
with returns a direct reference. The block validation and connection
logic is updated to require caching CCoinsViews, and exploits the
GetCoins() function heavily.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions