hermez-node/common/l2tx.go
common/l2tx.goRaw
1package common
2
3import (
4 "time"
5)
6
7// L2Tx is a struct that represents an already forged L2 tx
8type L2Tx struct {
9 Tx
10 Forged time.Time // time when received by the tx pool
11 BatchNum BatchNum // Batch in which the tx was forged
12 Position int // Position among all the L1Txs in that batch
13}