Documentation ¶
Index ¶
Constants ¶
View Source
const (
SpentAddressesImportBatchSize = 100000
)
Variables ¶
View Source
var ( PLUGIN = node.NewPlugin("Snapshot", node.Enabled, configure, run) NullHash = strings.Repeat("9", 81) )
View Source
var (
ErrSnapshotImportWasAborted = errors.New("snapshot import was aborted")
)
Functions ¶
func LoadEmptySnapshot ¶
func LoadGlobalSnapshot ¶
func LoadGlobalSnapshot(filePathLedger string, filePathSpent []string, snapshotIndex milestone_index.MilestoneIndex) error
func LoadSnapshotFromFile ¶
func SaveSnapshotToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.