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, client 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"` TraceDisableMemory *bool `yaml:"traceDisableMemory" default:"false"` TraceDisableStack *bool `yaml:"traceDisableStack" default:"true"` TraceDisableStorage *bool `yaml:"traceDisableStorage" default:"false"` }
func (*Config) GetTraceDisableMemory ¶ added in v0.0.12
func (*Config) GetTraceDisableStack ¶ added in v0.0.12
func (*Config) GetTraceDisableStorage ¶ added in v0.0.12
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.