Chainstate::SnapshotBase

The base of the snapshot this chainstate was created from.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fb65778), requires_capability(0x7fbc96bfdde8), requires_capability(0x7fbcaf5d51f8), requires_capability(0x7fbc9e0db9c8)]]
CBlockIndex const*
SnapshotBase() const;

Description

nullptr if this chainstate was not created from a snapshot.

Return Value

The block index of the snapshot base, or nullptr if not created from a snapshot.