Documentation
¶
Overview ¶
Package commands 系统级dapp相关命令包
Package commands 系统级dapp相关命令包
Index ¶
- func AccountCmd() *cobra.Command
- func Add() *cobra.Command
- func AddPushSubscribeCmd() *cobra.Command
- func AssetCmd() *cobra.Command
- func AutoMineCmd() *cobra.Command
- func BlacklistCmd() *cobra.Command
- func BlockCmd() *cobra.Command
- func CertCmd() *cobra.Command
- func CloseCmd() *cobra.Command
- func CoinsCmd() *cobra.Command
- func CreateAssetSendToExec(cmd *cobra.Command, args []string, fromExec string)
- func CreateAssetTransfer(cmd *cobra.Command, args []string, fromExec string)
- func CreateAssetWithdraw(cmd *cobra.Command, args []string, fromExec string)
- func CreateRawSendToExecCmd() *cobra.Command
- func CreateRawTransferCmd() *cobra.Command
- func CreateRawWithdrawCmd() *cobra.Command
- func CreateTxGroupCmd() *cobra.Command
- func DecodeTxCmd() *cobra.Command
- func Del() *cobra.Command
- func DialCmd() *cobra.Command
- func DumpKeyCmd() *cobra.Command
- func DumpKeysFileCmd() *cobra.Command
- func ExecCmd() *cobra.Command
- func GenSeedCmd() *cobra.Command
- func GetAccountCmd() *cobra.Command
- func GetAccountListCmd() *cobra.Command
- func GetAddrOverviewCmd() *cobra.Command
- func GetAssetBalanceCmd() *cobra.Command
- func GetBalanceCmd() *cobra.Command
- func GetBlockByHashsCmd() *cobra.Command
- func GetBlockHashCmd() *cobra.Command
- func GetBlockOverviewCmd() *cobra.Command
- func GetBlockSequencesCmd() *cobra.Command
- func GetBlocksCmd() *cobra.Command
- func GetExecAddr(exec string) (string, error)
- func GetExecAddrCmd() *cobra.Command
- func GetFatalFailureCmd() *cobra.Command
- func GetHeadersCmd() *cobra.Command
- func GetLastBlockSequenceCmd() *cobra.Command
- func GetLastHeaderCmd() *cobra.Command
- func GetLastMempoolCmd() *cobra.Command
- func GetMempoolCmd() *cobra.Command
- func GetNetInfoCmd() *cobra.Command
- func GetPeerInfoCmd() *cobra.Command
- func GetProperFeeCmd() *cobra.Command
- func GetPushSeqLastNumCmd() *cobra.Command
- func GetRawTxCmd() *cobra.Command
- func GetSeedCmd() *cobra.Command
- func GetTimeStausCmd() *cobra.Command
- func ImportKeyCmd() *cobra.Command
- func ImportKeysFileCmd() *cobra.Command
- func IsClockSyncCmd() *cobra.Command
- func IsSyncCmd() *cobra.Command
- func ListPushesCmd() *cobra.Command
- func LockCmd() *cobra.Command
- func MempoolCmd() *cobra.Command
- func MergeBalanceCmd() *cobra.Command
- func NetCmd() *cobra.Command
- func NetProtocolsCmd() *cobra.Command
- func NewAccountCmd() *cobra.Command
- func NewRandAccountCmd() *cobra.Command
- func NoBalanceCmd() *cobra.Command
- func OneStepSendCertTxCmd() *cobra.Command
- func OneStepSendCmd() *cobra.Command
- func PubKeyToAddrCmd() *cobra.Command
- func QueryTxByAddrCmd() *cobra.Command
- func QueryTxCmd() *cobra.Command
- func QueryTxFeeByAddrCmd() *cobra.Command
- func QueryTxsByHashesCmd() *cobra.Command
- func ReWriteRawTxCmd() *cobra.Command
- func SaveSeedCmd() *cobra.Command
- func SeedCmd() *cobra.Command
- func SendTxCmd() *cobra.Command
- func SetFeeCmd() *cobra.Command
- func SetLabelCmd() *cobra.Command
- func SetPwdCmd() *cobra.Command
- func Show() *cobra.Command
- func SignRawTxCmd() *cobra.Command
- func SignRawTxWithCertCmd() *cobra.Command
- func StatCmd() *cobra.Command
- func SystemCmd() *cobra.Command
- func TxCmd() *cobra.Command
- func UnlockCmd() *cobra.Command
- func UserDataCmd() *cobra.Command
- func VersionCmd() *cobra.Command
- func WalletCmd() *cobra.Command
- func WalletListTxsCmd() *cobra.Command
- func WalletStatusCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPushSubscribeCmd ¶ added in v1.65.0
AddPushSubscribeCmd add block sequence call back
func AutoMineCmd ¶
AutoMineCmd set auto mining: 为了兼容现在的命令行, 这个命令就放到wallet,实际上依赖 ticket
func BlacklistCmd ¶ added in v1.65.3
BlacklistCmd get all prototols netinfo
func CreateAssetSendToExec ¶
CreateAssetSendToExec 通用的创建 send_exec 交易, 额外指定资产合约
func CreateAssetTransfer ¶
CreateAssetTransfer 通用的创建 transfer 交易, 额外指定资产合约
func CreateAssetWithdraw ¶
CreateAssetWithdraw 通用的创建 withdraw 交易, 额外指定资产合约
func CreateRawSendToExecCmd ¶
CreateRawSendToExecCmd create send to exec
func CreateRawTransferCmd ¶
CreateRawTransferCmd create raw transfer tx
func CreateRawWithdrawCmd ¶
CreateRawWithdrawCmd create raw withdraw tx
func GetAccountCmd ¶ added in v1.65.0
GetAccountCmd get account by label
func GetAccountListCmd ¶
GetAccountListCmd get accounts of the wallet
func GetAddrOverviewCmd ¶
GetAddrOverviewCmd get overview of an address
func GetAssetBalanceCmd ¶
GetAssetBalanceCmd query asset balance
func GetBlockByHashsCmd ¶
GetBlockByHashsCmd get Block Details By block Hashs
func GetBlockOverviewCmd ¶
GetBlockOverviewCmd get overview of a block
func GetBlockSequencesCmd ¶
GetBlockSequencesCmd get block Sequences
func GetBlocksCmd ¶
GetBlocksCmd get blocks between start and end
func GetFatalFailureCmd ¶
GetFatalFailureCmd get FatalFailure
func GetHeadersCmd ¶
GetHeadersCmd get block headers between start and end
func GetLastBlockSequenceCmd ¶
GetLastBlockSequenceCmd get latest Sequence
func GetLastHeaderCmd ¶
GetLastHeaderCmd get information of latest header
func GetLastMempoolCmd ¶
GetLastMempoolCmd get last 10 txs of mempool
func GetPushSeqLastNumCmd ¶ added in v1.65.0
GetPushSeqLastNumCmd Get Seq Call Back Last Num
func ListPushesCmd ¶ added in v1.65.0
ListPushesCmd list block sequence call back
func MergeBalanceCmd ¶
MergeBalanceCmd merge all balance to an account
func NetProtocolsCmd ¶ added in v1.65.0
NetProtocolsCmd get all prototols netinfo
func NewRandAccountCmd ¶ added in v1.65.3
NewRandAccountCmd get rand account
func OneStepSendCertTxCmd ¶ added in v1.65.3
OneStepSendCertTxCmd send cmd
func PubKeyToAddrCmd ¶ added in v1.65.3
PubKeyToAddrCmd get rand account
func QueryTxFeeByAddrCmd ¶ added in v1.65.3
QueryTxFeeByAddrCmd get tx by address
func QueryTxsByHashesCmd ¶
QueryTxsByHashesCmd get transactions by hashes
func ReWriteRawTxCmd ¶
ReWriteRawTxCmd re-write raw transaction hex
func SignRawTxWithCertCmd ¶ added in v1.65.3
SignRawTxWithCertCmd sign raw tx
func WalletListTxsCmd ¶
WalletListTxsCmd get wallet transactions
Types ¶
This section is empty.