Documentation
¶
Index ¶
- func BytesInt64(bs []byte) (x int64, err error)
- func Int64Bytes(in int64) []byte
- func Key4InChainSequence(chain string) string
- func Key4OutChainSequence(outChain string) string
- func Key4OutChainTx(outChain string, sequence int64) string
- func RegisterCassiniTypesAmino(cdc *amino.Codec)
- type CassiniEventDataTx
- type Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Key4InChainSequence ¶
Key4InChainSequence 输出队列交易序号查询接口key值组装方法
func Key4OutChainSequence ¶
Key4OutChainSequence 输出队列交易序号查询接口key值组装方法
func Key4OutChainTx ¶
Key4OutChainTx 输出队列交易查询接口key值组装方法
Types ¶
type CassiniEventDataTx ¶
type CassiniEventDataTx struct {
From string `json:"from"` //qsc name 或 qos
To string `json:"to"` //qsc name 或 qos
Height int64 `json:"height"`
Sequence int64 `json:"sequence"`
HashBytes []byte `json:"hashBytes"` //TxQcp 做 sha256
}
func (*CassiniEventDataTx) ConstructFromTags ¶
func (c *CassiniEventDataTx) ConstructFromTags(tags []common.KVPair) (err error)
type Event ¶
type Event struct {
NodeAddress string `json:"node"` //event 源地址
CassiniEventDataTx `json:"eventDataTx"` //event 事件
}
Click to show internal directories.
Click to hide internal directories.