comet

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CometCmd = &cobra.Command{
	Use:   "comet",
	Short: "Interact with CometBFT",
	Long:  `Interact with CometBFT`,
}

Functions

func RunGetBlockSigners

func RunGetBlockSigners(args GetBlockSignersArgs) error

func RunGetBlockSignersRange

func RunGetBlockSignersRange(args GetBlockSignersRangeArgs) error

func RunGetBlockTxs

func RunGetBlockTxs(args GetBlockTxsArgs) error

func RunGetBlockTxsRange

func RunGetBlockTxsRange(args GetBlockTxsRangeArgs) error

Types

type CometArgs

type CometArgs struct {
	*rootCmd.RootArgs
	ApiURL string
}

type GetBlockSignersArgs

type GetBlockSignersArgs struct {
	*CometArgs
	Block int64
}

type GetBlockSignersRangeArgs

type GetBlockSignersRangeArgs struct {
	*CometArgs
	FromBlock int64
	ToBlock   int64
}

type GetBlockTxsArgs

type GetBlockTxsArgs struct {
	*CometArgs
	Block int64
}

type GetBlockTxsRangeArgs

type GetBlockTxsRangeArgs struct {
	*CometArgs
	FromBlock int64
	ToBlock   int64
}

Jump to

Keyboard shortcuts

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