Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <primitives/blockhash.h>
#include <serialize.h>
#include <util/fs.h>
#include <validation.h>
#include <optional>
Go to the source code of this file.
Classes | |
class | node::SnapshotMetadata |
Metadata describing a serialized version of a UTXO set from which an assumeutxo Chainstate can be constructed. More... | |
Namespaces | |
namespace | node |
Functions | |
std::optional< fs::path > | node::FindSnapshotChainstateDir () |
Return a path to the snapshot-based chainstate dir, if one exists. More... | |
Variables | |
const fs::path | node::SNAPSHOT_BLOCKHASH_FILENAME {"base_blockhash"} |
The file in the snapshot chainstate dir which stores the base blockhash. More... | |
bool WriteSnapshotBaseBlockhash(Chainstate &snapshot_chainstate) EXCLUSIVE_LOCKS_REQUIRED(std::optional< BlockHash > ReadSnapshotBaseBlockhash(const fs::path &chaindir) EXCLUSIVE_LOCKS_REQUIRED(constexpr std::string_view | node::SNAPSHOT_CHAINSTATE_SUFFIX = "_snapshot" |
Write out the blockhash of the snapshot base block that was used to construct this chainstate. More... | |