Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderInfo ¶
HeaderInfo specifies the block header information in the ETH 1.0 chain.
func HeaderToHeaderInfo ¶
func HeaderToHeaderInfo(hdr *gethTypes.Header) (*HeaderInfo, error)
HeaderToHeaderInfo converts an eth1 header to a header metadata type.
func (*HeaderInfo) Copy ¶
func (h *HeaderInfo) Copy() *HeaderInfo
Copy sends out a copy of the current header info.
Click to show internal directories.
Click to hide internal directories.