Integrate TxSelector with StateDB

This commit is contained in:
arnaucube
2020-08-13 10:51:04 +02:00
parent b28b13d620
commit 60fa76b4d2
9 changed files with 180 additions and 224 deletions

View File

@@ -18,6 +18,7 @@ type PoolL2Tx struct {
Timestamp time.Time // time when added to the tx pool
Signature babyjub.Signature // tx signature
ToEthAddr eth.Address
AbsoluteFee float64 // TODO add methods to calculate this value from Tx.Fee tables + priceupdater tables
}
// RqTx Transaction Data used to indicate that a transaction depends on another transaction