static

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type StaticGroupManager

type StaticGroupManager struct {
	// contains filtered or unexported fields
}

func NewStaticGroupManager

func NewStaticGroupManager(
	group []rln.IDCommitment,
	identityCredential rln.IdentityCredential,
	index rln.MembershipIndex,
	log *zap.Logger,
) (*StaticGroupManager, error)

func (*StaticGroupManager) IdentityCredentials

func (gm *StaticGroupManager) IdentityCredentials() (rln.IdentityCredential, error)

func (*StaticGroupManager) MembershipIndex

func (gm *StaticGroupManager) MembershipIndex() (rln.MembershipIndex, error)

func (*StaticGroupManager) Start

func (gm *StaticGroupManager) Start(ctx context.Context, rlnInstance *rln.RLN, rootTracker *group_manager.MerkleRootTracker) error

func (*StaticGroupManager) Stop

func (gm *StaticGroupManager) Stop()

Jump to

Keyboard shortcuts

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