Documentation ¶
Index ¶
- func NewDisabledService(reg RegistrationService) *disabledService
- func NewRound(datadir string, epoch uint, opts ...newRoundOptionFunc) (*round, error)
- func WithConfig(cfg Config) newServiceOptionFunc
- func WithMembershipRoot(root []byte) newRoundOptionFunc
- type ClosedRound
- type Config
- type RegistrationService
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDisabledService ¶ added in v0.9.8
func NewDisabledService(reg RegistrationService) *disabledService
func WithConfig ¶ added in v0.9.2
func WithConfig(cfg Config) newServiceOptionFunc
func WithMembershipRoot ¶ added in v0.9.2
func WithMembershipRoot(root []byte) newRoundOptionFunc
Types ¶
type ClosedRound ¶ added in v0.9.2
type Config ¶
type Config struct { // Merkle-Tree related configuration: EstimatedLeavesPerSecond uint `long:"lps" description:"Estimated number of leaves generated per second"` MemoryLayers uint `long:"memory" description:"Number of top Merkle tree layers to cache in-memory"` TreeFileBufferSize uint `long:"tree-file-buffer" description:"The size of memory buffer for file-based tree layers"` }
func DefaultConfig ¶ added in v0.9.2
func DefaultConfig() Config
type RegistrationService ¶ added in v0.9.2
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.