aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_processor.go
Commit message (Collapse)AuthorAgeFilesLines
* prevent deadlockobscuren2015-04-051-4/+4
|
* Improved chain manager, improved block processor, fixed testsobscuren2015-04-041-1/+1
| | | | | | * ChainManager allows cached future blocks for later processing * BlockProcessor allows a 4 second window on future blocks * Fixed tests
* Changed log to new loggingobscuren2015-04-041-4/+6
|
* Moved logging to logger.Coreobscuren2015-04-041-2/+2
|
* basic glogobscuren2015-04-041-19/+5
|
* do not include BlockEqualTS as valid unclesobscuren2015-04-031-1/+1
|
* Removed old (unused) argumentobscuren2015-04-021-2/+2
|
* Merge pull request #623 from ↵Jeffrey Wilcke2015-04-021-6/+5
|\ | | | | | | | | Gustav-Simonsson/read_protocol_values_from_common_params Read most protocol params from common/params.json
| * Read most protocol params from common/params.jsonGustav Simonsson2015-04-021-6/+5
| | | | | | | | | | | | | | | | | | * 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
* | Fixed uncle rewards in minerobscuren2015-04-021-17/+23
|/ | | | | The uncle rewards were changed in the block processor. This change will reflect those changes in the miner as well.
* Merge branch 'hexify' of https://github.com/tgerring/go-ethereum into ↵obscuren2015-04-011-3/+19
|\ | | | | | | tgerring-hexify
| * txMeta storage as structTaylor Gerring2015-04-011-17/+11
| |
| * Store and retrieve tx context metadata #608Taylor Gerring2015-04-011-3/+25
| | | | | | | | | | Improving this in the future will allow for cleaning up a bit of legacy code.
* | Blocktest fixed, Execution fixedobscuren2015-04-011-1/+5
|/ | | | | | * Added new CreateAccount method which properly overwrites previous accounts (excluding balance) * Fixed block tests (100% success)
* Correct gas limit validation according to new algorithmGustav Simonsson2015-03-301-1/+4
| | | | | | * 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.
* added tx tests and fixed block testsobscuren2015-03-261-1/+1
|
* removed legacy codeobscuren2015-03-241-1/+0
|
* Gas validation and clean up of legacy codeobscuren2015-03-241-12/+11
|
* fixed bad unclesobscuren2015-03-241-2/+2
|
* moved state and vm to coreobscuren2015-03-231-1/+1
|
* logging for possible unclesobscuren2015-03-231-13/+23
|
* mergeobscuren2015-03-191-11/+7
|\
| * fixed chain event. Closes #529obscuren2015-03-191-12/+8
| |
* | core: adapt Message for new Transaction.From signatureFelix Lange2015-03-171-1/+2
| |
* | converted chain managerobscuren2015-03-171-20/+18
|/
* Moved ethutil => commonobscuren2015-03-161-6/+6
|
* Implemented managed stateobscuren2015-03-131-4/+2
| | | | * Reimplemented nonce management for known accounts.
* Removed some of that gas pre pay magicobscuren2015-03-131-9/+8
|
* Add additional extra database for non-protocol related dataobscuren2015-03-121-2/+18
| | | | * Add transaction to extra database after a successful block process
* Improved error reporting and removed commented codeobscuren2015-03-111-11/+6
|
* Fixed error message. Closes #448obscuren2015-03-101-1/+1
|
* Miner fixes and updates (including miner)obscuren2015-03-051-5/+2
|
* uncle validationobscuren2015-03-041-22/+38
|
* Changed nonce to a uint64obscuren2015-03-041-2/+2
|
* Merge branch 'xcthulhu-publictests' into poc-9obscuren2015-03-041-3/+10
|\
| * fixed pow stuffobscuren2015-03-041-3/+2
| |
| * Merge branch 'publictests' of https://github.com/xcthulhu/go-ethereum into ↵obscuren2015-03-041-2/+10
| |\ | | | | | | | | | xcthulhu-publictests
| | * Introducing ethashMatthew Wampler-Doty2015-03-031-2/+3
| | |
| | * Only one uncleMatthew Wampler-Doty2015-03-031-0/+4
| | |
| | * Exposing stuff for ethashMatthew Wampler-Doty2015-02-281-0/+3
| | |
| | * Fixed consensus issue for refundingobscuren2015-02-271-4/+4
| | | | | | | | | | | | * Refund should _always_ go to the origin
* | | changed messageobscuren2015-03-041-1/+1
|/ /
* | GasLimit check updatedobscuren2015-03-041-6/+8
| |
* | wipobscuren2015-02-271-4/+6
|/
* Validate block header gas limitGustav Simonsson2015-02-261-1/+6
| | | | | | | | * 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.
* Added eth_logs & fixed issue with manual log filteringobscuren2015-02-221-10/+6
| | | | | | * Implemented `eth_logs` * Fixed issue with `filter.Find()` where logs were appended to an incorrect, non-returned slice resulting in no logs found
* dirty tracking for state objects fixedobscuren2015-02-201-5/+2
|
* Optimisations and fixed a couple of DDOS issues in the minerobscuren2015-02-201-11/+14
|
* Added GetBlock GetUncle with OOB guardobscuren2015-02-181-1/+5
|
* Merge branch 'develop' into minerobscuren2015-02-121-45/+14
|\
| * Documented methods & removed old manifestobscuren2015-02-121-29/+14
| |
| * moved managerobscuren2015-02-091-16/+0
| |
* | Basic structure minerobscuren2015-02-101-5/+5
| |
* | mergedobscuren2015-02-091-16/+17
|\|
| * Undone fix. Will re-enable once chain resetsobscuren2015-02-061-12/+5
| |
| * Merge pull request #290 from ↵Jeffrey Wilcke2015-02-061-6/+6
| |\ | | | | | | | | | | | | Gustav-Simonsson/correct_block_parent_timestamp_check Correct block parent timestamp check and typos
| | * Correct block parent timestamp check and typosGustav Simonsson2015-02-041-6/+6
| | |
| * | pending / chain eventobscuren2015-02-061-0/+8
| | |
* | | Merge branch 'develop' into minerobscuren2015-02-061-2/+3
|/ /
* | Filteringobscuren2015-02-051-6/+7
| |
* | WIP minerobscuren2015-02-041-37/+37
|/
* Docs & old code removedobscuren2015-02-031-1/+1
|
* reworking messages => logobscuren2015-01-281-0/+21
|
* Future blocks not allowedobscuren2015-01-221-21/+4
|
* Fixed difficultyobscuren2015-01-181-2/+1
| | | | Difficulty was broken when refactored.
* Fixed consensus issueobscuren2015-01-131-1/+1
|
* Moved the TD method from block processor.obscuren2015-01-101-39/+15
|
* Cast to string for hashable typeobscuren2015-01-101-1/+1
|
* mem fixes for vm. Changed uncle inclusion testsobscuren2015-01-101-14/+20
|
* Refactored ethutil.Config.Db outobscuren2015-01-071-3/+7
|
* Adjusted difficulty and skip get tx messagesobscuren2015-01-061-0/+1
|
* Limit block extra to 1024obscuren2015-01-061-0/+4
|
* BlockManager => BlockProcessorobscuren2015-01-051-2/+2
|
* BlockManager => BlockProcessorobscuren2015-01-051-0/+359