Documentation ¶
Index ¶
- type Bus
- type Headers
- func (h *Headers) CheckBtc(header wire.BlockHeader, height uint32, network string) error
- func (h *Headers) CheckMnt(header *tmtypes.SignedHeader, vals *tmtypes.ValidatorSet) error
- func (h *Headers) Commit() error
- func (h *Headers) ExistsBtc(blockHeight uint32) bool
- func (h *Headers) ExistsMnt(blockHash string) bool
- func (h *Headers) Export(state *types.AppState)
- func (h *Headers) GetBtcHeader(blockHeight uint32) *wire.BlockHeader
- func (h *Headers) GetLastBtc() *chainhash.Hash
- func (h *Headers) GetMntHeader(blockHash string) *tmtypes.SignedHeader
- func (h *Headers) InsertBtc(header wire.BlockHeader, height uint32)
- func (h *Headers) InsertMnt(header tmtypes.SignedHeader)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Headers ¶
type Headers struct {
// contains filtered or unexported fields
}
func (*Headers) CheckMnt ¶
func (h *Headers) CheckMnt(header *tmtypes.SignedHeader, vals *tmtypes.ValidatorSet) error
func (*Headers) GetBtcHeader ¶
func (h *Headers) GetBtcHeader(blockHeight uint32) *wire.BlockHeader
func (*Headers) GetLastBtc ¶
func (*Headers) GetMntHeader ¶
func (h *Headers) GetMntHeader(blockHash string) *tmtypes.SignedHeader
func (*Headers) InsertMnt ¶
func (h *Headers) InsertMnt(header tmtypes.SignedHeader)
Click to show internal directories.
Click to hide internal directories.