Documentation ¶
Index ¶
- type Reader
- func (cr Reader) BorEventsByBlock(hash common.Hash, number uint64) []rlp.RawValue
- func (cr Reader) BorSpan(spanId uint64) *heimdall.Span
- func (cr Reader) BorStartEventId(hash common.Hash, number uint64) uint64
- func (cr Reader) Config() *chain.Config
- func (cr Reader) CurrentFinalizedHeader() *types.Header
- func (cr Reader) CurrentHeader() *types.Header
- func (cr Reader) CurrentSafeHeader() *types.Header
- func (cr Reader) FrozenBlocks() uint64
- func (cr Reader) FrozenBorBlocks() uint64
- func (cr Reader) GetBlock(hash common.Hash, number uint64) *types.Block
- func (cr Reader) GetHeader(hash common.Hash, number uint64) *types.Header
- func (cr Reader) GetHeaderByHash(hash common.Hash) *types.Header
- func (cr Reader) GetHeaderByNumber(number uint64) *types.Header
- func (cr Reader) GetTd(hash common.Hash, number uint64) *big.Int
- func (cr Reader) HasBlock(hash common.Hash, number uint64) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (Reader) BorEventsByBlock ¶
func (Reader) BorStartEventId ¶
func (Reader) CurrentFinalizedHeader ¶
func (Reader) CurrentHeader ¶
func (Reader) CurrentSafeHeader ¶
func (Reader) FrozenBlocks ¶
func (Reader) FrozenBorBlocks ¶
Click to show internal directories.
Click to hide internal directories.