Documentation ¶
Index ¶
- type BadBlock
- type BadBlocksResponse
- type Config
- type Node
- func (n *Node) GetBadBlocks(ctx context.Context) (*BadBlocksResponse, error)
- func (n *Node) GetRawDebugBlockTrace(ctx context.Context, hash string) (*[]byte, error)
- func (n *Node) Metadata() *services.MetadataService
- func (n *Node) OnReady(_ context.Context, callback func(ctx context.Context) error)
- func (n *Node) Start(ctx context.Context) error
- func (n *Node) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadBlock ¶
type BadBlock struct { // The hash of the block Hash string `json:"hash"` // Block is the actual bad block Block json.RawMessage `json:"block"` // RLP is the RLP encoded block RLP string `json:"rlp"` }
type BadBlocksResponse ¶
type Config ¶
type Config struct { // The address of the Execution node to connect to NodeAddress string `yaml:"nodeAddress"` }
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) GetBadBlocks ¶
func (n *Node) GetBadBlocks(ctx context.Context) (*BadBlocksResponse, error)
func (*Node) GetRawDebugBlockTrace ¶
func (*Node) Metadata ¶
func (n *Node) Metadata() *services.MetadataService
Click to show internal directories.
Click to hide internal directories.