Skip to content

Commit 2faf6af

Browse files
committed
Updated Block and Statistics
1 parent 3ebdd18 commit 2faf6af

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

tzkt/data/blocks.go

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,26 @@ import (
88

99
// Block -
1010
type Block struct {
11-
Cycle int64 `json:"cycle"`
12-
Level uint64 `json:"level"`
13-
Hash string `json:"hash"`
14-
Timestamp time.Time `json:"timestamp"`
15-
Proto int64 `json:"proto"`
16-
Priority int64 `json:"priority"`
17-
Validations int64 `json:"validations"`
18-
BlockRound uint64 `json:"blockRound"`
19-
PayloadRound uint64 `josn:"payloadRound"`
20-
Deposit int64 `json:"deposit"`
21-
Reward int64 `json:"reward"`
22-
Fees int64 `json:"fees"`
23-
Bonus int64 `json:"bonus"`
24-
LbEscapeEma int64 `json:"lbEscapeEma"`
25-
NonceRevealed bool `json:"nonceRevealed"`
26-
LbEscapeVote bool `json:"lbEscapeVote"`
27-
LbToggleEma uint64 `json:"lbToggleEma"`
28-
Baker Address `json:"baker"`
11+
Cycle int64 `json:"cycle"`
12+
Level uint64 `json:"level"`
13+
Hash string `json:"hash"`
14+
Timestamp time.Time `json:"timestamp"`
15+
Proto int64 `json:"proto"`
16+
Validations int64 `json:"validations"`
17+
BlockRound uint64 `json:"blockRound"`
18+
PayloadRound uint64 `json:"payloadRound"`
19+
Deposit int64 `json:"deposit"`
20+
RewardDelegated int64 `json:"rewardDelegated"`
21+
RewardStakedOwn int64 `json:"rewardStakedOwn"`
22+
RewardStakedEdge int64 `json:"rewardStakedEdge"`
23+
RewardStakedShared int64 `json:"rewardStakedShared"`
24+
BonusDelegated int64 `json:"bonusDelegated"`
25+
BonusStakedOwn int64 `json:"bonusStakedOwn"`
26+
BonusStakedEdge int64 `json:"bonusStakedEdge"`
27+
BonusStakedShared int64 `json:"bonusStakedShared"`
28+
Fees int64 `json:"fees"`
29+
NonceRevealed bool `json:"nonceRevealed"`
30+
LbToggleEma uint64 `json:"lbToggleEma"`
2931
}
3032

3133
// Head -

tzkt/data/general.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,5 @@ type Statistics struct {
137137
TotalBanished uint64 `json:"totalBanished"`
138138
TotalFrozen uint64 `json:"totalFrozen"`
139139
TotalRollupBonds uint64 `json:"totalRollupBonds"`
140-
TotalVested uint64 `json:"totalVested"`
141140
Quote *Quote `json:"quote,omitempty"`
142141
}

0 commit comments

Comments
 (0)