Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockProvider ¶
type BlockProvider struct {
// contains filtered or unexported fields
}
func NewBlockProvider ¶
func NewBlockProvider( state sm.State, store *store.BlockStore, celestiaCfg *relayer.CelestiaConfig, genDoc *cmttypes.GenesisDoc, clientCtx client.Context, cmtConfig *cfg.Config, celestiaNamespaceStr string, chainID string, ) *BlockProvider
func (*BlockProvider) GetVerifiedBlock ¶
func (bp *BlockProvider) GetVerifiedBlock(height int64) *protoblocktypes.Block
func (*BlockProvider) QueryCelestiaClientState ¶
func (bp *BlockProvider) QueryCelestiaClientState(ctx context.Context) (*lc.ClientState, error)
func (*BlockProvider) SetLogger ¶
func (bp *BlockProvider) SetLogger(l log.Logger)
func (*BlockProvider) Start ¶
func (bp *BlockProvider) Start(celestiaPollInterval time.Duration)
Click to show internal directories.
Click to hide internal directories.