Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chain ¶
type Verification ¶
type Verification struct {
Intact bool `json:"intact"`
Count int `json:"count"`
BreakPoint string `json:"break_point,omitempty"`
BreakIndex int `json:"break_index,omitempty"`
HeadHash string `json:"head_hash,omitempty"`
}
func Verify ¶
func Verify(c *Chain) (*Verification, error)
func VerifyRange ¶
func VerifyRange(c *Chain, from, to time.Time) (*Verification, error)
Click to show internal directories.
Click to hide internal directories.