Documentation
¶
Index ¶
- type TxPoolAdd
- type TxPoolAddResult
- type TxPoolCommand
- type TxPoolEventResult
- type TxPoolStatus
- type TxPoolStatusResult
- type TxPoolSubscribeCommand
- func (t *TxPoolSubscribeCommand) DefineFlags()
- func (t *TxPoolSubscribeCommand) GetBaseCommand() string
- func (t *TxPoolSubscribeCommand) GetHelperText() string
- func (t *TxPoolSubscribeCommand) Help() string
- func (t *TxPoolSubscribeCommand) Run(args []string) int
- func (t *TxPoolSubscribeCommand) Synopsis() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxPoolAdd ¶
TxPoolAdd is the command to query the snapshot
func (*TxPoolAdd) DefineFlags ¶
func (p *TxPoolAdd) DefineFlags()
DefineFlags defines the command flags
func (*TxPoolAdd) GetBaseCommand ¶
func (*TxPoolAdd) GetHelperText ¶
GetHelperText returns a simple description of the command
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 ¶
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