Versions in this module Expand all Collapse all v0 v0.2.1 Sep 24, 2025 Changes in this version type Config + BeaconGenesisTime int64 v0.2.0 Jan 8, 2025 Changes in this version + var ErrInvalidConfig = fmt.Errorf("invalid node configuration") + func ValidateConfig(cfg Config) error + type Config struct + AnchorInterval int + BeaconChainHash []byte + BeaconInterval time.Duration + BeaconPublicKey []byte + BeaconURL string + EventRate int64 + Network network.Config + SubEventComplex float64 + Verbose bool + VerifyInterval int + type Node struct + func New(ctx context.Context, cfg Config) (*Node, error) + func (n *Node) AddEvent(ctx context.Context, data []byte, parents []string) error + func (n *Node) Close() error