Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: goimports -w | Felix Lange | 2015-07-07 | 1 | -2/+4 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 4 | -0/+4 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 63 | -0/+1008 |
| | |||||
* | core, eth, rpc: proper gas used. Closes #1417 | Jeffrey Wilcke | 2015-07-07 | 3 | -3/+6 |
| | | | | Added some additional backward compatibility code for old receipts | ||||
* | core, miner: removed vm errors from consensus err checking | Jeffrey Wilcke | 2015-07-06 | 4 | -5/+13 |
| | | | | | Removed VM errors from the consensus errors. They now used for output only. | ||||
* | Merge pull request #1400 from obscuren/badblock-reporting | Jeffrey Wilcke | 2015-07-06 | 2 | -0/+58 |
|\ | | | | | core, miner, tests: added test, implemented bad block reporting | ||||
| * | core, miner, tests: added test, implemented bad block reporting | Jeffrey Wilcke | 2015-07-05 | 2 | -0/+58 |
| | | |||||
* | | Merge pull request #1409 from fjl/fix-tx-hash | Jeffrey Wilcke | 2015-07-06 | 2 | -8/+16 |
|\ \ | | | | | | | core/types, xeth: separate tx hash and tx signature hash | ||||
| * | | core/types, xeth: separate tx hash and tx signature hash | Felix Lange | 2015-07-06 | 2 | -8/+16 |
| |/ | |||||
* / | Fix core error forwarding, unify OOG VM err | Gustav Simonsson | 2015-07-04 | 6 | -49/+10 |
|/ | |||||
* | core, miner, tests: renamed state methods | Jeffrey Wilcke | 2015-07-04 | 5 | -8/+10 |
| | | | | | | | | | | | | * 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 | 3 | -11/+21 |
| | |||||
* | core, eth, miner, xeth: receipt storage fix | Jeffrey Wilcke | 2015-07-04 | 5 | -37/+68 |
| | | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042 | ||||
* | Merge pull request #1389 from obscuren/txpool-issues | Jeffrey Wilcke | 2015-07-03 | 10 | -81/+92 |
|\ | | | | | core, miner: miner header validation, transaction & receipt writing | ||||
| * | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 10 | -81/+92 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | | Prevent debug value from printing on console | Taylor Gerring | 2015-07-03 | 1 | -2/+0 |
|/ | |||||
* | Merge branch 'develop' of github.com:ethereum/go-ethereum into develop | Vitalik Buterin | 2015-07-02 | 1 | -6/+0 |
|\ | |||||
| * | Merge pull request #1378 from obscuren/issue1367 | Jeffrey Wilcke | 2015-07-02 | 1 | -6/+0 |
| |\ | | | | | | | core, xeth: core.AddressFromMessage removed => crypto.CreateAddress | ||||
| | * | core, xeth: core.AddressFromMessage removed => crypto.CreateAddress | Jeffrey Wilcke | 2015-07-02 | 1 | -6/+0 |
| | | | |||||
* | | | Switched canary addresses | Vitalik Buterin | 2015-07-02 | 1 | -4/+4 |
|/ / | |||||
* / | core, cmd/geth: improved recover functionality | Jeffrey Wilcke | 2015-07-01 | 2 | -80/+104 |
|/ | | | | | `geth recover` now accepts both hashes and numbers using "#" and no longer requires the ethereum instance. | ||||
* | Merge pull request #1370 from obscuren/force-checkpoint | Jeffrey Wilcke | 2015-07-01 | 1 | -2/+10 |
|\ | | | | | core, cmd/geth: recover by number | ||||
| * | core, cmd/geth: recover by number | Jeffrey Wilcke | 2015-07-01 | 1 | -2/+10 |
| | | |||||
* | | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 8 | -15/+14 |
|/ | |||||
* | core: txpool listen for ChainHeadEvent instead of ChainEvent | Jeffrey Wilcke | 2015-06-30 | 1 | -2/+2 |
| | | | | | | | Changed the transaction pool to listen for ChainHeadEvent when resetting the state instead of ChainEvent. It makes very little sense to burst through transactions while we are catching up (e.g., have more than one block to process) | ||||
* | core: added checkpoint for last block | Jeffrey Wilcke | 2015-06-30 | 2 | -58/+42 |
| | | | | | * Add a checkpoint every X blocks * Removed queued write | ||||
* | core: reduce CPU load by reducing calls to checkQueue | Jeffrey Wilcke | 2015-06-30 | 2 | -26/+51 |
| | | | | | | | | | | | | | | | | * Reduced maxQueue count * Added proper deletion past maxQueue limit * Added cheap stats method to txpool queueCheck was called for **every** transaction instead of: 1. add all txs 2. check queue previously 1. add txs[i] 2. check queue 3. if i < len(txs) goto 1. | ||||
* | core, miner: added queued write to WriteBlock | Jeffrey Wilcke | 2015-06-30 | 1 | -15/+18 |
| | | | | | | | | This fixes an issue with the lru cache not being available when calling WriteBlock. WriteBlock previously always assumed to be called from the InsertChain where the lru cache was always created prior to calling WriteBlock. When being called from the worker this could lead in to a nil pointer exception being thrown and causing database corruption. | ||||
* | cmd/geth: decent error message if metrics are disabled | Péter Szilágyi | 2015-06-30 | 1 | -1/+0 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 1 | -1/+2 |
| | |||||
* | core: replaced BlockCache with lru.Cache | Jeffrey Wilcke | 2015-06-30 | 2 | -20/+25 |
| | |||||
* | Merge branch 'miner-broadcast' into core-optimisations-2 | Jeffrey Wilcke | 2015-06-30 | 2 | -43/+95 |
|\ | | | | | | | | | | | Conflicts: core/chain_manager.go miner/worker.go | ||||
| * | core, miner: implemented canary | Jeffrey Wilcke | 2015-06-29 | 1 | -0/+28 |
| | | |||||
| * | core, miner: added write block method & changed mining propagation | Jeffrey Wilcke | 2015-06-29 | 1 | -45/+67 |
| | | |||||
* | | core: fixed tests | Jeffrey Wilcke | 2015-06-30 | 3 | -2/+2 |
| | | |||||
* | | core: removed write's go routine | Jeffrey Wilcke | 2015-06-30 | 2 | -8/+3 |
| | | |||||
* | | core: renamed next to pending & fixed tests | obscuren | 2015-06-30 | 2 | -17/+14 |
| | | |||||
* | | core: reduced cache limit to 256 | obscuren | 2015-06-30 | 1 | -1/+1 |
| | | |||||
* | | core: switched to proper LRU | obscuren | 2015-06-30 | 1 | -9/+6 |
| | | |||||
* | | core: added LRU caching and added batch writing when LDB is used | obscuren | 2015-06-30 | 1 | -21/+81 |
| | | |||||
* | | core, eth, rpc: avoid unnecessary block header copying | Felix Lange | 2015-06-30 | 3 | -25/+27 |
| | | |||||
* | | core: remove superfluous big.Int allocations | Felix Lange | 2015-06-30 | 3 | -61/+32 |
| | | | | | | | | | | With blocks now being immutable, use big.Int values from accessor functions instead of copying their results. | ||||
* | | core: generate benchmark keys only once | Felix Lange | 2015-06-30 | 1 | -9/+23 |
| | | |||||
* | | core: avoid duplicate calls to Transaction.Data | Felix Lange | 2015-06-30 | 1 | -3/+3 |
| | | |||||
* | | core: optimize IntrinsicGas | Felix Lange | 2015-06-30 | 1 | -5/+12 |
| | | |||||
* | | core/types: cache computed block values | Felix Lange | 2015-06-30 | 1 | -3/+22 |
| | | |||||
* | | core/types: cache computed transaction values | Felix Lange | 2015-06-30 | 1 | -5/+28 |
| | | |||||
* | | core: add InsertChain benchmarks | Felix Lange | 2015-06-30 | 1 | -0/+149 |
| | | |||||
* | | core: add GenerateChain, GenesisBlockForTesting | Felix Lange | 2015-06-30 | 5 | -80/+230 |
| | | |||||
* | | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 11 | -459/+343 |
| | | |||||
* | | core/types: make transactions immutable | Felix Lange | 2015-06-30 | 5 | -230/+177 |
|/ | |||||
* | core, eth, eth/fetcher, ethdb: polish metrics gathering a bit | Péter Szilágyi | 2015-06-24 | 1 | -14/+0 |
| | |||||
* | core, ethdb: instrument the block and state db | Péter Szilágyi | 2015-06-24 | 1 | -1/+14 |
| | | | | | Conflicts: ethdb/database.go | ||||
* | cmd/geth, core: impl. percentile reporting, instrument insertions | Péter Szilágyi | 2015-06-24 | 1 | -1/+4 |
| | |||||
* | removed old rpc structure and added new inproc api client | Bas van Kervel | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1304 from obscuren/state-renames | Jeffrey Wilcke | 2015-06-22 | 4 | -31/+7 |
|\ | | | | | core, miner, xeth: renamed gas methods | ||||
| * | core, miner, xeth: renamed gas methods | obscuren | 2015-06-21 | 4 | -31/+7 |
| | | | | | | | | | | | | * BuyGas => SubGas * RefundGas => AddGas * SetGasPool => SetGasLimit | ||||
* | | core, ethdb, trie: validate database errors | obscuren | 2015-06-21 | 1 | -3/+13 |
|/ | |||||
* | core/vm: clarified SSTORE | obscuren | 2015-06-18 | 1 | -7/+5 |
| | |||||
* | core: ValidatedHeader (method => function) | obscuren | 2015-06-18 | 2 | -66/+68 |
| | | | | | 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 | 3 | -32/+25 |
| | | | | Removed full tx validation during state transitions | ||||
* | core: TMP testing code | obscuren | 2015-06-17 | 2 | -21/+23 |
| | |||||
* | core/state: removed trie copy | obscuren | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | core/state: removed state from state object | obscuren | 2015-06-17 | 3 | -31/+20 |
| | |||||
* | core/state: fixed state tests | obscuren | 2015-06-17 | 1 | -13/+10 |
| | |||||
* | core/state: remove the need for common.Value | obscuren | 2015-06-17 | 1 | -2/+4 |
| | |||||
* | core/state, core/vm: reworked storage get / set to use common.Hash | obscuren | 2015-06-17 | 3 | -36/+36 |
| | |||||
* | core/state, core/vm: cleanup refunds | obscuren | 2015-06-17 | 3 | -21/+13 |
| | |||||
* | Merge pull request #1260 from obscuren/tx-drop-low-tx | Jeffrey Wilcke | 2015-06-16 | 2 | -14/+32 |
|\ | | | | | core: drop low gas tx | ||||
| * | core: moved check for max queue to checkQueue | obscuren | 2015-06-15 | 2 | -26/+12 |
| | | | | | | | | | | Moved the queue to check to the checkQueue method so no undeeded loops need to be initiated or sorting needs to happen twice. | ||||
| * | core: reduce max allowed queued txs per address | obscuren | 2015-06-15 | 1 | -0/+19 |
| | | | | | | | | | | Transactions in the queue are now capped to a maximum of 200 transactions. This number is completely arbitrary. | ||||
| * | core, miner: tx pool drops txs below ask price | obscuren | 2015-06-15 | 1 | -3/+16 |
| | | |||||
* | | removed duplicate function after rebase | zsfelfoldi | 2015-06-15 | 1 | -16/+2 |
| | | |||||
* | | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -0/+22 |
|/ | |||||
* | Merge pull request #1255 from obscuren/chain-proc-interupt | Jeffrey Wilcke | 2015-06-12 | 1 | -1/+10 |
|\ | | | | | eth, core: interrupt the chain processing on stop | ||||
| * | core: changed interrupt strategy | obscuren | 2015-06-12 | 1 | -102/+101 |
| | | | | | | | | | | | | Removed chain manager's select/channel approach when checking for interrupts. Now using an atomic int32 instead which checked for every block processed. | ||||
| * | eth, core: interupt the chain processing on stop | obscuren | 2015-06-12 | 1 | -94/+104 |
| | | | | | | | | | | Added an additional channel which is used to interupt the chain manager when it's processing blocks. | ||||
* | | core/vm: Improved error reporting for trace logging | obscuren | 2015-06-12 | 4 | -46/+45 |
| | | |||||
* | | core/vm: fixed printable characters using unicode instead | obscuren | 2015-06-12 | 2 | -6/+2 |
|/ | |||||
* | Merge pull request #1228 from obscuren/vm-optimisations | Jeffrey Wilcke | 2015-06-11 | 12 | -154/+174 |
|\ | | | | | core/vm: optimisations | ||||
| * | core: retry block now also parellise nonce checks | obscuren | 2015-06-11 | 1 | -2/+8 |
| | | |||||
| * | core/vm: added a comment regarding the uint64 vs *big.Int | obscuren | 2015-06-11 | 1 | -1/+3 |
| | | |||||
| * | core/vm: reverse loop stack | obscuren | 2015-06-11 | 1 | -2/+3 |
| | | |||||
| * | core/vm: fixed a bug where `Data` ignored the stack ptr | obscuren | 2015-06-11 | 1 | -1/+1 |
| | | |||||
| * | core, core/vm: moved logger and added gas cost to struct logging | obscuren | 2015-06-11 | 4 | -10/+10 |
| | | |||||
| * | core/vm: unexported stack again. No longer required | obscuren | 2015-06-10 | 3 | -16/+16 |
| | | |||||
| * | core/vm: documentation and name changes | obscuren | 2015-06-10 | 2 | -18/+34 |
| | | |||||
| * | core: log tx count for each set of blocks we're importing | obscuren | 2015-06-10 | 1 | -1/+4 |
| | | |||||
| * | core/vm, core/state: added storage to structured vm logging | obscuren | 2015-06-10 | 4 | -9/+39 |
| | | |||||
| * | core, core/vm: added structure logging | obscuren | 2015-06-10 | 8 | -147/+95 |
| | | | | | | | | This also reduces the time required spend in the VM | ||||
| * | core/vm: added structured logging | obscuren | 2015-06-10 | 2 | -8/+22 |
| | | |||||
| * | core/vm: changed program counter to uint64 | obscuren | 2015-06-10 | 2 | -13/+13 |
| | | |||||
* | | core: fixed race condition for subscriptions | obscuren | 2015-06-10 | 1 | -2/+1 |
| | | |||||
* | | core: fixed test | obscuren | 2015-06-10 | 1 | -4/+1 |
| | | |||||
* | | core: fixed race condition in the transaction pool | obscuren | 2015-06-10 | 1 | -30/+30 |
|/ | | | | Removed `Stop/Start` mechanism from the transaction pool. | ||||
* | core, xeth: moved nonce management burden from xeth to txpool | obscuren | 2015-06-10 | 3 | -22/+43 |
| | |||||
* | core: fix a race condition accessing the gas limit | Péter Szilágyi | 2015-06-10 | 1 | -3/+5 |
| | |||||
* | core: fix a lock annoyance and potential deadlock | Péter Szilágyi | 2015-06-10 | 1 | -4/+9 |
| | |||||
* | core, eth: document that result of GetTransactions is modifiable | Felix Lange | 2015-06-09 | 1 | -0/+1 |
| | |||||
* | core/types: add Transaction.Size | Felix Lange | 2015-06-09 | 1 | -0/+7 |
| | |||||
* | Merge pull request #1219 from Gustav-Simonsson/precompiled_ec_recover_padding | Jeffrey Wilcke | 2015-06-09 | 1 | -8/+12 |
|\ | | | | | Precompiled ec recover padding | ||||
| * | Remove unneeded if check on EC recover padding | Gustav Simonsson | 2015-06-09 | 1 | -3/+1 |
| | | |||||
| * | Pad precompiled EC recover input and add validations | Gustav Simonsson | 2015-06-09 | 1 | -8/+14 |
| | | |||||
* | | Merge pull request #1216 from karalabe/fix-eth-dataraces | Jeffrey Wilcke | 2015-06-09 | 1 | -9/+8 |
|\ \ | |/ |/| | Fix various data races in eth and core | ||||
| * | core: fix up a deadlock caused by double locking | Péter Szilágyi | 2015-06-09 | 1 | -8/+5 |
| | | |||||
| * | core: fix data race accessing ChainManager.currentBlock | Péter Szilágyi | 2015-06-09 | 1 | -1/+4 |
| | | |||||
| * | core: fix data race in accessing ChainManager.td | Péter Szilágyi | 2015-06-09 | 1 | -9/+8 |
| | | |||||
* | | core: skip genesis block for reprocess. Closes #1202 | obscuren | 2015-06-09 | 1 | -5/+10 |
|/ | |||||
* | core: write accounts to statedb. Closes #1210 | obscuren | 2015-06-09 | 1 | -6/+7 |
| | |||||
* | Merge pull request #1193 from tgerring/hotbackup | Jeffrey Wilcke | 2015-06-09 | 1 | -3/+14 |
|\ | | | | | Improve export command | ||||
| * | Export should start with block 0 | Taylor Gerring | 2015-06-06 | 1 | -1/+1 |
| | | |||||
| * | Cleanup | Taylor Gerring | 2015-06-06 | 1 | -2/+1 |
| | | |||||
| * | Allow exporting subset of chain | Taylor Gerring | 2015-06-06 | 1 | -2/+14 |
| | | |||||
* | | core: added a test for missing nonces | obscuren | 2015-06-09 | 2 | -1/+24 |
| | | | | | | | | | | This test showed the logic in the queue was slightly flawed sending out transactions to its peer it couldn't even resolve itself. | ||||
* | | core: settable genesis nonce | obscuren | 2015-06-09 | 5 | -26/+62 |
| | | | | | | | | | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes. | ||||
* | | core: add bad block for the 'missing nonce check' fork | Felix Lange | 2015-06-08 | 1 | -0/+1 |
| | | |||||
* | | core: fix the nonce check one more time | Felix Lange | 2015-06-08 | 3 | -3/+73 |
|/ | | | | | The block nonce verification was effectively disabled by a typo. This time, there is an actual test for it. | ||||
* | wip | obscuren | 2015-06-05 | 1 | -2/+10 |
| | |||||
* | core: added fork test & double nonce test | obscuren | 2015-06-05 | 2 | -20/+75 |
| | |||||
* | crypto: return common.Address rather than raw bytes | obscuren | 2015-06-05 | 1 | -3/+3 |
| | |||||
* | core: documented changes in tx pool | obscuren | 2015-06-04 | 1 | -3/+30 |
| | |||||
* | core: only change the nonce if the account nonce is lower | obscuren | 2015-06-04 | 1 | -1/+3 |
| | |||||
* | core: renamed txs to pending | obscuren | 2015-06-04 | 2 | -24/+24 |
| | |||||
* | core: test updates | obscuren | 2015-06-04 | 2 | -2/+1 |
| | |||||
* | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 3 | -67/+62 |
| | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). | ||||
* | core: don't remove transactions after block processing | Felix Lange | 2015-06-04 | 4 | -11/+5 |
| | | | | | The transaction pool drops processed transactions on its own during pool maintenance. | ||||
* | core: update documentation comments for TxPool | Felix Lange | 2015-06-04 | 1 | -22/+25 |
| | |||||
* | core: remove unused code from TxPool | Felix Lange | 2015-06-04 | 1 | -41/+13 |
| | |||||
* | core: compute less transaction hashes in TxPool | Felix Lange | 2015-06-04 | 2 | -82/+82 |
| | |||||
* | wip | obscuren | 2015-06-04 | 2 | -8/+3 |
| | |||||
* | types: block json unmarshal method added | obscuren | 2015-06-04 | 2 | -2/+26 |
| | |||||
* | core/vm: cleanup and renames | obscuren | 2015-06-04 | 5 | -52/+0 |
| | |||||
* | Merge pull request #1167 from Gustav-Simonsson/check_ec_recover_err | Jeffrey Wilcke | 2015-06-04 | 2 | -16/+21 |
|\ | | | | | Add missing err checks on From() | ||||
| * | Add missing err checks on From() (skip RPC for now) | Gustav Simonsson | 2015-06-02 | 2 | -16/+21 |
| | | |||||
* | | Merge pull request #1151 from fjl/parallel-nonce-2 | Jeffrey Wilcke | 2015-06-04 | 1 | -67/+49 |
|\ \ | | | | | | | core: re-add parallel nonce checks | ||||
| * | | core: insert less length zero chains | Felix Lange | 2015-06-01 | 1 | -4/+5 |
| | | | | | | | | | | | | This reduces the amount of queueEvents that are sent internally. | ||||
| * | | core: re-add parallel nonce checks | Felix Lange | 2015-06-01 | 1 | -63/+44 |
| |/ | | | | | | | | | In this incancation, the processor waits until the nonce has been verified before handling the block. | ||||
* | | Merge pull request #1150 from fjl/fix-jumpdest | Jeffrey Wilcke | 2015-06-04 | 3 | -30/+49 |
|\ \ | | | | | | | core/vm: improve JUMPDEST analysis | ||||
| * | | core/vm: check for 'no code' before doing any work | Felix Lange | 2015-06-03 | 1 | -5/+5 |
| | | | |||||
| * | | core/vm: improve JUMPDEST analysis | Felix Lange | 2015-06-03 | 3 | -25/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * JUMPDEST analysis is faster because less type conversions are performed. * The map of JUMPDEST locations is now created lazily at the first JUMP. * The result of the analysis is kept around for recursive invocations through CALL/CALLCODE. Fixes #1147 | ||||
* | | | Merge pull request #1166 from Gustav-Simonsson/add_ec_sig_validations | Jeffrey Wilcke | 2015-06-03 | 2 | -22/+15 |
|\ \ \ | | | | | | | | | Add EC signature validations before call to libsecp256k1 | ||||
| * | | | Add EC signature validations before call to libsecp256k1 | Gustav Simonsson | 2015-06-02 | 2 | -22/+15 |
| | |/ | |/| | |||||
* / | | Unsupport bruncles | Gustav Simonsson | 2015-06-02 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #1155 from karalabe/fix-chainmanager-datarace | Felix Lange | 2015-05-30 | 1 | -2/+2 |
|\ \ | |/ |/| | core: fix #1154, sort out data race accessing the future blocks | ||||
| * | core: fix #1154, sort out data race accessing the future blocks | Péter Szilágyi | 2015-05-30 | 1 | -2/+2 |
| | | |||||
* | | core: moved guards | obscuren | 2015-05-29 | 1 | -9/+8 |
| | | |||||
* | | Merge pull request #1141 from obscuren/parallelisation-issue | Jeffrey Wilcke | 2015-05-28 | 2 | -25/+58 |
|\ \ | | | | | | | Parallelisation issue | ||||
| * | | core: added bad block | obscuren | 2015-05-28 | 1 | -0/+1 |
| | | | |||||
| * | | core: log block hash during nonce error | obscuren | 2015-05-28 | 1 | -2/+2 |
| | | | |||||
| * | | core: partially removed nonce parallelisation and added merge error chk | obscuren | 2015-05-28 | 1 | -24/+56 |
| |/ | | | | | | | | | | | | | Invalid forks are now detected Current setup of parellelisation actually inserts bad blocks. This fix is tmp until a better one is found | ||||
* | | Merge pull request #1132 from obscuren/log_optimisations | Jeffrey Wilcke | 2015-05-28 | 4 | -32/+123 |
|\ \ | |/ |/| | core: log optimisations | ||||
| * | core: fixed an issue with storing receipts | obscuren | 2015-05-28 | 4 | -32/+123 |
| | | |||||
* | | core, eth/downloader: expose the bad hashes, check in downloader | Péter Szilágyi | 2015-05-28 | 3 | -10/+5 |
|/ | |||||
* | core: adjust gas calculation | obscuren | 2015-05-27 | 1 | -0/+1 |
| | |||||
* | 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: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 3 | -1/+20 |
| | |||||
* | core: prevent crash when last block fails | obscuren | 2015-05-26 | 1 | -6/+16 |
| | |||||
* | core: ban hash 38f5bb...a714bc | obscuren | 2015-05-26 | 1 | -0/+1 |
| | | | | | Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc ignored. | ||||
* | core/vm: Fork fix. Removal of appending 0 bytes in memset | obscuren | 2015-05-26 | 1 | -6/+2 |
| | |||||
* | Merge pull request #1101 from obscuren/issue-1096 | Jeffrey Wilcke | 2015-05-26 | 1 | -15/+3 |
|\ | | | | | core/vm: Cleanups & SUB output fix. Closes #1096 | ||||
| * | core/vm: Cleanups & SUB output fix. Closes #1096 | obscuren | 2015-05-26 | 1 | -15/+3 |
| | | |||||
* | | core/vm, rpc: added disasm to `ext_` RPC | obscuren | 2015-05-22 | 1 | -0/+21 |
|/ | |||||
* | Merge pull request #1062 from Gustav-Simonsson/tests_updates | Jeffrey Wilcke | 2015-05-21 | 1 | -0/+6 |
|\ | | | | | Tests updates | ||||
| * | Handle call depth exception for CREATE | Gustav Simonsson | 2015-05-18 | 1 | -0/+6 |
| | | |||||
* | | core: switched back to `set.Set` for uncle verification | obscuren | 2015-05-21 | 1 | -24/+14 |
|/ | |||||
* | Merge pull request #1043 from obscuren/test_fixes | Jeffrey Wilcke | 2015-05-20 | 2 | -1/+13 |
|\ | | | | | core/vm: optimisation on RETURN and updated tests | ||||
| * | core/vm: RETURN op code returns pointer to memory rather than copy | obscuren | 2015-05-20 | 2 | -1/+13 |
| | | |||||
* | | Storing tx receipts in extraDb | zsfelfoldi | 2015-05-20 | 1 | -0/+16 |
| | | |||||
* | | core: block cache Has method thread safe | obscuren | 2015-05-20 | 1 | -0/+3 |
|/ | |||||
* | core: skipped tests while cache disabled | obscuren | 2015-05-20 | 1 | -0/+2 |
| | |||||
* | core: disable cash tmp | obscuren | 2015-05-19 | 1 | -3/+5 |
| | |||||
* | Merge pull request #1022 from obscuren/parallel_nonce_checks | Jeffrey Wilcke | 2015-05-19 | 5 | -21/+107 |
|\ | | | | | Parallelise nonce checks | ||||
| * | core: fixed tests | obscuren | 2015-05-19 | 3 | -8/+15 |
| | | |||||
| * | core: chain manager no longer exports genesis block | obscuren | 2015-05-19 | 1 | -2/+2 |
| | | |||||
| * | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 2 | -12/+91 |
| | | | | | | | | | | | | 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: global chain insert lock | obscuren | 2015-05-17 | 1 | -44/+43 |
| | |||||
* | 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, miner: fork resolving and restart miner after sync op | obscuren | 2015-05-16 | 1 | -7/+15 |
| | | | | Fork resolving fixes #940 | ||||
* | Update StateTests and nil create return on failed code deposit | Gustav Simonsson | 2015-05-16 | 1 | -0/+1 |
| | |||||
* | eth/downloader: fixed test | obscuren | 2015-05-15 | 1 | -1/+1 |
| | |||||
* | core: fixed mining strategy | obscuren | 2015-05-15 | 2 | -10/+16 |
| | |||||
* | eth, eth/downloader, miner: use download events to check miner start | obscuren | 2015-05-15 | 2 | -2/+5 |
| | |||||
* | core: changed how head events are checked | obscuren | 2015-05-15 | 2 | -2/+4 |
| | |||||
* | core: improved uncle messages | obscuren | 2015-05-15 | 1 | -3/+3 |
| | |||||
* | core: changed log message for forks. closes #952 | obscuren | 2015-05-14 | 1 | -11/+13 |
| | |||||
* | Fixed max uncle count error message | Vitalik Buterin | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | removed redundant newlines in import block | Bas van Kervel | 2015-05-12 | 1 | -2/+1 |
| | |||||
* | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 1 | -2/+3 |
| | |||||
* | core: optimise pending transaction processing | obscuren | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | core, eth, miner: improved tx removal & fatal error on db sync err | obscuren | 2015-05-11 | 2 | -1/+7 |
| | | | | | | | | * core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903 | ||||
* | Merge pull request #833 from ethersphere/frontier/solidity | Jeffrey Wilcke | 2015-05-08 | 2 | -3/+5 |
|\ | | | | | solidity compiler and contract metadocs integration | ||||
| * | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions | ||||
* | | core: get transaction by hash from transaction pool | obscuren | 2015-05-08 | 1 | -0/+21 |
| | | |||||
* | | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 1 | -3/+3 |
|/ | |||||
* | Add genesis block total difficulty in tests | Gustav Simonsson | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | Merge pull request #861 from obscuren/transaction_pool_fixes | Jeffrey Wilcke | 2015-05-07 | 1 | -1/+1 |
|\ | | | | | core: transaction pool fixes & resending transactions | ||||
| * | core: use removeTx instead of delete | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 1 | -2/+2 |
|/ | |||||
* | core: added unix timestamp to debug output for block proc | obscuren | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | core: print ignored blocks | obscuren | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | eth,core: changed NewTicker to Tick | obscuren | 2015-05-03 | 1 | -2/+2 |
| | |||||
* | core: added 'ignored' status | obscuren | 2015-05-01 | 1 | -2/+3 |
| | |||||
* | core: added a wait group to chain manager for graceful shutdown | obscuren | 2015-04-30 | 1 | -0/+8 |
| | |||||
* | core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D) | obscuren | 2015-04-30 | 1 | -0/+4 |
| | |||||
* | core, eth: verify td of received blocks | obscuren | 2015-04-30 | 1 | -2/+4 |
| | |||||
* | core: remove txs from queue in addition to removal of pending | obscuren | 2015-04-30 | 2 | -1/+49 |
| | |||||
* | core: added some additional chain tests for shortest chain | obscuren | 2015-04-30 | 2 | -5/+30 |
| | |||||
* | core/types, eth: meassure and display propagation times | obscuren | 2015-04-30 | 1 | -0/+2 |
| | |||||
* | core: fixed tetst to reflect (int, error) return by insertChain | obscuren | 2015-04-29 | 1 | -2/+2 |
| | |||||
* | core: return the index of the block that failed when inserting a chain | obscuren | 2015-04-29 | 2 | -4/+6 |
| | |||||
* | core: fixed chain reorg during splits | obscuren | 2015-04-29 | 2 | -27/+83 |
| | | | | | | | | | | | | | | Chain reorgs weren't properly handled when a chain was further ahead. Previously we'd end up with mixed chains in our canonical numbering sequence. Added test for this type of forking. ``` /-o-o-o A o-C-+ \-o-o-o-o B ``` Ends up with with C A1, A2, A3, B4 | ||||
* | core/types: added fake parent hash / hash to String() output | obscuren | 2015-04-29 | 1 | -1/+11 |
| | |||||
* | core: seperated proccing mutex and getting mutex | obscuren | 2015-04-29 | 2 | -42/+48 |
| | |||||
* | core: bump database version | obscuren | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | core: moved mutex locks in insert blocks to start of function | obscuren | 2015-04-29 | 1 | -41/+40 |
| | | | | | Insert blocks will no longer allow processing of multiple chains at the same time. The block lock has been moved to start of the function. | ||||
* | core: set min gas price at startup | obscuren | 2015-04-29 | 1 | -10/+10 |
| | |||||
* | core, miner: added value check on tx validation | obscuren | 2015-04-26 | 4 | -20/+17 |
| | | | | | | * 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 | ||||
* | Merge pull request #805 from obscuren/download_improvements | Jeffrey Wilcke | 2015-04-25 | 5 | -16/+31 |
|\ | | | | | eth, eth/downloader: improve downloader and remove asynchronousness | ||||
| * | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 5 | -16/+31 |
| | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | | core: fixed wildcard topic filters. Closes #725 | obscuren | 2015-04-24 | 1 | -5/+14 |
|/ | |||||
* | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -5/+5 |
| | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | core: pending txs now re-validated once every second | obscuren | 2015-04-23 | 1 | -3/+27 |
| | |||||
* | core: added accessor for queued transactions | obscuren | 2015-04-23 | 1 | -0/+12 |
| | |||||
* | eth: moved mined, tx events to protocol-hnd and improved tx propagation | obscuren | 2015-04-23 | 1 | -2/+4 |
| | | | | | | | | | 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. | ||||
* | core: fixed test | obscuren | 2015-04-23 | 1 | -1/+3 |
| | |||||
* | core: set the state for the managed tx state | obscuren | 2015-04-23 | 1 | -1/+1 |
| | | | | | Set the state for the managed tx state instead of creating a new managed state. | ||||
* | core: improved error message for invalid nonce txs | obscuren | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | core: only post event once per tx & fixed test | obscuren | 2015-04-23 | 2 | -15/+21 |
| | |||||
* | core: implemented a queued approach processing transactions | obscuren | 2015-04-23 | 3 | -25/+123 |
| | | | | | | | 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 | 2 | -2/+13 |
| | |||||
* | core/rpc: fix for null entries in log filters. Closes #725 | obscuren | 2015-04-21 | 1 | -1/+2 |
| | | | | | | You can now specify `null` as a way of saying "not interested in this topic, match all". core.Filter assumes the zero'd address to be the wildcard. JSON rpc assumes empty strings to be wildcards. | ||||
* | core: removed nonce resetting from the block processor. | obscuren | 2015-04-21 | 3 | -4/+7 |
| | | | | All nonce error handling has been moved to the worker | ||||
* | core: shuffled some code | obscuren | 2015-04-21 | 1 | -7/+13 |
| | |||||
* | core: upgraded block chain version | obscuren | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'frontier/natspec' of ↵ | obscuren | 2015-04-21 | 1 | -2/+2 |
|\ | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec | ||||
| * | test account is no longer permanently in genesis block, only put there when ↵ | zsfelfoldi | 2015-04-20 | 1 | -8/+2 |
| | | | | | | | | testing | ||||
| * | NatSpec contracts are now not in the genesis block but added by the test | zsfelfoldi | 2015-04-20 | 2 | -45/+0 |
| | | |||||
| * | NatSpec passing end to end test | zsfelfoldi | 2015-04-20 | 2 | -19/+28 |
| | | |||||
| * | s | zsfelfoldi | 2015-04-20 | 1 | -1/+2 |
| | | |||||
| * | NatSpec contracts in genesis block, end to end test (unfinished) | zsfelfoldi | 2015-04-20 | 2 | -0/+41 |
| | | |||||
* | | core: force block process & fixed chain manager test | obscuren | 2015-04-20 | 3 | -4/+24 |
| | |