1
0
Fork 0
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:
Henrik Hautakoski 2022-11-29 15:04:29 +01:00
parent 3ecf4c7c42
commit 3694bc1c42

View file

@ -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"`