Documentation ¶
Index ¶
- type Chain
- func (c *Chain) GetBlock(blockHash types.Hash) (*types.SignedBlock, error)
- func (c *Chain) GetBlockHash(blockNumber uint64) (types.Hash, error)
- func (c *Chain) GetBlockHashLatest() (types.Hash, error)
- func (c *Chain) GetBlockLatest() (*types.SignedBlock, error)
- func (c *Chain) GetFinalizedHead() (types.Hash, error)
- func (c *Chain) GetHeader(blockHash types.Hash) (*types.Header, error)
- func (c *Chain) GetHeaderLatest() (*types.Header, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) GetBlockLatest ¶ added in v0.0.3
func (c *Chain) GetBlockLatest() (*types.SignedBlock, error)
func (*Chain) GetFinalizedHead ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.