mirror of
https://github.com/eosswedenorg/thalos
synced 2026-08-23 19:48:12 +02:00
move app/types.go to transport/message/types.go
This commit is contained in:
parent
0027a80af0
commit
5202247200
2 changed files with 3 additions and 3 deletions
20
transport/message/types.go
Normal file
20
transport/message/types.go
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package message
|
||||
|
||||
import (
|
||||
eos "github.com/eoscanada/eos-go"
|
||||
)
|
||||
|
||||
type HearthBeat struct {
|
||||
BlockNum uint32 `json:"blocknum"`
|
||||
HeadBlockNum uint32 `json:"head_blocknum"`
|
||||
LastIrreversibleBlockNum uint32 `json:"last_irreversible_blocknum"`
|
||||
}
|
||||
|
||||
type ActionTrace struct {
|
||||
TxID eos.Checksum256 `json:"tx_id"`
|
||||
Receiver eos.Name `json:"receiver"`
|
||||
Contract eos.AccountName `json:"contract"`
|
||||
Action eos.ActionName `json:"action"`
|
||||
Data interface{} `json:"data"`
|
||||
HexData string `json:"hex_data"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue