![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <kernel/chainparams.h>#include <kernel/cs_main.h>#include <kernel/messagestartchars.h>#include <sync.h>#include <tinyformat.h>#include <uint256.h>#include <util/chaintype.h>#include <util/fs.h>#include <algorithm>#include <array>#include <cstdint>#include <ios>#include <optional>#include <set>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| class | node::SnapshotMetadata |
Namespaces | |
| namespace | node |
Functions | |
| std::optional< fs::path > | node::FindAssumeutxoChainstateDir (const fs::path &data_dir) |
| Return a path to the snapshot-based chainstate dir, if one exists. | |
Variables | |
| static constexpr std::array< uint8_t, 5 > | SNAPSHOT_MAGIC_BYTES = {'u', 't', 'x', 'o', 0xff} |
| const fs::path | node::SNAPSHOT_BLOCKHASH_FILENAME {"base_blockhash"} |
| bool WriteSnapshotBaseBlockhash(Chainstate &snapshot_chainstate) EXCLUSIVE_LOCKS_REQUIRED(std::optional< uint256 > ReadSnapshotBaseBlockhash(fs::path chaindir) EXCLUSIVE_LOCKS_REQUIRED(constexpr std::string_vie | node::SNAPSHOT_CHAINSTATE_SUFFIX ) = "_snapshot" |
|
staticconstexpr |
Definition at line 28 of file utxo_snapshot.h.