go-waku/waku/v2/protocol/rln/group_manager/group_manager.go

23 lines
407 B
Go
Raw Normal View History

2023-04-03 21:45:19 +00:00
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
2023-09-11 21:34:56 +00:00
IsReady(ctx context.Context) (bool, error)
}
type Details struct {
GroupManager GroupManager
RootTracker *MerkleRootTracker
RLN *rln.RLN
}