Documentation ¶
Index ¶
- type Option
- type Store
- func (s *Store) BlockByHeight(ctx context.Context, height uint64) (*flowgo.Block, error)
- func (s *Store) BlockByID(ctx context.Context, blockID flowgo.Identifier) (*flowgo.Block, error)
- func (s *Store) LatestBlock(ctx context.Context) (flowgo.Block, error)
- func (s *Store) LedgerByHeight(ctx context.Context, blockHeight uint64) (snapshot.StorageSnapshot, error)
- func (s *Store) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Store)
func WithChainID ¶
WithChainID sets a chain ID and is used to determine which archive node to use.
Click to show internal directories.
Click to hide internal directories.