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
obscuren
14a2f42f37
fixed chain event. Closes #529
10 years ago
Felix Lange
27f7aa0163
core: adapt Message for new Transaction.From signature
10 years ago
obscuren
8ce6a36478
converted chain manager
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
f1fcda4f2f
Implemented managed state
...
* Reimplemented nonce management for known accounts.
10 years ago
obscuren
310ca62285
Removed some of that gas pre pay magic
10 years ago
obscuren
ef6706696c
Add additional extra database for non-protocol related data
...
* Add transaction to extra database after a successful block process
10 years ago
obscuren
477815c044
Improved error reporting and removed commented code
10 years ago
obscuren
b87442a9f7
Fixed error message. Closes #448
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
obscuren
84a4f761f3
uncle validation
10 years ago
obscuren
26de12d9bf
Changed nonce to a uint64
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
obscuren
b0aaa77f02
changed message
10 years ago
obscuren
ee0a1bec6c
GasLimit check updated
10 years ago
Matthew Wampler-Doty
de9f79133f
Introducing ethash
10 years ago
Matthew Wampler-Doty
080823bdee
Only one uncle
10 years ago
Matthew Wampler-Doty
ba1f4bbe91
Exposing stuff for ethash
10 years ago
obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
10 years ago
obscuren
37e6870f64
wip
10 years ago
Gustav Simonsson
260ab73969
Validate block header gas limit
...
* Add block header gas limit validation in ValidateBlock function,
see eq 39 and 45 in yellow paper. Before it was calculated _for_
the block instead of validated.
* Use the block header gas limit when setting the gas pool instead
of calculating the value for the block.
10 years ago
obscuren
483d96a89d
Added eth_logs & fixed issue with manual log filtering
...
* Implemented `eth_logs`
* Fixed issue with `filter.Find()` where logs were appended to an
incorrect, non-returned slice resulting in no logs found
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
655e942597
Added GetBlock GetUncle with OOB guard
10 years ago
obscuren
bde3ff16ad
merge
10 years ago
obscuren
3f6baa45a7
Documented methods & removed old manifest
10 years ago
obscuren
da2fae0e43
Basic structure miner
10 years ago
obscuren
58ba290a9f
moved manager
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
f8c1eb157d
Undone fix. Will re-enable once chain resets
10 years ago
obscuren
c64852dbcc
pending / chain event
10 years ago