aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
Commit message (Collapse)AuthorAgeFilesLines
* core: remove txs from queue in addition to removal of pendingobscuren2015-04-301-1/+22
|
* core, miner: added value check on tx validationobscuren2015-04-261-9/+9
| | | | | | * Changed CalcGasLimit to no longer need current block * Added a gas * price + value on tx validation * Transactions in the pool are now re-validated once every X
* xeth, core, cmd/utils: Transaction can not be over block gas limitobscuren2015-04-241-1/+9
| | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit
* core: pending txs now re-validated once every secondobscuren2015-04-231-3/+27
|
* core: added accessor for queued transactionsobscuren2015-04-231-0/+12
|
* eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-231-2/+4
| | | | | | | | | Transactions are now propagated to peers from which we have not yet received the transaction. This will significantly reduce the chatter on the network. Moved new mined block handler to the protocol handler and moved transaction handling to protocol handler.
* core: only post event once per tx & fixed testobscuren2015-04-231-9/+15
|
* core: implemented a queued approach processing transactionsobscuren2015-04-231-22/+70
| | | | | | | Implemented a new transaction queue. Transactions with a holes in their nonce sequence are also not propagated over the network. N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool
* core: removed nonce resetting from the block processor.obscuren2015-04-211-2/+4
| | | | All nonce error handling has been moved to the worker
* Default log to stderrobscuren2015-04-091-1/+0
|
* Improved transaction poolobscuren2015-04-091-42/+45
| | | | | | | | | | 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
* ignore invalid txs right after being added if they prove incorrectobscuren2015-04-091-0/+1
|
* Sync managed accounts to the networkobscuren2015-04-081-3/+2
|
* Improved tx pool to ignore invalid transactionsobscuren2015-04-081-8/+29
| | | | | Transaction pool will attempt to ignore invalid transactions it had previously encountered.
* core: fix testsFelix Lange2015-03-181-1/+1
|
* core: actually convert transaction poolFelix Lange2015-03-171-6/+9
|
* core: convert transaction pool to common.{Address,Hash}Felix Lange2015-03-171-33/+21
|
* Moved ethutil => commonobscuren2015-03-161-3/+3
|
* Introducing ethashMatthew Wampler-Doty2015-03-031-1/+1
|
* Merge branch 'develop' of https://github.com/ethereum/go-ethereum into developEthan Buchman2015-02-271-10/+25
|\
| * Removed exported fields from state object and added proper set/gettersobscuren2015-02-201-1/+1
| |
| * Optimisations and fixed a couple of DDOS issues in the minerobscuren2015-02-201-9/+24
| |
* | Merge branch 'develop' of https://github.com/ethereum/go-ethereum into developEthan Buchman2015-02-181-7/+13
|\|
| * Validate transactions sender before adding to pool. Closes #272obscuren2015-02-011-7/+13
| |
* | fix unchecked slice index on tx.From()Ethan Buchman2015-01-271-2/+7
|/
* Fixed tests where txs weren't properly removedobscuren2015-01-071-5/+5
|
* Mergeobscuren2015-01-061-31/+23
|
* Fixed bug where logging could crash client during tx addingobscuren2015-01-031-1/+9
|
* Removed the need of having a backend for the tx poolobscuren2015-01-021-13/+10
|
* Removed value check from tx validationobscuren2015-01-021-2/+6
|
* Refactored tx pool and added extra fields to blockobscuren2015-01-021-96/+34
| | | | | | * chain manager sets td on block + td output w/ String * added tx pool tests for removing/adding/validating * tx pool now uses a set for txs instead of list.List
* Merge branch 'badsig' of https://github.com/ebuchman/go-ethereum into ↵obscuren2014-12-191-2/+6
| | | | | | | ebuchman-badsig Conflicts: core/transaction_pool.go
* mergeobscuren2014-12-191-15/+6
|\
| * Moved methods to messagesobscuren2014-12-181-6/+0
| |
| * Created generic message (easy for testing)obscuren2014-12-181-10/+7
| |
* | Merge fixesobscuren2014-12-181-4/+2
| |
* | Merged developobscuren2014-12-181-9/+15
|\|
| * Locks, refactor, testsobscuren2014-12-181-10/+16
| | | | | | | | | | | | * Added additional chain tests * Added proper mutex' on chain * Removed ethereum dependencies
* | transaction pool changeszelig2014-12-151-10/+16
|/ | | | | | - use eventer events to broadcast transactions - CurrentTransactions -> GetTransactions - add AddTransactions
* states moved to chainobscuren2014-12-111-1/+1
|
* Skip mining on transactions that don't meet the min accepted gas priceobscuren2014-12-051-4/+4
|
* Improved and simplified wallet functions and behaviourobscuren2014-12-041-1/+1
|
* Renamed State => StateDBobscuren2014-12-041-1/+1
|
* Renamed `chain` => `core`obscuren2014-12-041-0/+236