Improved transaction pool
The transaction pool will now some easily be able to pre determine the validity of a transaction by checking the following: * Account existst * gas limit higher than the instrinsic gas * enough funds to pay upfront costs * nonce check
Showing
- core/chain_makers.go 7 additions, 6 deletionscore/chain_makers.go
- core/chain_manager_test.go 2 additions, 2 deletionscore/chain_manager_test.go
- core/state/statedb.go 4 additions, 8 deletionscore/state/statedb.go
- core/state_transition.go 15 additions, 16 deletionscore/state_transition.go
- core/transaction_pool.go 45 additions, 42 deletionscore/transaction_pool.go
- core/transaction_pool_test.go 30 additions, 67 deletionscore/transaction_pool_test.go
- eth/backend.go 1 addition, 1 deletioneth/backend.go
- miner/worker.go 1 addition, 1 deletionminer/worker.go
Loading
Please register or sign in to comment