Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(index rln.MembershipIndex) ([]rln.IDCommitment, rln.IdentityCredential, error)
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()
Click to show internal directories.
Click to hide internal directories.