diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-02 20:42:05 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-05 20:26:14 +0200 |
commit | fa0c7d9ad24d3c9515d3f9c136af4071cbd79055 (patch) | |
tree | ab4694ab21d018246826d8ff4a87bccdf7b8d690 /src/validation.h | |
parent | fa91b2b2b3447a3645e7958c7dc4e1946a69cb9c (diff) |
move-only: Move *Disk functions to blockstorage
Can be reviewed with the git options
--color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/validation.h b/src/validation.h index 3f7e967ec7..1eb010889d 100644 --- a/src/validation.h +++ b/src/validation.h @@ -300,15 +300,6 @@ public: /** Initializes the script-execution cache */ void InitScriptExecutionCache(); - -/** Functions for disk access for blocks */ -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); - /** Functions for validating blocks and updating the block tree */ /** Context-independent validity checks */ |