Documentation
¶
Index ¶
- type NewDA
- func (n *NewDA) Init(namespaceID types.NamespaceID, config []byte, kvStore ds.Datastore, ...) error
- func (n *NewDA) RetrieveBlocks(ctx context.Context, dataLayerHeight uint64) da.ResultRetrieveBlocks
- func (n *NewDA) Start() error
- func (n *NewDA) Stop() error
- func (n *NewDA) SubmitBlocks(ctx context.Context, blocks []*types.Block) da.ResultSubmitBlocks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewDA ¶
NewDA is a new DA implementation.
func (*NewDA) Init ¶
func (n *NewDA) Init(namespaceID types.NamespaceID, config []byte, kvStore ds.Datastore, logger log.Logger) error
Init is called once to allow DA client to read configuration and initialize resources.
func (*NewDA) RetrieveBlocks ¶
RetrieveBlocks retrieves blocks from DA.
func (*NewDA) SubmitBlocks ¶
SubmitBlocks submits blocks to DA.
Click to show internal directories.
Click to hide internal directories.