Versions in this module Expand all Collapse all v1 v1.1.21 Jul 5, 2021 Changes in this version + func ConvertWalletTxDetailToJSON(in *types.WalletTxDetails, out *WalletTxDetails) error + type Account struct + Addr string + Balance int64 + Currency int32 + Frozen int64 + type AllExecBalance struct + Addr string + ExecAccount []*ExecAccount + type Asset struct + Amount int64 + Exec string + Symbol string + type Block struct + BlockTime int64 + Difficulty uint32 + Height int64 + MainHash string + MainHeight int64 + ParentHash string + Signature *Signature + StateHash string + TxHash string + Txs []*Transaction + Version int64 + type BlockDetail struct + Block *Block + Receipts []*ReceiptDataResult + type BlockDetails struct + Items []*BlockDetail + type BlockInfo struct + Hash string + Height int64 + type BlockOverview struct + Head *Header + TxCount int64 + TxHashes []string + type BlockParam struct + End int64 + Isdetail bool + Start int64 + type BlockSeq struct + Detail *BlockDetail + Num int64 + Seq *BlockSequence + type BlockSequence struct + Hash string + Type int64 + type ChainExecutor struct + Driver string + FuncName string + Payload json.RawMessage + StateHash string + type ChannelClient struct + func (c *ChannelClient) GetCoinsAccountDB() *account.DB + func (c *ChannelClient) Init(name string, s RPCServer, jrpc, grpc interface{}) + type CreateTx struct + Amount int64 + ExecName string + Execer string + Fee int64 + IsToken bool + IsWithdraw bool + Note string + To string + TokenSymbol string + type CreateTxIn struct + ActionName string + Execer string + Payload json.RawMessage + type ExecAccount struct + Account *Account + Execer string + type ExecNameParm struct + ExecName string + type Header struct + BlockTime int64 + Difficulty uint32 + Hash string + Height int64 + ParentHash string + Signature *Signature + StateHash string + TxCount int64 + TxHash string + Version int64 + type Headers struct + Items []*Header + type NodeNetinfo struct + Externaladdr string + Inbounds int32 + Localaddr string + Outbounds int32 + Peerstore int32 + Ratein string + Rateout string + Ratetotal string + Routingtable int32 + Service bool + type ParaTxDetail struct + ChildHash string + Header *Header + Index uint32 + Proofs []string + TxDetails []*TxDetail + Type int64 + type ParaTxDetails struct + Items []*ParaTxDetail + type Peer struct + Addr string + Header *Header + LocalDBVersion string + MempoolSize int32 + Name string + Port int32 + Self bool + StoreDBVersion string + Version string + type PeerList struct + Peers []*Peer + type Query4Jrpc struct + Execer string + FuncName string + Payload json.RawMessage + type QueryParm struct + Hash string + type RPCServer interface + GRPC func() *grpc.Server + GetQueueClient func() queue.Client + JRPC func() *rpc.Server + type RawParm struct + Data string + Token string + type ReWriteRawTx struct + Expire string + Fee int64 + Index int32 + To string + Tx string + type ReceiptData struct + Logs []*ReceiptLog + Ty int32 + type ReceiptDataResult struct + Logs []*ReceiptLogResult + Ty int32 + TyName string + func DecodeLog(execer []byte, rlog *ReceiptData) (*ReceiptDataResult, error) + type ReceiptLog struct + Log string + Ty int32 + type ReceiptLogResult struct + Log json.RawMessage + RawLog string + Ty int32 + TyName string + type Reply struct + IsOk bool + Msg string + type ReplyBlkSeq struct + Hash string + Type int64 + type ReplyBlkSeqs struct + BlkSeqInfos []*ReplyBlkSeq + type ReplyCacheTxList struct + Txs []*Transaction + type ReplyHash struct + Hash string + type ReplyHashes struct + Hashes []string + type ReplyHeightByTitle struct + Items []*BlockInfo + Title string + type ReplyProperFee struct + ProperFee int64 + type ReplyTxInfo struct + Assets []*Asset + Hash string + Height int64 + Index int64 + type ReplyTxInfos struct + TxInfos []*ReplyTxInfo + type ReplyTxList struct + Txs []*Transaction + type ReqAddr struct + Addr string + type ReqHashes struct + DisableDetail bool + Hashes []string + type ReqWalletTransactionList struct + Count int32 + Direction int32 + FromTx string + type Signature struct + Pubkey string + Signature string + Ty int32 + type SignedTx struct + Pubkey string + Sign string + Ty int32 + Unsign string + type TimeStatus struct + Diff int64 + LocalTime string + NtpTime string + type TransParm struct + Execer string + Fee int64 + Payload string + Signature *Signature + type Transaction struct + Amount int64 + AmountFmt string + ChainID int32 + Execer string + Expire int64 + Fee int64 + FeeFmt string + From string + GroupCount int32 + Hash string + Header string + Next string + Nonce int64 + Payload json.RawMessage + RawPayload string + Signature *Signature + To string + func DecodeTx(tx *types.Transaction) (*Transaction, error) + type TransactionDetail struct + ActionName string + Amount int64 + Assets []*Asset + Blocktime int64 + Fromaddr string + FullHash string + Height int64 + Index int64 + Proofs []string + Receipt *ReceiptDataResult + Tx *Transaction + TxProofs []*TxProof + type TransactionDetails struct + Txs []*TransactionDetail + type TxDetail struct + Index uint32 + Proofs []string + Receipt *ReceiptData + Tx *Transaction + type TxProof struct + Index uint32 + Proofs []string + RootHash string + type WalletAccount struct + Acc *Account + Label string + type WalletAccounts struct + Wallets []*WalletAccount + type WalletStatus struct + IsAutoMining bool + IsHasSeed bool + IsTicketLock bool + IsWalletLock bool + type WalletTxDetail struct + ActionName string + Amount int64 + BlockTime int64 + FromAddr string + Height int64 + Index int64 + Receipt *ReceiptDataResult + Tx *Transaction + TxHash string + type WalletTxDetails struct + TxDetails []*WalletTxDetail