mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Initial dract of the common structs
This commit is contained in:
12
common/l2tx.go
Normal file
12
common/l2tx.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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, 0 means not forged
|
||||
}
|
||||
Reference in New Issue
Block a user