Felix Lange
08befff8f1
core: compute less transaction hashes in TxPool
10 years ago
Gustav Simonsson
147a699c65
Add missing err checks on From() (skip RPC for now)
10 years ago
Gustav Simonsson
32e1b104f8
Add EC signature validations before call to libsecp256k1
10 years ago
obscuren
c37389f19c
core: check negative value transactions. Closes #1109
10 years ago
obscuren
3c6c891680
core: optimise pending transaction processing
10 years ago
obscuren
dcfecebe1f
core: get transaction by hash from transaction pool
10 years ago
obscuren
92f998c7ef
core: use removeTx instead of delete
10 years ago
obscuren
88292f35db
core: remove txs from queue in addition to removal of pending
10 years ago
obscuren
145e02fc54
core, miner: added value check on tx validation
...
* 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
10 years ago
obscuren
405720b218
xeth, core, cmd/utils: Transaction can not be over block gas limit
...
Transactions will be invalidated when the tx.gas_limit > block.gas_limit
10 years ago
obscuren
7f14fbd579
core: pending txs now re-validated once every second
10 years ago
obscuren
fba40e18d9
core: added accessor for queued transactions
10 years ago
obscuren
d3be1a2719
eth: moved mined, tx events to protocol-hnd and improved tx propagation
...
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.
10 years ago
obscuren
7138404cb0
core: only post event once per tx & fixed test
10 years ago
obscuren
498b24270a
core: implemented a queued approach processing transactions
...
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
10 years ago
obscuren
093d6d5074
core: removed nonce resetting from the block processor.
...
All nonce error handling has been moved to the worker
10 years ago
obscuren
6e2f78ebdd
Default log to stderr
10 years ago
obscuren
6184781b49
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
10 years ago
obscuren
f08e9cbe42
ignore invalid txs right after being added if they prove incorrect
10 years ago
obscuren
a953f3ec97
Sync managed accounts to the network
10 years ago
obscuren
09147a50ed
Improved tx pool to ignore invalid transactions
...
Transaction pool will attempt to ignore invalid transactions it had
previously encountered.
10 years ago
Felix Lange
a59dd393e7
core: fix tests
10 years ago
Felix Lange
17c5ba2b6b
core: actually convert transaction pool
10 years ago
Felix Lange
b95387a0dc
core: convert transaction pool to common.{Address,Hash}
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Matthew Wampler-Doty
de9f79133f
Introducing ethash
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
cb382fa76b
Validate transactions sender before adding to pool. Closes #272
10 years ago
Ethan Buchman
2da367a2be
fix unchecked slice index on tx.From()
10 years ago
obscuren
60d9611c23
Fixed tests where txs weren't properly removed
10 years ago
obscuren
6abf8ef78f
Merge
10 years ago
obscuren
16f417f5af
Fixed bug where logging could crash client during tx adding
10 years ago
obscuren
d336e24dce
Removed the need of having a backend for the tx pool
10 years ago
obscuren
ae2c90cc28
Removed value check from tx validation
10 years ago
obscuren
48d2a8b8ee
Refactored tx pool and added extra fields to block
...
* 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
10 years ago
obscuren
5ad473d758
Moved methods to messages
10 years ago
obscuren
db494170dc
Created generic message (easy for testing)
10 years ago
obscuren
0dc566124a
Merge fixes
10 years ago
obscuren
49e0267fe7
Locks, refactor, tests
...
* Added additional chain tests
* Added proper mutex' on chain
* Removed ethereum dependencies
10 years ago
zelig
c2af10d256
transaction pool changes
...
- use eventer events to broadcast transactions
- CurrentTransactions -> GetTransactions
- add AddTransactions
10 years ago
obscuren
5553e5aaed
states moved to chain
10 years ago
obscuren
8dbca75d85
Skip mining on transactions that don't meet the min accepted gas price
10 years ago
obscuren
a5b27bbc10
Improved and simplified wallet functions and behaviour
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
8240550187
updated to types
10 years ago
obscuren
b4eeffa8f1
Transaction strictness
10 years ago
obscuren
6dc46d3341
Changed the way transactions are being added to the transaction pool
10 years ago
Ethan Buchman
7c24cd790d
fix panic on bad sender
10 years ago