bc

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MethodVoter     = "voter"
	MethodCandidate = "cand"
)

constants

Variables

This section is empty.

Functions

func GetBucketList

func GetBucketList(
	client ioctl.Client,
	methodName iotexapi.ReadStakingDataMethod_Name,
	readStakingDataRequest *iotexapi.ReadStakingDataRequest,
) (*iotextypes.VoteBucketList, error)

GetBucketList get bucket list

func GetChainMeta

func GetChainMeta(client ioctl.Client) (*iotextypes.ChainMeta, error)

GetChainMeta gets blockchain metadata

func GetEpochMeta

func GetEpochMeta(client ioctl.Client, epochNum uint64) (*iotexapi.GetEpochMetaResponse, error)

GetEpochMeta gets blockchain epoch meta

func GetProbationList

func GetProbationList(client ioctl.Client, epochNum uint64, epochStartHeight uint64) (*iotexapi.ReadStateResponse, error)

GetProbationList gets probation list

func JSONString

func JSONString(out interface{}) string

JSONString returns json string for message

func NewBCBlockCmd

func NewBCBlockCmd(c ioctl.Client) *cobra.Command

NewBCBlockCmd represents the bc block command

func NewBCBucketCmd

func NewBCBucketCmd(client ioctl.Client) *cobra.Command

NewBCBucketCmd represents the bc Bucket command

func NewBCBucketListCmd

func NewBCBucketListCmd(client ioctl.Client) *cobra.Command

NewBCBucketListCmd represents the bc bucketlist command

func NewBCCmd

func NewBCCmd(client ioctl.Client) *cobra.Command

NewBCCmd represents the bc(block chain) command

func NewBCInfoCmd

func NewBCInfoCmd(client ioctl.Client) *cobra.Command

NewBCInfoCmd represents the bc info command

Types

This section is empty.

Jump to

Keyboard shortcuts

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