txpool

package
v0.0.0-...-ac76756 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxPoolAdd

type TxPoolAdd struct {
	helper.Base
	Formatter *helper.FormatterFlag
	GRPC      *helper.GRPCFlag
}

TxPoolAdd is the command to query the snapshot

func (*TxPoolAdd) DefineFlags

func (p *TxPoolAdd) DefineFlags()

DefineFlags defines the command flags

func (*TxPoolAdd) GetBaseCommand

func (p *TxPoolAdd) GetBaseCommand() string

func (*TxPoolAdd) GetHelperText

func (p *TxPoolAdd) GetHelperText() string

GetHelperText returns a simple description of the command

func (*TxPoolAdd) Help

func (p *TxPoolAdd) Help() string

Help implements the cli.TxPoolAdd interface

func (*TxPoolAdd) Run

func (p *TxPoolAdd) Run(args []string) int

Run implements the cli.TxPoolAdd interface

func (*TxPoolAdd) Synopsis

func (p *TxPoolAdd) Synopsis() string

Synopsis implements the cli.TxPoolAdd interface

type TxPoolAddResult

type TxPoolAddResult struct {
	Hash     string `json:"hash"`
	From     string `json:"from"`
	To       string `json:"to"`
	Value    string `json:"value"`
	GasPrice string `json:"gas_price"`
	GasLimit uint64 `json:"gas_limit"`
}

func (*TxPoolAddResult) Output

func (r *TxPoolAddResult) Output() string

type TxPoolCommand

type TxPoolCommand struct {
}

TxPoolCommand is the top level pvbft cmd

func (*TxPoolCommand) GetBaseCommand

func (c *TxPoolCommand) GetBaseCommand() string

func (*TxPoolCommand) Help

func (c *TxPoolCommand) Help() string

Help implements the cli.Command interface

func (*TxPoolCommand) Run

func (c *TxPoolCommand) Run(args []string) int

Run implements the cli.Command interface

func (*TxPoolCommand) Synopsis

func (c *TxPoolCommand) Synopsis() string

Synopsis implements the cli.Command interface

type TxPoolEventResult

type TxPoolEventResult struct {
	EventType txpoolProto.EventType `json:"eventType"`
	TxHash    string                `json:"txHash"`
}

func (*TxPoolEventResult) Output

func (r *TxPoolEventResult) Output() string

type TxPoolStatus

type TxPoolStatus struct {
	helper.Base
	Formatter *helper.FormatterFlag
	GRPC      *helper.GRPCFlag
}

TxPoolStatus is the command to query the snapshot

func (*TxPoolStatus) DefineFlags

func (p *TxPoolStatus) DefineFlags()

DefineFlags defines the command flags

func (*TxPoolStatus) GetBaseCommand

func (p *TxPoolStatus) GetBaseCommand() string

func (*TxPoolStatus) GetHelperText

func (p *TxPoolStatus) GetHelperText() string

GetHelperText returns a simple description of the command

func (*TxPoolStatus) Help

func (p *TxPoolStatus) Help() string

Help implements the cli.TxPoolStatus interface

func (*TxPoolStatus) Run

func (p *TxPoolStatus) Run(args []string) int

Run implements the cli.TxPoolStatus interface

func (*TxPoolStatus) Synopsis

func (p *TxPoolStatus) Synopsis() string

Synopsis implements the cli.TxPoolStatus interface

type TxPoolStatusResult

type TxPoolStatusResult struct {
	Txs uint64 `json:"txs"`
}

func (*TxPoolStatusResult) Output

func (r *TxPoolStatusResult) Output() string

type TxPoolSubscribeCommand

type TxPoolSubscribeCommand struct {
	helper.Base
	Formatter *helper.FormatterFlag
	GRPC      *helper.GRPCFlag
}

TxPoolSubscribeCommand is the command to monitor to the txpool events

func (*TxPoolSubscribeCommand) DefineFlags

func (t *TxPoolSubscribeCommand) DefineFlags()

DefineFlags defines the command flags

func (*TxPoolSubscribeCommand) GetBaseCommand

func (t *TxPoolSubscribeCommand) GetBaseCommand() string

func (*TxPoolSubscribeCommand) GetHelperText

func (t *TxPoolSubscribeCommand) GetHelperText() string

GetHelperText returns a simple description of the command

func (*TxPoolSubscribeCommand) Help

func (t *TxPoolSubscribeCommand) Help() string

Help implements the cli.Command interface

func (*TxPoolSubscribeCommand) Run

func (t *TxPoolSubscribeCommand) Run(args []string) int

Run implements the cli.Command interface

func (*TxPoolSubscribeCommand) Synopsis

func (t *TxPoolSubscribeCommand) Synopsis() string

Synopsis implements the cli.Command interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL