Merge pull request #216 from hermeznetwork/feature/batch-total-fee

Calulate total collected batch fee and fix merkleproof api format
This commit is contained in:
Eduard S
2020-10-22 14:28:49 +02:00
committed by GitHub
6 changed files with 125 additions and 49 deletions

View File

@@ -21,6 +21,7 @@ type Batch struct {
ExitRoot Hash `meddler:"exit_root"`
ForgeL1TxsNum *int64 `meddler:"forge_l1_txs_num"` // optional, Only when the batch forges L1 txs. Identifier that corresponds to the group of L1 txs forged in the current batch.
SlotNum SlotNum `meddler:"slot_num"` // Slot in which the batch is forged
TotalFeesUSD *float64 `meddler:"total_fees_usd"`
}
// BatchNum identifies a batch