Update to follow DB spec

This commit is contained in:
a_bennassar
2020-07-31 15:55:09 +02:00
parent 819b29d9ba
commit 638defd031
16 changed files with 172 additions and 107 deletions

View File

@@ -1,13 +1,7 @@
package common
import (
"time"
)
// L2Tx is a struct that represents an already forged L2 tx
type L2Tx struct {
Tx
Forged time.Time // time when received by the tx pool
BatchNum BatchNum // Batch in which the tx was forged
Position int // Position among all the L1Txs in that batch
Position int // Position among all the L1Txs in that batch
}