API add get state

This commit is contained in:
laisolizq
2020-11-06 15:28:17 +01:00
parent 220fd992c5
commit cc6446e019
6 changed files with 234 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ import (
// Status define status of the network
type Status struct {
Network historydb.Network `json:"network"`
Network Network `json:"network"`
Metrics historydb.Metrics `json:"metrics"`
Rollup common.RollupVariables `json:"rollup"`
Auction common.AuctionVariables `json:"auction"`