mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-22 10:03:41 +02:00
Move ship_processor.go and types.go into app package.
This commit is contained in:
parent
a9c512d0b0
commit
0027a80af0
3 changed files with 26 additions and 12 deletions
20
types.go
20
types.go
|
|
@ -1,20 +0,0 @@
|
|||
package main
|
||||
|
||||
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