group_manager

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MerkleRootTracker

type MerkleRootTracker struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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