Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MMR ¶
type MMR struct {
// contains filtered or unexported fields
}
MMR exposes methods for retrieval of MMR data
func (*MMR) GenerateProof ¶
func (c *MMR) GenerateProof(leafIndex uint64, blockHash types.Hash) (types.GenerateMMRProofResponse, error)
GenerateProof retrieves a MMR proof and leaf for the specified leave index, at the given blockHash (useful to query a proof at an earlier block, likely with antoher MMR root)
func (*MMR) GenerateProofLatest ¶
func (c *MMR) GenerateProofLatest(leafIndex uint64) (types.GenerateMMRProofResponse, error)
GenerateProofLatest retrieves the latest MMR proof and leaf for the specified leave index
Click to show internal directories.
Click to hide internal directories.