Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SavePayloadsToFile ¶
SavePayloadsToFile given a block height and file path writes all the payloads for that snapshot height to the file in json format.
Types ¶
type Data ¶ added in v0.62.0
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.
type Database ¶ added in v0.72.0
type Database interface { cometbftdb.DB Clear() error }
Click to show internal directories.
Click to hide internal directories.