Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core, eth, rpc: proper gas used. Closes #1417 | Jeffrey Wilcke | 2015-07-07 | 1 | -0/+1 |
| | | | | Added some additional backward compatibility code for old receipts | ||||
* | core, miner: removed vm errors from consensus err checking | Jeffrey Wilcke | 2015-07-06 | 1 | -3/+2 |
| | | | | | Removed VM errors from the consensus errors. They now used for output only. | ||||
* | Fix core error forwarding, unify OOG VM err | Gustav Simonsson | 2015-07-04 | 1 | -2/+3 |
| | |||||
* | core, miner, tests: renamed state methods | Jeffrey Wilcke | 2015-07-04 | 1 | -2/+2 |
| | | | | | | | | | | | | * Update => SyncIntermediate * Added SyncObjects SyncIntermediate only updates whatever has changed, but, as a side effect, requires much more disk space. SyncObjects will only sync whatever is required for a block and will not save intermediate state to disk. As drawback this requires more time when more txs come in. | ||||
* | core, core/state: only write necessary state. Skip intermediate | Jeffrey Wilcke | 2015-07-04 | 1 | -1/+1 |
| | |||||
* | core, eth, miner, xeth: receipt storage fix | Jeffrey Wilcke | 2015-07-04 | 1 | -19/+15 |
| | | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042 | ||||
* | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 1 | -56/+8 |
| | | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388 | ||||
* | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 1 | -8/+7 |
| | |||||
* | core, eth, rpc: avoid unnecessary block header copying | Felix Lange | 2015-06-30 | 1 | -20/+22 |
| | |||||
* | core: remove superfluous big.Int allocations | Felix Lange | 2015-06-30 | 1 | -15/+16 |
| | | | | | With blocks now being immutable, use big.Int values from accessor functions instead of copying their results. | ||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -46/+49 |
| | |||||
* | core, miner, xeth: renamed gas methods | obscuren | 2015-06-21 | 1 | -1/+1 |
| | | | | | | * BuyGas => SubGas * RefundGas => AddGas * SetGasPool => SetGasLimit | ||||
* | core: ValidatedHeader (method => function) | obscuren | 2015-06-18 | 1 | -63/+63 |
| | | | | | Changed header validation method to function in preparation of @karalabe's PR. | ||||
* | core, core/vm: state improvements and tx pool speed up | obscuren | 2015-06-17 | 1 | -8/+6 |
| | | | | Removed full tx validation during state transitions | ||||
* | core: TMP testing code | obscuren | 2015-06-17 | 1 | -15/+8 |
| | |||||
* | removed duplicate function after rebase | zsfelfoldi | 2015-06-15 | 1 | -16/+2 |
| | |||||
* | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -0/+22 |
| | |||||
* | core/vm: fixed printable characters using unicode instead | obscuren | 2015-06-12 | 1 | -4/+0 |
| | |||||
* | core: retry block now also parellise nonce checks | obscuren | 2015-06-11 | 1 | -2/+8 |
| | |||||
* | core: don't remove transactions after block processing | Felix Lange | 2015-06-04 | 1 | -4/+1 |
| | | | | | The transaction pool drops processed transactions on its own during pool maintenance. | ||||
* | wip | obscuren | 2015-06-04 | 1 | -6/+0 |
| | |||||
* | Unsupport bruncles | Gustav Simonsson | 2015-06-02 | 1 | -2/+2 |
| | |||||
* | core: fixed an issue with storing receipts | obscuren | 2015-05-28 | 1 | -25/+48 |
| | |||||
* | Merge pull request #1121 from obscuren/miner_time_fix | Jeffrey Wilcke | 2015-05-27 | 1 | -2/+1 |
|\ | | | | | Miner time fix | ||||
| * | core, miner: fixed miner time issue and removed future blocks | obscuren | 2015-05-27 | 1 | -2/+1 |
| | | | | | | | | | | | | | | * 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 | ||||
* | | Update ValidateHeader comments | Gustav Simonsson | 2015-05-27 | 1 | -4/+2 |
|/ | |||||
* | Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / ↵ | Gustav Simonsson | 2015-05-27 | 1 | -1/+1 |
| | | | | | | GasLimitBoundDivisor" This reverts commit be2b0501b5832c0b49f07cdf2db597cc34450199. | ||||
* | core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor | obscuren | 2015-05-27 | 1 | -1/+1 |
| | |||||
* | cmd/geth, core: Updated DB version & seedhash debug method | obscuren | 2015-05-27 | 1 | -1/+4 |
| | |||||
* | core: switched back to `set.Set` for uncle verification | obscuren | 2015-05-21 | 1 | -24/+14 |
| | |||||
* | Storing tx receipts in extraDb | zsfelfoldi | 2015-05-20 | 1 | -0/+16 |
| | |||||
* | Merge pull request #1022 from obscuren/parallel_nonce_checks | Jeffrey Wilcke | 2015-05-19 | 1 | -6/+8 |
|\ | | | | | Parallelise nonce checks | ||||
| * | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 1 | -6/+8 |
| | | | | | | | | | | | | 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 | ||||
* | | core: bugfix test 2. set => hash map | obscuren | 2015-05-18 | 1 | -14/+23 |
| | | |||||
* | | ret | obscuren | 2015-05-18 | 1 | -0/+1 |
| | | |||||
* | | core: tmp diagnostic logs | obscuren | 2015-05-18 | 1 | -0/+7 |
|/ | |||||
* | core: further improved uncle error messages | obscuren | 2015-05-16 | 1 | -8/+8 |
| | |||||
* | core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21 | obscuren | 2015-05-16 | 1 | -2/+0 |
| | |||||
* | core: improved uncle messages | obscuren | 2015-05-15 | 1 | -3/+3 |
| | |||||
* | Fixed max uncle count error message | Vitalik Buterin | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | core: implemented a queued approach processing transactions | obscuren | 2015-04-23 | 1 | -1/+1 |
| | | | | | | | 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 | ||||
* | Validate block header UncleHash against calculated hash | Gustav Simonsson | 2015-04-23 | 1 | -2/+9 |
| | |||||
* | core: removed nonce resetting from the block processor. | obscuren | 2015-04-21 | 1 | -2/+2 |
| | | | | All nonce error handling has been moved to the worker | ||||
* | core: upgraded block chain version | obscuren | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | core: force block process & fixed chain manager test | obscuren | 2015-04-20 | 1 | -0/+14 |
| | |||||
* | core: moved TD calculation from proc to chain | obscuren | 2015-04-20 | 1 | -7/+7 |
| | |||||
* | core: improved uncle validation error message | obscuren | 2015-04-18 | 1 | -3/+2 |
| | |||||
* | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 1 | -0/+6 |
| | |||||
* | Changed how logs are being recorded | obscuren | 2015-04-08 | 1 | -4/+7 |
| | | | | | | | 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. | ||||
* | prevent deadlock | obscuren | 2015-04-05 | 1 | -4/+4 |
| | |||||
* | Improved chain manager, improved block processor, fixed tests | obscuren | 2015-04-04 | 1 | -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 logging | obscuren | 2015-04-04 | 1 | -4/+6 |
| | |||||
* | Moved logging to logger.Core | obscuren | 2015-04-04 | 1 | -2/+2 |
| | |||||
* | basic glog | obscuren | 2015-04-04 | 1 | -19/+5 |
| | |||||
* | do not include BlockEqualTS as valid uncles | obscuren | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | Removed old (unused) argument | obscuren | 2015-04-02 | 1 | -2/+2 |
| | |||||
* | Merge pull request #623 from ↵ | Jeffrey Wilcke | 2015-04-02 | 1 | -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.json | Gustav Simonsson | 2015-04-02 | 1 | -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 miner | obscuren | 2015-04-02 | 1 | -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 ↵ | obscuren | 2015-04-01 | 1 | -3/+19 |
|\ | | | | | | | tgerring-hexify | ||||
| * | txMeta storage as struct | Taylor Gerring | 2015-04-01 | 1 | -17/+11 |
| | | |||||
| * | Store and retrieve tx context metadata #608 | Taylor Gerring | 2015-04-01 | 1 | -3/+25 |
| | | | | | | | | | | Improving this in the future will allow for cleaning up a bit of legacy code. | ||||
* | | Blocktest fixed, Execution fixed | obscuren | 2015-04-01 | 1 | -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 algorithm | Gustav Simonsson | 2015-03-30 | 1 | -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 tests | obscuren | 2015-03-26 | 1 | -1/+1 |
| | |||||
* | removed legacy code | obscuren | 2015-03-24 | 1 | -1/+0 |
| | |||||
* | Gas validation and clean up of legacy code | obscuren | 2015-03-24 | 1 | -12/+11 |
| | |||||
* | fixed bad uncles | obscuren | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | logging for possible uncles | obscuren | 2015-03-23 | 1 | -13/+23 |
| | |||||
* | merge | obscuren | 2015-03-19 | 1 | -11/+7 |
|\ | |||||
| * | fixed chain event. Closes #529 | obscuren | 2015-03-19 | 1 | -12/+8 |
| | | |||||
* | | core: adapt Message for new Transaction.From signature | Felix Lange | 2015-03-17 | 1 | -1/+2 |
| | | |||||
* | | converted chain manager | obscuren | 2015-03-17 | 1 | -20/+18 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -6/+6 |
| | |||||
* | Implemented managed state | obscuren | 2015-03-13 | 1 | -4/+2 |
| | | | | * Reimplemented nonce management for known accounts. | ||||
* | Removed some of that gas pre pay magic | obscuren | 2015-03-13 | 1 | -9/+8 |
| | |||||
* | Add additional extra database for non-protocol related data | obscuren | 2015-03-12 | 1 | -2/+18 |
| | | | | * Add transaction to extra database after a successful block process | ||||
* | Improved error reporting and removed commented code | obscuren | 2015-03-11 | 1 | -11/+6 |
| | |||||
* | Fixed error message. Closes #448 | obscuren | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -5/+2 |
| | |||||
* | uncle validation | obscuren | 2015-03-04 | 1 | -22/+38 |
| | |||||
* | Changed nonce to a uint64 | obscuren | 2015-03-04 | 1 | -2/+2 |
| | |||||
* | Merge branch 'xcthulhu-publictests' into poc-9 | obscuren | 2015-03-04 | 1 | -3/+10 |
|\ | |||||
| * | fixed pow stuff | obscuren | 2015-03-04 | 1 | -3/+2 |
| | | |||||
| * | Merge branch 'publictests' of https://github.com/xcthulhu/go-ethereum into ↵ | obscuren | 2015-03-04 | 1 | -2/+10 |
| |\ | | | | | | | | | | xcthulhu-publictests | ||||
| | * | Introducing ethash | Matthew Wampler-Doty | 2015-03-03 | 1 | -2/+3 |
| | | | |||||
| | * | Only one uncle | Matthew Wampler-Doty | 2015-03-03 | 1 | -0/+4 |
| | | | |||||
| | * | Exposing stuff for ethash | Matthew Wampler-Doty | 2015-02-28 | 1 | -0/+3 |
| | | | |||||
| | * | Fixed consensus issue for refunding | obscuren | 2015-02-27 | 1 | -4/+4 |
| | | | | | | | | | | | | * Refund should _always_ go to the origin | ||||
* | | | changed message | obscuren | 2015-03-04 | 1 | -1/+1 |
|/ / | |||||
* | | GasLimit check updated | obscuren | 2015-03-04 | 1 | -6/+8 |
| | | |||||
* | | wip | obscuren | 2015-02-27 | 1 | -4/+6 |
|/ | |||||
* | Validate block header gas limit | Gustav Simonsson | 2015-02-26 | 1 | -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 filtering | obscuren | 2015-02-22 | 1 | -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 fixed | obscuren | 2015-02-20 | 1 | -5/+2 |
| | |||||
* | Optimisations and fixed a couple of DDOS issues in the miner | obscuren | 2015-02-20 | 1 | -11/+14 |
| | |||||
* | Added GetBlock GetUncle with OOB guard | obscuren | 2015-02-18 | 1 | -1/+5 |
| | |||||
* | Merge branch 'develop' into miner | obscuren | 2015-02-12 | 1 | -45/+14 |
|\ | |||||
| * | Documented methods & removed old manifest | obscuren | 2015-02-12 | 1 | -29/+14 |
| | | |||||
| * | moved manager | obscuren | 2015-02-09 | 1 | -16/+0 |
| | | |||||
* | | Basic structure miner | obscuren | 2015-02-10 | 1 | -5/+5 |
| | | |||||
* | | merged | obscuren | 2015-02-09 | 1 | -16/+17 |
|\| | |||||
| * | Undone fix. Will re-enable once chain resets | obscuren | 2015-02-06 | 1 | -12/+5 |
| | | |||||
| * | Merge pull request #290 from ↵ | Jeffrey Wilcke | 2015-02-06 | 1 | -6/+6 |
| |\ | | | | | | | | | | | | | Gustav-Simonsson/correct_block_parent_timestamp_check Correct block parent timestamp check and typos | ||||
| | * | Correct block parent timestamp check and typos | Gustav Simonsson | 2015-02-04 | 1 | -6/+6 |
| | | | |||||
| * | | pending / chain event | obscuren | 2015-02-06 | 1 | -0/+8 |
| | | | |||||
* | | | Merge branch 'develop' into miner | obscuren | 2015-02-06 | 1 | -2/+3 |
|/ / | |||||
* | | Filtering | obscuren | 2015-02-05 | 1 | -6/+7 |
| | | |||||
* | | WIP miner | obscuren | 2015-02-04 | 1 | -37/+37 |
|/ | |||||
* | Docs & old code removed | obscuren | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | reworking messages => log | obscuren | 2015-01-28 | 1 | -0/+21 |
| | |||||
* | Future blocks not allowed | obscuren | 2015-01-22 | 1 | -21/+4 |
| | |||||
* | Fixed difficulty | obscuren | 2015-01-18 | 1 | -2/+1 |
| | | | | Difficulty was broken when refactored. | ||||
* | Fixed consensus issue | obscuren | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | Moved the TD method from block processor. | obscuren | 2015-01-10 | 1 | -39/+15 |
| | |||||
* | Cast to string for hashable type | obscuren | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | mem fixes for vm. Changed uncle inclusion tests | obscuren | 2015-01-10 | 1 | -14/+20 |
| | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -3/+7 |
| | |||||
* | Adjusted difficulty and skip get tx messages | obscuren | 2015-01-06 | 1 | -0/+1 |
| | |||||
* | Limit block extra to 1024 | obscuren | 2015-01-06 | 1 | -0/+4 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 1 | -2/+2 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 1 | -0/+359 |