arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/api/state.go
api/state.goRaw
 1package api
 2
 3import (
 4	"github.com/hermeznetwork/hermez-node/common"
 5	"github.com/hermeznetwork/hermez-node/db/historydb"
 6)
 7
 8// Status define status of the network
 9type Status struct {
10	Network           historydb.Network        `json:"network"`
11	Metrics           historydb.Metrics        `json:"metrics"`
12	Rollup            common.RollupVariables   `json:"rollup"`
13	Auction           common.AuctionVariables  `json:"auction"`
14	WithdrawalDelayer common.WDelayerVariables `json:"withdrawalDelayer"`
15	RecommendedFee    common.RecommendedFee    `json:"recommendedFee"`
16}