package
Version:
v0.0.0-...-141c82c
Opens a new window with list of versions in this module.
Published: Apr 25, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SavePayloadsToFile given a block height and file path writes all the payloads for that snapshot height
to the file in json format.
SnapshotData returns an overview of each snapshot saved to disk, namely the height and its hash.
type Data struct {
Height uint64 `json:"height,omitempty"`
Version int64 `json:"version"`
Size int64 `json:"size"`
Hash string `json:"hash"`
}
Data is a representation of the information we scrape from the avl tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.