commands

package
v0.0.0-...-3c905e5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 39 Imported by: 1

Documentation

Overview

Package commands 系统级dapp相关命令包

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 Add

func Add() *cobra.Command

Add add peer to blacklist

func AddPushSubscribeCmd

func AddPushSubscribeCmd() *cobra.Command

AddPushSubscribeCmd 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 BlacklistCmd

func BlacklistCmd() *cobra.Command

BlacklistCmd get all prototols netinfo

func BlockCmd

func BlockCmd() *cobra.Command

BlockCmd block command

func BtcScriptCmd

func BtcScriptCmd() *cobra.Command

BtcScriptCmd bitcoin script command

func CertCmd

func CertCmd() *cobra.Command

CertCmd generate cert

func CloseCmd

func CloseCmd() *cobra.Command

CloseCmd close the specified peer

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 CreateEthRawTransferCmd

func CreateEthRawTransferCmd() *cobra.Command

CreateEthRawTransferCmd create raw transfer tx

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 Del

func Del() *cobra.Command

Del del peer from blacklist

func DialCmd

func DialCmd() *cobra.Command

DialCmd dial the specified node

func DumpKeyCmd

func DumpKeyCmd() *cobra.Command

DumpKeyCmd dump private key

func DumpKeysFileCmd

func DumpKeysFileCmd() *cobra.Command

DumpKeysFileCmd dump file

func ExecCmd

func ExecCmd() *cobra.Command

ExecCmd exec command

func GenSeedCmd

func GenSeedCmd() *cobra.Command

GenSeedCmd generate seed

func GetAccountCmd

func GetAccountCmd() *cobra.Command

GetAccountCmd get account by label

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 GetPushSeqLastNumCmd

func GetPushSeqLastNumCmd() *cobra.Command

GetPushSeqLastNumCmd Get Seq Call Back Last Num

func GetRawTxCmd

func GetRawTxCmd() *cobra.Command

GetRawTxCmd get raw transaction hex

func GetSeedCmd

func GetSeedCmd() *cobra.Command

GetSeedCmd get seed

func GetTimeStausCmd

func GetTimeStausCmd() *cobra.Command

GetTimeStausCmd get time status

func ImportKeyCmd

func ImportKeyCmd() *cobra.Command

ImportKeyCmd import private key

func ImportKeysFileCmd

func ImportKeysFileCmd() *cobra.Command

ImportKeysFileCmd import 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 ListPushesCmd

func ListPushesCmd() *cobra.Command

ListPushesCmd 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 NetProtocolsCmd

func NetProtocolsCmd() *cobra.Command

NetProtocolsCmd get all prototols netinfo

func NewAccountCmd

func NewAccountCmd() *cobra.Command

NewAccountCmd create an account

func NewRandAccountCmd

func NewRandAccountCmd() *cobra.Command

NewRandAccountCmd get rand account

func NoBalanceCmd

func NoBalanceCmd() *cobra.Command

NoBalanceCmd sign raw tx

func NoneCmd

func NoneCmd() *cobra.Command

NoneCmd dapp none command

func OneStepSendCertTxCmd

func OneStepSendCertTxCmd() *cobra.Command

OneStepSendCertTxCmd send cmd

func OneStepSendCmd

func OneStepSendCmd() *cobra.Command

OneStepSendCmd send cmd

func PubKeyToAddrCmd

func PubKeyToAddrCmd() *cobra.Command

PubKeyToAddrCmd get rand account

func QueryTxByAddrCmd

func QueryTxByAddrCmd() *cobra.Command

QueryTxByAddrCmd get tx by address

func QueryTxCmd

func QueryTxCmd() *cobra.Command

QueryTxCmd query tx by hash

func QueryTxFeeByAddrCmd

func QueryTxFeeByAddrCmd() *cobra.Command

QueryTxFeeByAddrCmd get tx by address

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 Show

func Show() *cobra.Command

Show print all peers from blacklist

func SignRawTxCmd

func SignRawTxCmd() *cobra.Command

SignRawTxCmd sign raw tx

func SignRawTxWithCertCmd

func SignRawTxWithCertCmd() *cobra.Command

SignRawTxWithCertCmd sign raw tx

func StatCmd

func StatCmd() *cobra.Command

StatCmd stat command

func SystemCmd

func SystemCmd() *cobra.Command

SystemCmd get system config 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