Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MerkleRootTracker ¶
func NewMerkleRootTracker ¶
func NewMerkleRootTracker(acceptableRootWindowSize int, rlnInstance *rln.RLN) (*MerkleRootTracker, error)
func (*MerkleRootTracker) Backfill ¶
func (m *MerkleRootTracker) Backfill(fromBlockNumber uint64)
func (*MerkleRootTracker) Buffer ¶
func (m *MerkleRootTracker) Buffer() []rln.MerkleNode
func (*MerkleRootTracker) Roots ¶
func (m *MerkleRootTracker) Roots() []rln.MerkleNode
func (*MerkleRootTracker) UpdateLatestRoot ¶
func (m *MerkleRootTracker) UpdateLatestRoot(blockNumber uint64) (rln.MerkleNode, error)
type RootsPerBlock ¶
type RootsPerBlock struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.