diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-12-21 17:42:28 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-01-25 20:43:37 +0100 |
commit | 5d59ae0ba88849b1eb0d7350871bc19fcd5ef601 (patch) | |
tree | f6cab7706d00f3e91a32b1b6c185760e62f58108 /src/node/blockstorage.h | |
parent | eaeeb88768db529b5241ccd42f1e87579908b4df (diff) | |
download | bitcoin-5d59ae0ba88849b1eb0d7350871bc19fcd5ef601.tar.xz |
Remove/inline ReadRawBlockFromDisk(block_data, pindex, message_start)
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r-- | src/node/blockstorage.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h index d7c980af85..42e46797d2 100644 --- a/src/node/blockstorage.h +++ b/src/node/blockstorage.h @@ -185,7 +185,6 @@ void UnlinkPrunedFiles(const std::set<int>& setFilesToPrune); bool ReadBlockFromDisk(CBlock& block, const FlatFilePos& pos, const Consensus::Params& consensusParams); bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex, const Consensus::Params& consensusParams); bool ReadRawBlockFromDisk(std::vector<uint8_t>& block, const FlatFilePos& pos, const CMessageHeader::MessageStartChars& message_start); -bool ReadRawBlockFromDisk(std::vector<uint8_t>& block, const CBlockIndex* pindex, const CMessageHeader::MessageStartChars& message_start); bool UndoReadFromDisk(CBlockUndo& blockundo, const CBlockIndex* pindex); |