mmr

package
v4.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MMR

type MMR interface {
	GenerateProof(leafIndex uint64, blockHash types.Hash) (types.GenerateMMRProofResponse, error)
	GenerateProofLatest(leafIndex uint64) (types.GenerateMMRProofResponse, error)
}

MMR exposes methods for retrieval of MMR data

func NewMMR

func NewMMR(c client.Client) MMR

NewMMR creates a new MMR struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL