Documentation
¶
Overview ¶
Package node provides the high-level interface for running a DAG-Time node
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = fmt.Errorf("invalid node configuration")
ErrInvalidConfig indicates the node configuration is invalid
Functions ¶
func ValidateConfig ¶
ValidateConfig validates the node configuration
Types ¶
type Config ¶
type Config struct {
// Network configuration
Network network.Config
// Beacon configuration
BeaconURL string
BeaconInterval time.Duration
BeaconChainHash []byte
BeaconPublicKey []byte
BeaconGenesisTime int64
// Pool configuration
EventRate int64
AnchorInterval int
SubEventComplex float64
VerifyInterval int
Verbose bool
}
Config represents node configuration
Click to show internal directories.
Click to hide internal directories.