Documentation ¶
Index ¶
Constants ¶
View Source
const (
BlocksToStore = 40
)
Variables ¶
This section is empty.
Functions ¶
func CheckHNSDVersion ¶ added in v0.0.4
func CheckHNSDVersion() error
func PeriodicallySync ¶ added in v0.0.4
Types ¶
type BlockInfo ¶
type BlockInfo struct { Height uint32 `json:"height"` Timestamp uint64 `json:"timestamp"` TreeRoot string `json:"tree_root"` }
func ReadStoredRoots ¶
TODO check if there is more than a week between sync then fail lookup have a flag to override this failing behaviour reads local file and get Roots object from it
Click to show internal directories.
Click to hide internal directories.