package
0.0.0-20231224052254-3c905e5ef12b
Repository: https://github.com/assetcloud/chain.git
Documentation: pkg.go.dev

# Packages

Package types commands中结构体定义.

# Functions

AccountCmd account command.
Add add peer to blacklist.
AddPushSubscribeCmd add block sequence call back.
AssetCmd command.
AutoMineCmd set auto mining: 为了兼容现在的命令行, 这个命令就放到wallet,实际上依赖 ticket.
BlacklistCmd get all prototols netinfo.
BlockCmd block command.
BtcScriptCmd bitcoin script command.
CertCmd generate cert.
CloseCmd close the specified peer.
CoinsCmd coins command func.
CreateAssetSendToExec 通用的创建 send_exec 交易, 额外指定资产合约.
CreateAssetTransfer 通用的创建 transfer 交易, 额外指定资产合约.
CreateAssetWithdraw 通用的创建 withdraw 交易, 额外指定资产合约.
CreateEthRawTransferCmd create raw transfer tx.
CreateRawSendToExecCmd create send to exec.
CreateRawTransferCmd create raw transfer tx.
CreateRawWithdrawCmd create raw withdraw tx.
CreateTxGroupCmd create tx group.
DecodeTxCmd decode raw hex to transaction.
Del del peer from blacklist.
DialCmd dial the specified node.
DumpKeyCmd dump private key.
DumpKeysFileCmd dump file.
ExecCmd exec command.
GenSeedCmd generate seed.
GetAccountCmd get account by label.
GetAccountListCmd get accounts of the wallet.
GetAddrOverviewCmd get overview of an address.
GetAssetBalanceCmd query asset balance.
GetBalanceCmd get balance of an execer.
GetBlockByHashsCmd get Block Details By block Hashs.
GetBlockHashCmd get hash of a block.
GetBlockOverviewCmd get overview of a block.
GetBlocksCmd get blocks between start and end.
GetBlockSequencesCmd get block Sequences.
GetExecAddr 获取执行器地址.
GetExecAddrCmd get address of an execer.
GetFatalFailureCmd get FatalFailure.
GetHeadersCmd get block headers between start and end.
GetLastBlockSequenceCmd get latest Sequence.
GetLastHeaderCmd get information of latest header.
GetLastMempoolCmd get last 10 txs of mempool.
GetMempoolCmd get mempool.
GetNetInfoCmd get net info.
GetPeerInfoCmd get peers connected info.
GetProperFeeCmd get last proper fee.
GetPushSeqLastNumCmd Get Seq Call Back Last Num.
GetRawTxCmd get raw transaction hex.
GetSeedCmd get seed.
GetTimeStausCmd get time status.
ImportKeyCmd import private key.
ImportKeysFileCmd import key.
IsClockSyncCmd get ntp clock sync status.
IsSyncCmd get local db sync status.
ListPushesCmd list block sequence call back.
LockCmd lock the wallet.
MempoolCmd mempool command.
MergeBalanceCmd merge all balance to an account.
NetCmd net command.
NetProtocolsCmd get all prototols netinfo.
NewAccountCmd create an account.
NewRandAccountCmd get rand account.
NoBalanceCmd sign raw tx.
NoneCmd dapp none command.
OneStepSendCertTxCmd send cmd.
OneStepSendCmd send cmd.
PubKeyToAddrCmd get rand account.
QueryTxByAddrCmd get tx by address.
QueryTxCmd query tx by hash.
QueryTxFeeByAddrCmd get tx by address.
QueryTxsByHashesCmd get transactions by hashes.
ReWriteRawTxCmd re-write raw transaction hex.
SaveSeedCmd save seed.
SeedCmd seed command.
SendTxCmd send raw tx.
SetFeeCmd set tx fee.
SetLabelCmd set label of an account.
SetPwdCmd set password.
Show print all peers from blacklist.
SignRawTxCmd sign raw tx.
SignRawTxWithCertCmd sign raw tx.
StatCmd stat command.
SystemCmd get system config command.
TxCmd transaction command.
UnlockCmd unlock the wallet.
UserDataCmd create user data.
VersionCmd version command.
WalletCmd wallet command.
WalletListTxsCmd get wallet transactions.
WalletStatusCmd get wallet status.