From 9a1f804658193561f9c2f028f5331caa6855bf22 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Thu, 31 Aug 2023 12:59:44 +0300 Subject: [PATCH] extend api block structure --- data/api/apiBlock.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/data/api/apiBlock.go b/data/api/apiBlock.go index d513a02b..df84207a 100644 --- a/data/api/apiBlock.go +++ b/data/api/apiBlock.go @@ -25,6 +25,17 @@ type Block struct { Status string `json:"status,omitempty"` RandSeed string `json:"randSeed,omitempty"` PrevRandSeed string `json:"prevRandSeed,omitempty"` + PubKeyBitmap string `json:"pubKeyBitmap"` + Signature string `json:"signature,omitempty"` + LeaderSignature string `json:"leaderSignature,omitempty"` + ChainID string `json:"chainID,omitempty"` + SoftwareVersion string `json:"softwareVersion,omitempty"` + ReceiptsHash string `json:"receiptsHash,omitempty"` + Reserved []byte `json:"reserved,omitempty"` + GasProvided uint64 `json:"gasProvided"` + GasRefunded uint64 `json:"gasRefunded"` + GasPenalized uint64 `json:"gasPenalized"` + MaxGasLimit uint64 `json:"maxGasLimit"` Timestamp time.Duration `json:"timestamp,omitempty"` NotarizedBlocks []*NotarizedBlock `json:"notarizedBlocks,omitempty"` MiniBlocks []*MiniBlock `json:"miniBlocks,omitempty"`