diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-05-12 15:19:19 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-05-26 13:33:39 -0700 |
commit | c3aa0c11947dfd82702df276d39bb7f748dd83a1 (patch) | |
tree | 56b0c561bee4a5fcf9f6c54b85c9d1200569d718 /src/coins.cpp | |
parent | d342424301013ec47dc146a4beb49d5c9319d80a (diff) |
Report on-disk size in gettxoutsetinfo
Diffstat (limited to 'src/coins.cpp')
-rw-r--r-- | src/coins.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coins.cpp b/src/coins.cpp index b2e33abf33..02f424fad6 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -55,6 +55,7 @@ uint256 CCoinsViewBacked::GetBestBlock() const { return base->GetBestBlock(); } void CCoinsViewBacked::SetBackend(CCoinsView &viewIn) { base = &viewIn; } bool CCoinsViewBacked::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { return base->BatchWrite(mapCoins, hashBlock); } CCoinsViewCursor *CCoinsViewBacked::Cursor() const { return base->Cursor(); } +size_t CCoinsViewBacked::EstimateSize() const { return base->EstimateSize(); } SaltedTxidHasher::SaltedTxidHasher() : k0(GetRand(std::numeric_limits<uint64_t>::max())), k1(GetRand(std::numeric_limits<uint64_t>::max())) {} |