Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsAccount ¶
type EsAccount struct { Id int64 `json:"id" xorm:"autoincr"` BlockChainId int64 `json:"blockChainId"` NickName string `json:"nickName"` Address string `json:"address"` PubKey string `json:"pubKey"` Balance int `json:"balance"` SpentTxCount int `json:"spentTxCount"` ReceivedTxCount int `json:"receivedTxCount"` GmtCreated time.Time `json:"gmtCreated"` GmtModified time.Time `json:"gmtModified"` }
type EsBlock ¶
type EsBlock struct { Id int64 `json:"id" xorm:"autoincr"` BlockChainId int64 `json:"blockChainId"` BlockHash string `json:"blockHash"` BlockHeight int `json:"blockHeight"` BlockHeader string `json:"blockHeader"` TxCount int `json:"txCount"` TxFee int `json:"txFee"` GmtGenerated time.Time `json:"gmtGenerated"` GmtCreated time.Time `json:"gmtCreated"` GmtModified time.Time `json:"gmtModified"` }
type EsBlockChain ¶
type EsBlockChain struct { Id int64 `json:"id" xorm:"autoincr"` Name string `json:"name"` NetType string `json:"netType"` GenesisHash string `json:"genesisHash"` BestHeight int `json:"bestHeight"` Tip string `json:"tip"` TxCount int `json:"txCount"` SyncCount int `json:"syncCount"` AccountCount int `json:"accountCount"` PeersInfo string `json:"peersInfo"` DaemonAddr string `json:"daemonAddr"` GmtCreated time.Time `json:"gmtCreated"` GmtModified time.Time `json:"gmtModified"` }
type EsTransAccountRel ¶
type EsTransAccountRel struct { Id int64 `json:"id" xorm:"autoincr"` BlockChainId int64 `json:"blockChainId"` BlockId int64 `json:"blockId"` TxId int64 `json:"txId"` BlockHash string `json:"blockHash"` TxHash string `json:"txHash"` SenderId int64 `json:"senderid"` SenderAddress string `json:"senderAddress"` ReceiverId int64 `json:"receiverId"` ReceiverAddress string `json:"receiverAddress"` // relate TransType Type int `json:"type"` Value int `json:"value"` GmtCreated time.Time `json:"gmtCreated"` GmtModified time.Time `json:"gmtModified"` }
type EsTransaction ¶
type EsTransaction struct { Id int64 `json:"id" xorm:"autoincr"` BlockChainId int64 `json:"blockChainId"` BlockId int64 `json:"blockId"` BlockHash string `json:"blockHash"` TxHash string `json:"txHash"` BlockHeight int `json:"blockHeight"` // show a list, sender->receiver with value coin // ["sender": "a", "receiver": "b", "value": 100000, "type": "BITCOIN_P2PK", "memo": ""] Summarize string `json:"summarize"` // the Deserialize json data DeserializeData string `json:"deserializedata"` GmtCreated time.Time `json:"gmtCreated"` GmtModified time.Time `json:"gmtModified"` }
Click to show internal directories.
Click to hide internal directories.