waku-org/go-waku

View on GitHub
waku/v2/protocol/rln/group_manager/group_manager.go

Summary

Maintainability
A
0 mins
Test Coverage
package group_manager

import (
    "context"

    "github.com/waku-org/go-zerokit-rln/rln"
)

type GroupManager interface {
    Start(ctx context.Context) error
    IdentityCredentials() (rln.IdentityCredential, error)
    MembershipIndex() rln.MembershipIndex
    Stop() error
    IsReady(ctx context.Context) (bool, error)
}

type Details struct {
    GroupManager GroupManager
    RootTracker  *MerkleRootTracker

    RLN *rln.RLN
}