package
0.0.0-20240715021925-d8fdf6352e54
Repository: https://github.com/openweb3/evm-tx-engine.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
anyhow will allocate gas price don't operate db here because won't save transaction to db after gas price allocating.
NOTE: never directly change the value pointer points to but provide a new pointer! wrong: *tx.a = newVal right: b := newVal; tx.a = b SetTransactionNonce is a function that sets the nonce of a transaction It takes a pointer to a gorm.DB and a pointer to a ChainTransaction as parameters It returns an error if there is one.
No description provided by the author
No description provided by the author
No description provided by the author
watch the pending transactions.
pick task and add tx transactions the task should have no related tx.
temp impl don't actually send but mark as pending.
temp impl don't actually send but mark as pending.
TODO: batch save.
poll eth latest/safe/finalized blocknumber (TODO: for each chain) Modify LatestBlock, SafeBlock, FinalizedBlock.
Update TransactionBlockNumber Update Transaction Status Update UpdatedAt if the transaction is of insufficient balance (including txstatusinternal transaction) (?) the IsStable will also be updated.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

element should be type of models.ChainTransaction do not use pointer to prevent element modification after enque.