Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: reduce CPU load by reducing calls to checkQueue | Jeffrey Wilcke | 2015-06-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | * Reduced maxQueue count * Added proper deletion past maxQueue limit * Added cheap stats method to txpool queueCheck was called for **every** transaction instead of: 1. add all txs 2. check queue previously 1. add txs[i] 2. check queue 3. if i < len(txs) goto 1. | ||||
* | core/types: make transactions immutable | Felix Lange | 2015-06-30 | 1 | -65/+26 |
| | |||||
* | core, xeth: moved nonce management burden from xeth to txpool | obscuren | 2015-06-10 | 1 | -11/+27 |
| | |||||
* | core: added a test for missing nonces | obscuren | 2015-06-09 | 1 | -0/+23 |
| | | | | | This test showed the logic in the queue was slightly flawed sending out transactions to its peer it couldn't even resolve itself. | ||||
* | core: added fork test & double nonce test | obscuren | 2015-06-05 | 1 | -0/+49 |
| | |||||
* | core: renamed txs to pending | obscuren | 2015-06-04 | 1 | -8/+8 |
| | |||||
* | core: test updates | obscuren | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 1 | -10/+10 |
| | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). | ||||
* | core: compute less transaction hashes in TxPool | Felix Lange | 2015-06-04 | 1 | -10/+10 |
| | |||||
* | core: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 1 | -0/+14 |
| | |||||
* | core: remove txs from queue in addition to removal of pending | obscuren | 2015-04-30 | 1 | -0/+27 |
| | |||||
* | core, miner: added value check on tx validation | obscuren | 2015-04-26 | 1 | -2/+3 |
| | | | | | | * 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 limit | obscuren | 2015-04-24 | 1 | -1/+1 |
| | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | core: only post event once per tx & fixed test | obscuren | 2015-04-23 | 1 | -6/+6 |
| | |||||
* | core: implemented a queued approach processing transactions | obscuren | 2015-04-23 | 1 | -2/+52 |
| | | | | | | | 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 | ||||
* | Improved transaction pool | obscuren | 2015-04-09 | 1 | -67/+30 |
| | | | | | | | | | | 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 | ||||
* | Changed R S to big int and fixed tests | obscuren | 2015-04-05 | 1 | -2/+6 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | core: fix tests | Felix Lange | 2015-03-18 | 1 | -7/+5 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -3/+3 |
| | |||||
* | Validate transactions sender before adding to pool. Closes #272 | obscuren | 2015-02-01 | 1 | -0/+10 |
| | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -4/+10 |
| | |||||
* | Fixed tests | obscuren | 2015-01-06 | 1 | -3/+3 |
| | |||||
* | Removed the need of having a backend for the tx pool | obscuren | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | Added tests for valid transactions | obscuren | 2015-01-02 | 1 | -11/+10 |
| | |||||
* | Refactored tx pool and added extra fields to block | obscuren | 2015-01-02 | 1 | -0/+82 |
* 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 |