Merge pull request #442 from hermeznetwork/feature/new-metrics-tests

Added new metrics tests
This commit is contained in:
a_bennassar
2021-01-04 10:23:17 +01:00
committed by GitHub
4 changed files with 175 additions and 8 deletions

View File

@@ -318,6 +318,8 @@ type MetricsTotals struct {
FirstBatchNum common.BatchNum `meddler:"batch_num"`
TotalBatches int64 `meddler:"total_batches"`
TotalFeesUSD float64 `meddler:"total_fees"`
MinTimestamp time.Time `meddler:"min_timestamp,utctime"`
MaxTimestamp time.Time `meddler:"max_timestamp,utctime"`
}
// BidAPI is a representation of a bid with additional information