Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMetrics ¶
WithMetrics is a utility function that is expected to be "invoked" by the fx lifecycle.
Types ¶
type API ¶
type API struct { SamplingStats func(ctx context.Context) (das.SamplingStats, error) WaitCatchUp func(ctx context.Context) 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.