diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-09 02:47:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-09 02:47:32 +0800 |
commit | 6184781b49242b8029522612ad94cd45b508abc1 (patch) | |
tree | 4e8822e2000a885018e712b9cefb2a2ac3a512ca /miner/worker.go | |
parent | a7750c929b926d164195fd4f7a7e2b4642c66173 (diff) | |
download | dexon-6184781b49242b8029522612ad94cd45b508abc1.tar.gz dexon-6184781b49242b8029522612ad94cd45b508abc1.tar.zst dexon-6184781b49242b8029522612ad94cd45b508abc1.zip |
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
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go index 25ea95347..b74b67552 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -288,7 +288,7 @@ gasLimit: tcount++ } } - self.eth.TxPool().InvalidateSet(remove) + //self.eth.TxPool().InvalidateSet(remove) var ( uncles []*types.Header |