commands

package
v0.0.0-...-3606b63 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Overview

Package commands 系统级dapp相关命令包

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountCmd

func AccountCmd() *cobra.Command

AccountCmd account command

func AddBlockSeqCallBackCmd

func AddBlockSeqCallBackCmd() *cobra.Command

AddBlockSeqCallBackCmd add block sequence call back

func AssetCmd

func AssetCmd() *cobra.Command

AssetCmd command

func AutoMineCmd

func AutoMineCmd() *cobra.Command

AutoMineCmd set auto mining: 为了兼容现在的命令行, 这个命令就放到wallet,实际上依赖 ticket

func BlockCmd

func BlockCmd() *cobra.Command

BlockCmd block command

func CertCmd

func CertCmd() *cobra.Command

CertCmd generate cert

func CoinsCmd

func CoinsCmd() *cobra.Command

CoinsCmd coins command func

func CreateAssetSendToExec

func CreateAssetSendToExec(cmd *cobra.Command, args []string, fromExec string)

CreateAssetSendToExec 通用的创建 send_exec 交易, 额外指定资产合约

func CreateAssetTransfer

func CreateAssetTransfer(cmd *cobra.Command, args []string, fromExec string)

CreateAssetTransfer 通用的创建 transfer 交易, 额外指定资产合约

func CreateAssetWithdraw

func CreateAssetWithdraw(cmd *cobra.Command, args []string, fromExec string)

CreateAssetWithdraw 通用的创建 withdraw 交易, 额外指定资产合约

func CreateRawSendToExecCmd

func CreateRawSendToExecCmd() *cobra.Command

CreateRawSendToExecCmd create send to exec

func CreateRawTransferCmd

func CreateRawTransferCmd() *cobra.Command

CreateRawTransferCmd create raw transfer tx

func CreateRawWithdrawCmd

func CreateRawWithdrawCmd() *cobra.Command

CreateRawWithdrawCmd create raw withdraw tx

func CreateTxGroupCmd

func CreateTxGroupCmd() *cobra.Command

CreateTxGroupCmd create tx group

func DecodeTxCmd

func DecodeTxCmd() *cobra.Command

DecodeTxCmd decode raw hex to transaction

func DumpKeyCmd

func DumpKeyCmd() *cobra.Command

DumpKeyCmd dump private key

func ExecCmd

func ExecCmd() *cobra.Command

ExecCmd exec command

func GenSeedCmd

func GenSeedCmd() *cobra.Command

GenSeedCmd generate seed

func GetAccountListCmd

func GetAccountListCmd() *cobra.Command

GetAccountListCmd get accounts of the wallet

func GetAddrOverviewCmd

func GetAddrOverviewCmd() *cobra.Command

GetAddrOverviewCmd get overview of an address

func GetAssetBalanceCmd

func GetAssetBalanceCmd() *cobra.Command

GetAssetBalanceCmd query asset balance

func GetBalanceCmd

func GetBalanceCmd() *cobra.Command

GetBalanceCmd get balance of an execer

func GetBlockByHashsCmd

func GetBlockByHashsCmd() *cobra.Command

GetBlockByHashsCmd get Block Details By block Hashs

func GetBlockHashCmd

func GetBlockHashCmd() *cobra.Command

GetBlockHashCmd get hash of a block

func GetBlockOverviewCmd

func GetBlockOverviewCmd() *cobra.Command

GetBlockOverviewCmd get overview of a block

func GetBlockSequencesCmd

func GetBlockSequencesCmd() *cobra.Command

GetBlockSequencesCmd get block Sequences

func GetBlocksCmd

func GetBlocksCmd() *cobra.Command

GetBlocksCmd get blocks between start and end

func GetExecAddr

func GetExecAddr(exec string) (string, error)

GetExecAddr 获取执行器地址

func GetExecAddrCmd

func GetExecAddrCmd() *cobra.Command

GetExecAddrCmd get address of an execer

func GetFatalFailureCmd

func GetFatalFailureCmd() *cobra.Command

GetFatalFailureCmd get FatalFailure

func GetHeadersCmd

func GetHeadersCmd() *cobra.Command

GetHeadersCmd get block headers between start and end

func GetLastBlockSequenceCmd

func GetLastBlockSequenceCmd() *cobra.Command

GetLastBlockSequenceCmd get latest Sequence

func GetLastHeaderCmd

func GetLastHeaderCmd() *cobra.Command

GetLastHeaderCmd get information of latest header

func GetLastMempoolCmd

func GetLastMempoolCmd() *cobra.Command

GetLastMempoolCmd get last 10 txs of mempool

func GetMempoolCmd

func GetMempoolCmd() *cobra.Command

GetMempoolCmd get mempool

func GetNetInfoCmd

func GetNetInfoCmd() *cobra.Command

GetNetInfoCmd get net info

func GetPeerInfoCmd

func GetPeerInfoCmd() *cobra.Command

GetPeerInfoCmd get peers connected info

func GetProperFeeCmd

func GetProperFeeCmd() *cobra.Command

GetProperFeeCmd get last proper fee

func GetRawTxCmd

func GetRawTxCmd() *cobra.Command

GetRawTxCmd get raw transaction hex

func GetSeedCmd

func GetSeedCmd() *cobra.Command

GetSeedCmd get seed

func GetSeqCallBackLastNumCmd

func GetSeqCallBackLastNumCmd() *cobra.Command

GetSeqCallBackLastNumCmd Get Seq Call Back Last Num

func GetTimeStausCmd

func GetTimeStausCmd() *cobra.Command

GetTimeStausCmd get time status

func ImportKeyCmd

func ImportKeyCmd() *cobra.Command

ImportKeyCmd import private key

func IsClockSyncCmd

func IsClockSyncCmd() *cobra.Command

IsClockSyncCmd get ntp clock sync status

func IsSyncCmd

func IsSyncCmd() *cobra.Command

IsSyncCmd get local db sync status

func ListBlockSeqCallBackCmd

func ListBlockSeqCallBackCmd() *cobra.Command

ListBlockSeqCallBackCmd list block sequence call back

func LockCmd

func LockCmd() *cobra.Command

LockCmd lock the wallet

func MempoolCmd

func MempoolCmd() *cobra.Command

MempoolCmd mempool command

func MergeBalanceCmd

func MergeBalanceCmd() *cobra.Command

MergeBalanceCmd merge all balance to an account

func NetCmd

func NetCmd() *cobra.Command

NetCmd net command

func NewAccountCmd

func NewAccountCmd() *cobra.Command

NewAccountCmd create an account

func NoBalanceCmd

func NoBalanceCmd() *cobra.Command

NoBalanceCmd sign raw tx

func OneStepSendCmd

func OneStepSendCmd() *cobra.Command

func QueryTxByAddrCmd

func QueryTxByAddrCmd() *cobra.Command

QueryTxByAddrCmd get tx by address

func QueryTxCmd

func QueryTxCmd() *cobra.Command

QueryTxCmd query tx by hash

func QueryTxsByHashesCmd

func QueryTxsByHashesCmd() *cobra.Command

QueryTxsByHashesCmd get transactions by hashes

func ReWriteRawTxCmd

func ReWriteRawTxCmd() *cobra.Command

ReWriteRawTxCmd re-write raw transaction hex

func SaveSeedCmd

func SaveSeedCmd() *cobra.Command

SaveSeedCmd save seed

func SeedCmd

func SeedCmd() *cobra.Command

SeedCmd seed command

func SendTxCmd

func SendTxCmd() *cobra.Command

SendTxCmd send raw tx

func SetFeeCmd

func SetFeeCmd() *cobra.Command

SetFeeCmd set tx fee

func SetLabelCmd

func SetLabelCmd() *cobra.Command

SetLabelCmd set label of an account

func SetPwdCmd

func SetPwdCmd() *cobra.Command

SetPwdCmd set password

func SignRawTxCmd

func SignRawTxCmd() *cobra.Command

SignRawTxCmd sign raw tx

func StatCmd

func StatCmd() *cobra.Command

StatCmd stat command

func TxCmd

func TxCmd() *cobra.Command

TxCmd transaction command

func UnlockCmd

func UnlockCmd() *cobra.Command

UnlockCmd unlock the wallet

func UserDataCmd

func UserDataCmd() *cobra.Command

UserDataCmd create user data

func VersionCmd

func VersionCmd() *cobra.Command

VersionCmd version command

func WalletCmd

func WalletCmd() *cobra.Command

WalletCmd wallet command

func WalletListTxsCmd

func WalletListTxsCmd() *cobra.Command

WalletListTxsCmd get wallet transactions

func WalletStatusCmd

func WalletStatusCmd() *cobra.Command

WalletStatusCmd get wallet status

Types

This section is empty.

Directories

Path Synopsis
Package types commands中结构体定义
Package types commands中结构体定义

Jump to

Keyboard shortcuts

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