Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMetrics ¶
Types ¶
type API ¶
type API struct {
SamplingStats func(ctx context.Context) (das.SamplingStats, error)
}
API is a wrapper around Module for the RPC. TODO(@distractedm1nd): These structs need to be autogenerated.
type Config ¶
type Config das.Parameters
Config contains configuration parameters for the DASer (or DASing process)
func DefaultConfig ¶
func DefaultConfig() Config
TODO(@derrandz): parameters needs performance testing on real network to define optimal values DefaultConfig provide the optimal default configuration per node type. For the moment, there is only one default configuration for all node types but this function will provide more once #1261 is addressed.
TODO(@derrandz): Address #1261
Click to show internal directories.
Click to hide internal directories.