mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
types.go: adding HearthBeat struct
This commit is contained in:
parent
3ecf4c7c42
commit
3694bc1c42
1 changed files with 6 additions and 0 deletions
6
types.go
6
types.go
|
|
@ -4,6 +4,12 @@ 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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue