Added new metrics tests

This commit is contained in:
ToniRamirezM
2020-12-30 14:06:54 +01:00
parent 88cd43efbd
commit 3e70551ac5
4 changed files with 176 additions and 8 deletions

View File

@@ -314,6 +314,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