obscuren
37111aa4bd
core: retry block now also parellise nonce checks
10 years ago
Felix Lange
ec7a2c3442
core: don't remove transactions after block processing
...
The transaction pool drops processed transactions on its own
during pool maintenance.
10 years ago
obscuren
770a0e7839
wip
10 years ago
Gustav Simonsson
55bf5051ad
Unsupport bruncles
10 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
10 years ago
obscuren
12650e16d3
core, miner: fixed miner time issue and removed future blocks
...
* Miner should no longer generate blocks with a time stamp less or equal
than it's parent.
* Future blocks are no longer processed and queued directly.
Closes #1118
10 years ago
Gustav Simonsson
bf5f0b1d0c
Update ValidateHeader comments
10 years ago
Gustav Simonsson
14955bd454
Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor"
...
This reverts commit be2b0501b5
.
10 years ago
obscuren
be2b0501b5
core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor
10 years ago
obscuren
b2f2806055
cmd/geth, core: Updated DB version & seedhash debug method
10 years ago
obscuren
ef8744d9fc
core: switched back to `set.Set` for uncle verification
10 years ago
zsfelfoldi
00ec4132f8
Storing tx receipts in extraDb
10 years ago
obscuren
c67424ecc8
core: parallelise nonce checking when processing blocks
...
ChainManager now uses a parallel approach to block processing where all
nonces are checked seperatly from the block processing process. This
speeds up the process by about 3 times on my i7
10 years ago
obscuren
67d44519ce
core: bugfix test 2. set => hash map
10 years ago
obscuren
54f0f82dd1
ret
10 years ago
obscuren
e323f0e831
core: tmp diagnostic logs
10 years ago
obscuren
d98a6f85fc
core: further improved uncle error messages
10 years ago
obscuren
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
10 years ago
obscuren
580bae0a86
core: improved uncle messages
10 years ago
Vitalik Buterin
bc83761996
Fixed max uncle count error message
10 years ago
obscuren
7ac24d551b
core: seperated proccing mutex and getting mutex
10 years ago
obscuren
9f32117457
core: bump database version
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
Gustav Simonsson
4e0a2c8e8c
Validate block header UncleHash against calculated hash
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
f28b2bb6ed
core: upgraded block chain version
10 years ago
obscuren
72d065d491
core: force block process & fixed chain manager test
10 years ago
obscuren
97b0c4b697
core: moved TD calculation from proc to chain
10 years ago
obscuren
1bc2d83b6f
core: improved uncle validation error message
10 years ago
Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago
obscuren
1c872ddf4b
Changed how logs are being recorded
...
Logs are now recorded per transactions instead of tossing them out after
each transaction. This should also fix an issue with
`eth_getFilterLogs` (#629 ) Also now implemented are the `transactionHash,
blockHash, transactionIndex, logIndex` on logs. Closes #654 .
10 years ago
obscuren
7a18a39351
prevent deadlock
10 years ago
obscuren
e1ed8c33bd
Improved chain manager, improved block processor, fixed tests
...
* ChainManager allows cached future blocks for later processing
* BlockProcessor allows a 4 second window on future blocks
* Fixed tests
10 years ago
obscuren
c985ce4d78
Changed log to new logging
10 years ago
obscuren
1889727144
Moved logging to logger.Core
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
f9d94c7462
do not include BlockEqualTS as valid uncles
10 years ago
obscuren
b8124ec791
Removed old (unused) argument
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
344b3556eb
Fixed uncle rewards in miner
...
The uncle rewards were changed in the block processor. This change will
reflect those changes in the miner as well.
10 years ago
Taylor Gerring
86ba7432a9
txMeta storage as struct
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
Taylor Gerring
40ea466200
Store and retrieve tx context metadata #608
...
Improving this in the future will allow for cleaning up a bit of legacy
code.
10 years ago
Gustav Simonsson
9feed3f61e
Correct gas limit validation according to new algorithm
...
* Use absolute value of (block's gas limit) - (parent's gas limit)
in comparison with diff limit.
* Ensure the diff is strictly smaller than the allowed size.
10 years ago
obscuren
505f1fbcbb
added tx tests and fixed block tests
10 years ago
obscuren
7b8a47f484
removed legacy code
10 years ago
obscuren
bfb9ed881d
Gas validation and clean up of legacy code
10 years ago
obscuren
c8e9ca0483
fixed bad uncles
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
dc3a9379f5
logging for possible uncles
10 years ago