Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2614 from fjl/bad-block-report | Jeffrey Wilcke | 2016-05-26 | 2 | -2/+93 |
|\ | | | | | eth: enable bad block reports | ||||
| * | eth: enable bad block reports | Felix Lange | 2016-05-25 | 2 | -2/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | We used to have reporting of bad blocks, but it was disabled before the Frontier release. We need it back because users are usually unable to provide the full RLP data of a bad block when it occurs. A shortcoming of this particular implementation is that the origin peer is not tracked for blocks received during eth/63 sync. No origin peer info is still better than no report at all though. | ||||
* | | eth/api: fixed GetCompilers when there is no error creating Solc | Rémy Roy | 2016-05-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2564 from bas-vk/submit-tx | Jeffrey Wilcke | 2016-05-23 | 2 | -68/+116 |
|\ | | | | | eth: add new RPC method (personal.) SignAndSendTransaction | ||||
| * | eth: add new RPC method (personal.) SignAndSendTransaction | Bas van Kervel | 2016-05-20 | 2 | -68/+116 |
| | | |||||
* | | Merge pull request #2575 from bas-vk/filter | Jeffrey Wilcke | 2016-05-23 | 2 | -38/+234 |
|\ \ | | | | | | | eth/filter: bugfix which can cause a nil pointer crash when parsing f… | ||||
| * | | eth/filter: bugfix which can cause a nil pointer crash when parsing filter ↵ | Bas van Kervel | 2016-05-17 | 2 | -38/+234 |
| | | | | | | | | | | | | arguments | ||||
* | | | Merge pull request #2589 from karalabe/estimate-remove-codecheck | Jeffrey Wilcke | 2016-05-20 | 2 | -22/+11 |
|\ \ \ | | | | | | | | | accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call | ||||
| * | | | accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call | Péter Szilágyi | 2016-05-20 | 2 | -22/+11 |
| | |/ | |/| | |||||
* | | | Merge pull request #2315 from karalabe/concurrent-headers-2 | Jeffrey Wilcke | 2016-05-20 | 4 | -211/+643 |
|\ \ \ | |/ / |/| | | eth/downloader: concurrent header downloads | ||||
| * | | eth/downloader: fix reviewer comments | Péter Szilágyi | 2016-05-20 | 2 | -9/+32 |
| | | | |||||
| * | | eth/downloader: stream partial skeleton filling to processor | Péter Szilágyi | 2016-05-17 | 3 | -19/+55 |
| | | | |||||
| * | | eth/downloader: implement concurrent header downloads | Péter Szilágyi | 2016-05-17 | 4 | -211/+584 |
| | | | |||||
* | | | eth: fixed regression in eth_signTransaction fixes #2578 | Jeffrey Wilcke | 2016-05-18 | 1 | -1/+1 |
| |/ |/| | | | | | | | Sign transaction returned the unsigned transaction rather than the signed one. | ||||
* | | eth: skip transaction handling during fast sync | Péter Szilágyi | 2016-05-17 | 3 | -14/+23 |
|/ | |||||
* | eth/downloader: bound fork ancestry and allow heavy short forks | Péter Szilágyi | 2016-05-13 | 2 | -43/+201 |
| | |||||
* | Merge pull request #2523 from fjl/shutdown | Péter Szilágyi | 2016-05-09 | 5 | -32/+66 |
|\ | | | | | core, eth, miner: improve shutdown synchronisation | ||||
| * | core, eth, miner: improve shutdown synchronisation | Felix Lange | 2016-05-09 | 5 | -32/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shutting down geth prints hundreds of annoying error messages in some cases. The errors appear because the Stop method of eth.ProtocolManager, miner.Miner and core.TxPool is asynchronous. Left over peer sessions generate events which are processed after Stop even though the database has already been closed. The fix is to make Stop synchronous using sync.WaitGroup. For eth.ProtocolManager, in order to make use of WaitGroup safe, we need a way to stop new peer sessions from being added while waiting on the WaitGroup. The eth protocol Run function now selects on a signaling channel and adds to the WaitGroup only if ProtocolManager is not shutting down. For miner.worker and core.TxPool the number of goroutines is static, WaitGroup can be used in the usual way without additional synchronisation. | ||||
* | | eth: fixed tracing functions using the current header instead of parent | Jeffrey Wilcke | 2016-05-09 | 1 | -2/+2 |
|/ | | | | Fixes #2525 | ||||
* | release, all: integrate the release service into geth | Péter Szilágyi | 2016-05-02 | 3 | -25/+137 |
| | |||||
* | Merge pull request #2493 from almindor/develop | Felix Lange | 2016-04-30 | 1 | -0/+11 |
|\ | | | | | eth: add personal_importRawKey | ||||
| * | eth: add personal_importRawKey for runtime private key import | Ales Katona | 2016-04-28 | 1 | -0/+11 |
| | | |||||
* | | eth/filters: ignore logs that don't match filter criteria on chain reorg | Bas van Kervel | 2016-04-28 | 1 | -1/+1 |
| | | |||||
* | | accounts/abi/bind, eth: add contract non-existent error | Péter Szilágyi | 2016-04-27 | 1 | -0/+15 |
|/ | |||||
* | rpc: remove NotifierContextKey | Felix Lange | 2016-04-16 | 3 | -4/+4 |
| | | | | | | | Context keys must have a unique type in order to prevent any unintented clashes. The code used int(1) as key. Fix it by implementing the pattern recommended by package context. | ||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 9 | -26/+24 |
| | |||||
* | core, core/types, eth: add and use Block.Body | Felix Lange | 2016-04-15 | 1 | -2/+2 |
| | | | | | This fixes a few uses of unkeyed Body literals which go vet was complaining about. | ||||
* | all: update license information | Felix Lange | 2016-04-15 | 12 | -25/+105 |
| | |||||
* | eth, rpc: make trace configs optional | Péter Szilágyi | 2016-04-14 | 1 | -8/+14 |
| | |||||
* | eth: fix single transaction tracing (run prev mutations) | Péter Szilágyi | 2016-04-14 | 1 | -41/+47 |
| | |||||
* | eth: add chaindbProperty to debug API | Felix Lange | 2016-04-13 | 1 | -0/+18 |
| | |||||
* | Merge pull request #2284 from fjl/accounts-addr-cache | Péter Szilágyi | 2016-04-12 | 4 | -84/+43 |
|\ | | | | | accounts: cache key addresses | ||||
| * | accounts: improve API and add documentation | Felix Lange | 2016-04-12 | 1 | -7/+6 |
| | | | | | | | | | | - Sign takes common.Address, not Account - Import/Export methods work with encrypted JSON keys | ||||
| * | eth: report unlock errors to RPC clients | Felix Lange | 2016-04-12 | 1 | -4/+3 |
| | | |||||
| * | accounts: streamline API | Felix Lange | 2016-04-12 | 2 | -69/+31 |
| | | | | | | | | | | | | - Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted. | ||||
| * | accounts, crypto: move keystore to package accounts | Felix Lange | 2016-04-12 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | The account management API was originally implemented as a thin layer around crypto.KeyStore, on the grounds that several kinds of key stores would be implemented later on. It turns out that this won't happen so KeyStore is a superflous abstraction. In this commit crypto.KeyStore and everything related to it moves to package accounts and is unexported. | ||||
* | | eth: gracefully fail if chain config is missing | Péter Szilágyi | 2016-04-12 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #2359 from bas-vk/rpc-optional-args | Jeffrey Wilcke | 2016-04-12 | 2 | -28/+41 |
|\ | | | | | rpc: several fixes and support for optional arguments | ||||
| * | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 2 | -28/+41 |
| | | | | | | | | | | | | | | | | rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins | ||||
* | | eth: fix GPU miner chain config regression | Péter Szilágyi | 2016-04-11 | 1 | -2/+1 |
|/ | |||||
* | Merge pull request #2407 from bas-vk/rpc-notifications | Jeffrey Wilcke | 2016-04-05 | 4 | -91/+271 |
|\ | | | | | RPC pub sub | ||||
| * | rpc: add pub/sub support | Bas van Kervel | 2016-04-02 | 4 | -91/+271 |
| | | |||||
* | | cmd/geth, eth: move --genesis deprecation warning to cmd/geth | Felix Lange | 2016-04-02 | 1 | -4/+0 |
|/ | | | | This prevents display of the warning for --dev and --olympic. | ||||
* | Merge pull request #2402 from obscuren/eth-sign-fix | Jeffrey Wilcke | 2016-04-01 | 1 | -4/+4 |
|\ | | | | | eth: enforce signing hashes using eth_sign instead of arbitrary data | ||||
| * | eth: enforce signing hashes using eth_sign instead of arbitrary data | Jeffrey Wilcke | 2016-04-01 | 1 | -4/+4 |
| | | |||||
* | | core: transition db now also returns the required gas amount | Jeffrey Wilcke | 2016-04-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Exposes some core methods to transition and compute new state information and adds an additional return value to the transition db method to fetch required gas for that particular message (excluding gas refunds from any SSTORE[X] = 0 and SUICIDE. Fixes #2395 | ||||
* | | accounts/a/b/backends, core: chain maker homestead block set to 0 | Jeffrey Wilcke | 2016-04-01 | 1 | -2/+1 |
| | | | | | | | | | | | | | | The chain maker and the simulated backend now run with a homestead phase beginning at block 0 (i.e. there's no frontier). This commit also fixes up #2388 | ||||
* | | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 4 | -25/+52 |
|/ | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | eth: fix accidental nil panic on nil errors | Péter Szilágyi | 2016-03-31 | 1 | -4/+13 |
| | |||||
* | eth: manually convert errors to strings on the trace API (json cannot) | Péter Szilágyi | 2016-03-31 | 1 | -11/+11 |
| | |||||
* | accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI | Péter Szilágyi | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2141 from obscuren/evm-init | Jeffrey Wilcke | 2016-03-24 | 2 | -93/+206 |
|\ | | | | | core, core/vm, tests: changed the initialisation behaviour of the EVM | ||||
| * | core, eth, cmd: temporary work around for enabling the jit | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+9 |
| | | | | | | | | | | This commit serves as a temporary workaround for enabling the jit until the block customisation PR is merged in. | ||||
| * | eth/api: added root to the receipts | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+3 |
| | | |||||
| * | eth, rpc: implemented block debugging rpc calls | Jeffrey Wilcke | 2016-03-24 | 1 | -87/+193 |
| | | | | | | | | | | | | | | | | | | Implemented the following block debugging RPC calls * Block(RLP) * BlockByFile(fileName) * BlockByNumber(number) * BlockByHash(hash) | ||||
| * | core: Added EVM configuration options | Jeffrey Wilcke | 2016-03-24 | 1 | -8/+3 |
| | | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options. | ||||
* | | eth, miner: fetch pending block/state in on go (data race) | Péter Szilágyi | 2016-03-16 | 1 | -2/+4 |
|/ | |||||
* | core, eth: replace reorganiz with reorganis | Leif Jurvetson | 2016-03-16 | 1 | -2/+2 |
| | |||||
* | eth: various typos | Leif Jurvetson | 2016-03-16 | 11 | -29/+29 |
| | |||||
* | eth/downloader: fix a throughput estimation data race | Péter Szilágyi | 2016-03-10 | 1 | -2/+2 |
| | |||||
* | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | Péter Szilágyi | 2016-03-09 | 2 | -8/+5 |
| | |||||
* | eth: forward empty body responses to the downlaoder | Péter Szilágyi | 2016-03-03 | 1 | -1/+5 |
| | |||||
* | Merge pull request #2215 from bas-vk/estimategas | Péter Szilágyi | 2016-03-01 | 1 | -34/+31 |
|\ | | | | | core: improved check for contract creation | ||||
| * | core: improved check for contract creation | Bas van Kervel | 2016-02-16 | 1 | -34/+31 |
| | | |||||
* | | eth/downloader: fix premature exit before notifying all part fetchers | Péter Szilágyi | 2016-02-29 | 1 | -1/+3 |
| | | |||||
* | | eth/downloader: fix header download limiting | Felix Lange | 2016-02-26 | 1 | -1/+1 |
| | | | | | | | | Fixes #2201 | ||||
* | | Merge pull request #2260 from karalabe/ethash-cache-fixes | Péter Szilágyi | 2016-02-24 | 1 | -3/+8 |
|\ \ | | | | | | | Godeps, eth, tests: update ethash, used shared for testing | ||||
| * | | Godeps, eth, tests: update ethash, used shared for testing | Péter Szilágyi | 2016-02-24 | 1 | -3/+8 |
| | | | |||||
* | | | Merge pull request #2251 from karalabe/increase-downlaoder-queue | Péter Szilágyi | 2016-02-24 | 2 | -1/+6 |
|\ \ \ | | | | | | | | | eth/downloader: bump the download queue size to prevent starvation | ||||
| * | | | eth/downloader: bump the download queue size to prevent starvation | Péter Szilágyi | 2016-02-23 | 2 | -1/+6 |
| |/ / | |||||
* | | | Merge pull request #2242 from jimenezrick/upstream-crypto | Jeffrey Wilcke | 2016-02-24 | 2 | -2/+2 |
|\ \ \ | |/ / |/| | | Closes #2241: Use Keccak-256 from golang.org/x/crypto/sha3 and mention explicitly | ||||
| * | | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 2 | -2/+2 |
| | | | | | | | | | | | | As we aren't really using the standarized SHA-3 | ||||
* | | | Merge pull request #2234 from obscuren/tx-rpc-fix | Péter Szilágyi | 2016-02-23 | 1 | -9/+9 |
|\ \ \ | | | | | | | | | eth: fixed homestead tx check | ||||
| * | | | eth: fixed homestead tx check | Jeffrey Wilcke | 2016-02-20 | 1 | -9/+9 |
| |/ / | | | | | | | | | | | | | | | | | | | When a block is queried for retrieval we should add a check whether the block falls within the frontier rules. If we'd always use `From` retrieving transaction might fail. This PR temporarily changes everything to `FromFrontier` (safe!). | ||||
* | | | Merge pull request #2220 from karalabe/fix-rollback-lock | Péter Szilágyi | 2016-02-23 | 1 | -2/+28 |
|\ \ \ | |/ / |/| | | eth/downloader: fix partial rollback and ancestor lookup | ||||
| * | | eth/downloader: fix partial rollback and ancestor lookup | Péter Szilágyi | 2016-02-19 | 1 | -2/+28 |
| |/ | |||||
* / | parmas, crypto, core, core/vm: homestead consensus protocol changes | Gustav Simonsson | 2016-02-18 | 1 | -7/+8 |
|/ | | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code | ||||
* | eth/filters: ✨ pending logs ✨ | Jeffrey Wilcke | 2016-02-13 | 4 | -40/+119 |
| | | | | | | Pending logs are now filterable through the Go API. Filter API changed such that each filter type has it's own bucket and adding filter explicitly requires you specify the bucket to put it in. | ||||
* | Merge pull request #2195 from obscuren/gpo-rpc | Péter Szilágyi | 2016-02-11 | 2 | -15/+14 |
|\ | | | | | eth: Added GPO to suggest default gas prices | ||||
| * | eth: Added GPO to suggest default gas prices | Jeffrey Wilcke | 2016-02-10 | 2 | -15/+14 |
| | | | | | | | | | | | | | | | | | | This PR fixes a regression of the RPC where the default gas price that was being used for transaction wasn't properly using the GPO. This PR adds the GPO back to suggest gas prices rather than the hardcoded default of 10000000000000. Closes #2194 | ||||
* | | eth, eth/downloader, jsre: surface state sync progress through the API | Péter Szilágyi | 2016-02-10 | 4 | -35/+50 |
| | | |||||
* | | eth, miner: move the public miner api into eth to access etherbase | Péter Szilágyi | 2016-02-09 | 2 | -1/+53 |
| | | |||||
* | | eth/downloader: raise pending state limit that prevented concurrency | Péter Szilágyi | 2016-02-08 | 2 | -3/+3 |
|/ | |||||
* | eth: sendTransaction would not report the error when tx could not be added ↵ | Bas van Kervel | 2016-02-08 | 1 | -1/+1 |
| | | | | to tx pool | ||||
* | Merge pull request #2106 from obscuren/out-of-bound-logs | Jeffrey Wilcke | 2016-02-06 | 4 | -26/+132 |
|\ | | | | | eth/filters: added notifications for out of bound log events | ||||
| * | eth/filters: added notifications for out of bound log events | Jeffrey Wilcke | 2016-02-05 | 4 | -26/+132 |
| | | | | | | | | | | | | Out of Bound log events are events that were removed due to a fork. When logs are received the filtering mechanism should check for the `removed` field on the json structure. | ||||
* | | rpc: add jsonrpc version to module request, use json types | Péter Szilágyi | 2016-02-04 | 1 | -2/+1 |
|/ | |||||
* | cmd, eth, rpc: fix some RPC issues with pending blocks | Péter Szilágyi | 2016-02-03 | 2 | -106/+96 |
| | |||||
* | Merge pull request #2156 from ppratscher/add_replay_tx | Péter Szilágyi | 2016-02-03 | 1 | -0/+139 |
|\ | | | | | core/vm, rpc/api: added debug_replayTransaction RPC call | ||||
| * | core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, ↵ | Peter Pratscher | 2016-02-02 | 1 | -0/+139 |
| | | | | | | | | | | | | | | | | integrated feedback Integrated code review suggestions Integrated last review comments | ||||
* | | core, eth, rpc/api: rpc method to inspect the txpool queue | Péter Szilágyi | 2016-02-01 | 1 | -0/+74 |
|/ | |||||
* | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 4 | -38/+99 |
| | |||||
* | eth: changed NodeInfo Genesis and Head types | Bas van Kervel | 2016-01-18 | 1 | -6/+6 |
| | |||||
* | core, eth/downloader: ensure state presence in ancestor lookup | Péter Szilágyi | 2016-01-04 | 4 | -60/+72 |
| | |||||
* | eth/downloader: throttling tests are time-sensitive, don't run parallel | Péter Szilágyi | 2015-12-30 | 1 | -3/+1 |
| | |||||
* | common: remove old RLP implementation, Value and ExtPackage | Felix Lange | 2015-12-18 | 1 | -12/+2 |
| | | | | | In order to make this happen, kill all remaining trivial uses of common/{rlp,value}.go. The non-trivial ones have been updated earlier. | ||||
* | eth/downloader: fix negative balance issue in tests | Felix Lange | 2015-12-18 | 1 | -2/+5 |
| | | | | | | | | | | The test chain generated by makeChainFork included invalid uncle headers, crashing the generator during the state commit. The headers were invalid because they used the iteration counter as the block number, even though makeChainFork uses a block with number > 0 as the parent. Fix this by introducing BlockGen.Number, which allows accessing the actual number of the block being generated. | ||||
* | Merge pull request #1997 from zsfelfoldi/gasprice2 | Jeffrey Wilcke | 2015-12-17 | 1 | -0/+2 |
|\ | | | | | core: tx pool skip price validation for "owned" transactions | ||||
| * | core: tx pool skip price validation for "owned" transactions | zsfelfoldi | 2015-12-16 | 1 | -0/+2 |
| | | |||||
* | | eth: fix #2076, where end of hash query was interpreted number query | Péter Szilágyi | 2015-12-16 | 2 | -1/+23 |
|/ | |||||
* | core, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 2 | -15/+215 |
| | |||||
* | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 4 | -0/+1915 |
| | |||||
* | eth: use global event mux instead | Bas van Kervel | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 1 | -2/+2 |
| | |||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 1 | -299/+46 |
| | |||||
* | eth/downloader: fetch data proportionally to peer capacity | Péter Szilágyi | 2015-11-19 | 3 | -246/+258 |
| | |||||
* | Merge pull request #1923 from karalabe/cleanup-receipt-data-access | Jeffrey Wilcke | 2015-11-19 | 2 | -6/+6 |
|\ | | | | | core, eth, miner, xeth: clean up tx/receipt db accessors | ||||
| * | core, eth, miner, xeth: clean up tx/receipt db accessors | Péter Szilágyi | 2015-11-19 | 2 | -6/+6 |
| | | |||||
* | | Merge pull request #1980 from fjl/downloader-deliver-hang | Jeffrey Wilcke | 2015-11-19 | 4 | -311/+336 |
|\ \ | |/ |/| | eth/downloader: don't hang for spurious deliveries | ||||
| * | eth/downloader: run tests in parallel | Felix Lange | 2015-11-19 | 1 | -0/+29 |
| | | |||||
| * | eth/downloader: also drain stateCh, receiptCh in eth/61 mode | Felix Lange | 2015-11-19 | 1 | -71/+77 |
| | | | | | | | | | | | | | | | | | | State and receipt deliveries from a previous eth/62+ sync can hang if the downloader has moved on to syncing with eth/61. Fix this by also draining the eth/63 channels while waiting for eth/61 data. A nicer solution would be to take care of the channels in a central place, but that would involve a major rewrite. | ||||
| * | eth: remove workaround for asynchronous processing in the downloader | Felix Lange | 2015-11-19 | 1 | -4/+0 |
| | | |||||
| * | eth/downloader: don't hang for spurious deliveries | Felix Lange | 2015-11-19 | 3 | -236/+230 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unexpected deliveries could block indefinitely if they arrived at the right time. The fix is to ensure that the cancellation channel is always closed when the sync ends, unblocking any deliveries. Also remove the atomic check for whether a sync is currently running because it doesn't help and can be misleading. Cancelling always seems to break the tests though. The downloader spawned d.process whenever new data arrived, making it somewhat hard to track when block processing was actually done. Fix this by running d.process in a dedicated goroutine that is tied to the lifecycle of the sync. d.process gets notified of new work by the queue instead of being invoked all the time. This removes a ton of weird workaround code, including a hairy use of atomic CAS. | ||||
* | | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 3 | -26/+19 |
|/ | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | Merge pull request #1963 from karalabe/fix-database-regression | Jeffrey Wilcke | 2015-11-06 | 1 | -18/+3 |
|\ | | | | | eth: fix error casting regression during database open | ||||
| * | eth: fix error casting regression during database open | Péter Szilágyi | 2015-11-05 | 1 | -18/+3 |
| | | |||||
* | | Merge pull request #1960 from karalabe/fix-peer-ignore-list | Jeffrey Wilcke | 2015-11-04 | 2 | -11/+46 |
|\ \ | |/ |/| | eth/downloader: fix dysfunctional ignore list hidden by generic set | ||||
| * | eth/downloader: fix dysfunctional ignore list hidden by generic set | Péter Szilágyi | 2015-11-04 | 2 | -11/+46 |
| | | |||||
* | | Merge pull request #1934 from karalabe/polish-protocol-infos | Jeffrey Wilcke | 2015-11-04 | 6 | -80/+78 |
|\ \ | |/ |/| | eth, p2p, rpc/api: polish protocol info gathering | ||||
| * | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 6 | -80/+78 |
| | | |||||
* | | Merge pull request #1952 from obscuren/testnet-peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
|\ \ | | | | | | | eth: added new testnet peers | ||||
| * | | eth: added new testnet peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
| |/ | |||||
* | | Merge pull request #1949 from karalabe/update-command-usage | Jeffrey Wilcke | 2015-10-30 | 1 | -6/+0 |
|\ \ | | | | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | ||||
| * | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | Péter Szilágyi | 2015-10-30 | 1 | -6/+0 |
| | | | |||||
* | | | Merge pull request #1946 from fjl/xeth-oom | Jeffrey Wilcke | 2015-10-30 | 1 | -53/+35 |
|\ \ \ | |/ / |/| | | Fix for xeth OOM issue | ||||
| * | | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 1 | -53/+35 |
| |/ | | | | | | | | | | | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* / | eth: don't block sync goroutines that short circuit | Péter Szilágyi | 2015-10-28 | 2 | -4/+9 |
|/ | |||||
* | Merge pull request #1919 from ethersphere/getnatspec | Jeffrey Wilcke | 2015-10-28 | 1 | -0/+11 |
|\ | | | | | rpc api: eth_getNatSpec | ||||
| * | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func | ||||
* | | Merge pull request #1932 from fjl/gpo-defootgunize | Jeffrey Wilcke | 2015-10-28 | 1 | -49/+58 |
|\ \ | |/ |/| | eth, xeth: fix GasPriceOracle goroutine leak | ||||
| * | eth, xeth: fix GasPriceOracle goroutine leak | Felix Lange | 2015-10-28 | 1 | -49/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930 | ||||
* | | eth: time out status message exchange after 5s | Felix Lange | 2015-10-23 | 1 | -9/+27 |
|/ | |||||
* | console: | zelig | 2015-10-22 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 15 | -397/+681 |
| | |||||
* | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 7 | -68/+34 |
| | |||||
* | core, eth: roll back uncertain headers in failed fast syncs | Péter Szilágyi | 2015-10-19 | 4 | -12/+131 |
| | |||||
* | eth/downloader: concurrent receipt and state processing | Péter Szilágyi | 2015-10-19 | 4 | -72/+158 |
| | |||||
* | core, eth, trie: direct state trie synchronization | Péter Szilágyi | 2015-10-19 | 8 | -459/+779 |
| | |||||
* | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 6 | -141/+205 |
| | |||||
* | core: differentiate receipt concensus and storage decoding | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 9 | -798/+1427 |
| | |||||
* | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 3 | -18/+5 |
| | |||||
* | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 6 | -32/+100 |
| | |||||
* | Merge pull request #1899 from obscuren/mipmap-bloom | Jeffrey Wilcke | 2015-10-17 | 4 | -53/+447 |
|\ | | | | | core, eth/filters, miner, xeth: Optimised log filtering | ||||
| * | core, eth/filters, miner, xeth: Optimised log filtering | Jeffrey Wilcke | 2015-10-17 | 4 | -63/+368 |
| | | | | | | | | | | | | | | Log filtering is now using a MIPmap like approach where addresses of logs are added to a mapped bloom bin. The current levels for the MIP are in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are therefor filtered in batches of 1.000. | ||||
| * | eth/filters: added benchmark | Jeffrey Wilcke | 2015-10-16 | 2 | -7/+96 |
| | | |||||
* | | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 3 | -12/+157 |
|\ \ | | | | | | | all: Add GPU mining, disabled by default | ||||
| * | | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 3 | -12/+157 |
| | | | |||||
* | | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 3 | -4/+7 |
| |/ |/| | |||||
* | | core, eth, event, miner, xeth: fix event post / subscription race | Péter Szilágyi | 2015-10-12 | 3 | -27/+36 |
| | | |||||
* | | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -1/+17 |
| | | |||||
* | | Merge pull request #1756 from obscuren/core-refactor | Jeffrey Wilcke | 2015-10-05 | 9 | -137/+486 |
|\ \ | |/ |/| | core, core/vm: refactor | ||||
| * | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 9 | -144/+149 |
| | | | | | | | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
| * | cmd/evm, core/vm, test: refactored VM and core | Jeffrey Wilcke | 2015-10-04 | 2 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`. | ||||
| * | core, event/filter, xeth: refactored filter system | Jeffrey Wilcke | 2015-10-03 | 2 | -0/+344 |
| | | | | | | | | | | | | | | Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager". | ||||
* | | eth/downloader: match capabilities when querying idle peers | Péter Szilágyi | 2015-10-02 | 3 | -8/+53 |
|/ | |||||
* | eth/downloader: always send termination wakes, clean leftover | Péter Szilágyi | 2015-09-23 | 1 | -20/+36 |
| | |||||
* | core, core/types: readd transactions after chain re-org | Jeffrey Wilcke | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746 | ||||
* | Merge pull request #1810 from karalabe/pure-header-verifications-2 | Jeffrey Wilcke | 2015-09-17 | 1 | -1/+1 |
|\ | | | | | core, eth, miner: use pure header validation | ||||
| * | core, eth, miner: use pure header validation | Péter Szilágyi | 2015-09-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1801 from fjl/ethdb | Jeffrey Wilcke | 2015-09-16 | 2 | -43/+13 |
|\ \ | | | | | | | all: move common.Database to ethdb and add NewBatch | ||||
| * | | ethdb: remove Flush | Felix Lange | 2015-09-15 | 1 | -33/+2 |
| | | | |||||
| * | | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 2 | -10/+11 |
| |/ | |||||
* | | eth/downloader: header-chain order and ancestry check | Péter Szilágyi | 2015-09-15 | 3 | -7/+77 |
| | | |||||
* | | eth, rpc: standardize the chain sync progress counters | Péter Szilágyi | 2015-09-15 | 2 | -51/+476 |
|/ | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 6 | -47/+66 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 4 | -84/+89 |
| | |||||
* | cmd/geth, cmd/utils, eth: added dev mode flag | Jeffrey Wilcke | 2015-09-09 | 1 | -6/+9 |
| | | | | | | | | | | | | Dev mode enabled some debugging flags such as: * VM debugging mode * Simpler proof of work * Whisper enabled by default * Datadir to a tmp datadir * Maxpeers set to 0 * Gas price of 0 * Random listen port | ||||
* | eth/downloader: fix race causing occasional test failure | Péter Szilágyi | 2015-09-01 | 1 | -1/+3 |
| | |||||
* | Merge pull request #1701 from karalabe/eth62-sync-rebase | Felix Lange | 2015-08-27 | 16 | -1266/+3292 |
|\ | | | | | eth: implement eth/62 synchronization logic | ||||
| * | eth: update metrics collection to handle eth/62 algos | Péter Szilágyi | 2015-08-25 | 6 | -35/+159 |
| | | |||||
| * | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 8 | -340/+1995 |
| | | |||||
| * | eth: kill off protocol eth/60 in preparation for eth/62 | Péter Szilágyi | 2015-08-24 | 6 | -804/+28 |
| | | |||||
| * | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 11 | -254/+1182 |
| | | |||||
| * | eth, metrics, p2p: prepare metrics and net packets to eth/62 | Péter Szilágyi | 2015-08-21 | 5 | -41/+136 |
| | | |||||
* | | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -1/+1 |
|/ | |||||
* | eth: fix an issue with pulling and inserting blocks twice | Péter Szilágyi | 2015-08-19 | 1 | -2/+4 |
| | |||||
* | Merge pull request #1627 from zsfelfoldi/gpo | Jeffrey Wilcke | 2015-08-17 | 1 | -10/+13 |
|\ | | | | | GPO update | ||||
| * | GPO update | zsfelfoldi | 2015-08-17 | 1 | -10/+13 |
| | | |||||
* | | Update CPP pubkey | Taylor Gerring | 2015-08-17 | 1 | -1/+1 |
| | | |||||
* | | Added SG bootnode | Taylor Gerring | 2015-08-17 | 1 | -2/+3 |
| | | |||||
* | | eth, trie: removed key prefixing from state entries & merge db fix | Jeffrey Wilcke | 2015-08-14 | 1 | -15/+19 |
| | | | | | | | | | | | | | | | | | | Fixed database merge strategy to use the correct database. Due to a copy paste fail when doing type evaluation the same database was being iterated (chain), all others were ignored. Removed state prefixing because {H(code): code} is stored in the same database as the rest of the state. | ||||
* | | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 2 | -74/+120 |
|/ | |||||
* | cmd/geth, eth: added canonical extra data | Jeffrey Wilcke | 2015-08-07 | 1 | -7/+2 |
| | | | | | Implemented canonical extra data according to https://github.com/ethereum/wiki/wiki/Extra-Data | ||||
* | miner: gas limit strategy, target 3141592 & def gas price 50 Shannon | Gustav Simonsson | 2015-08-04 | 1 | -1/+2 |
| | |||||
* | cmd, core, eth: support for the olympic network | Jeffrey Wilcke | 2015-08-04 | 1 | -0/+9 |
| | | | | Added a --olympic flag which initialiser the olympic protocol settings | ||||
* | eth, eth/downloader: don't report stall if fetcher filled the block | Péter Szilágyi | 2015-07-29 | 3 | -43/+65 |
| | |||||
* | Merge pull request #1533 from ethersphere/frontier/etherbase | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+5 |
|\ | | | | | Etherbase defaults to first account even if it is created during the session | ||||
| * | etherbase defaults to first account even if created during the session | zelig | 2015-07-27 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 16 | -16/+16 |
|\ \ | |/ |/| | all: fix license headers one more time | ||||
| * | all: fix license headers one more time | Felix Lange | 2015-07-24 | 16 | -16/+16 |
| | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | params: reduce extra data to 32 bytes | Jeffrey Wilcke | 2015-07-26 | 1 | -2/+3 |
| | | |||||
* | | Merge pull request #1524 from obscuren/default-extra | Jeffrey Wilcke | 2015-07-25 | 1 | -0/+7 |
|\ \ | | | | | | | eth: set default miner extra to client name | ||||
| * | | eth: set default miner extra to client name | Jeffrey Wilcke | 2015-07-25 | 1 | -0/+7 |
| | | | |||||
* | | | cmd/geth, core, eth: Version 1.0.0 | Jeffrey Wilcke | 2015-07-25 | 3 | -3/+4 |
|/ / | | | | | | | | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go | ||||
* | | Merge pull request #1510 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-23 | 16 | -64/+64 |
|\| | | | | | all: license fixes | ||||
| * | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 16 | -64/+64 |
| | | | | | | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | | cmd, core, eth, ethdb: cache flag to allocate memory for db internal use | Péter Szilágyi | 2015-07-22 | 1 | -1/+2 |
|/ | |||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 2 | -18/+29 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | Merge pull request #1451 from karalabe/handle-potential-TD-forge-attack | Jeffrey Wilcke | 2015-07-09 | 2 | -99/+44 |
|\ | | | | | eth/downloader: drop peer if advertised TD but won't delvier | ||||
| * | eth/downloader: drop peer if advertised TD but won't delvier | Péter Szilágyi | 2015-07-09 | 2 | -99/+44 |
| | | |||||
* | | Merge pull request #1450 from karalabe/fix-propagation-td | Jeffrey Wilcke | 2015-07-09 | 2 | -5/+17 |
|\ \ | | | | | | | eth: calculate the correct TD, only update if better | ||||
| * | | eth: calculate the correct TD, only update if better | Péter Szilágyi | 2015-07-09 | 2 | -5/+17 |
| |/ | |||||
* / | eth, ethdb: fix a data race during startup/shutdown | Péter Szilágyi | 2015-07-09 | 1 | -25/+3 |
|/ | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 16 | -0/+256 |
| | |||||
* | Merge pull request #1428 from obscuren/coinbase-fixes | Jeffrey Wilcke | 2015-07-07 | 1 | -2/+8 |
|\ | | | | | cmd,eth,rpc,tests: default coinbase | ||||
| * | eth,miner,rpc: set coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -0/+1 |
| | | |||||
| * | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -2/+7 |
| | | |||||
* | | Registrar and contractInfo handling | zelig | 2015-07-07 | 1 | -1/+12 |
|/ | | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar | ||||
* | core, eth, rpc: proper gas used. Closes #1417 | Jeffrey Wilcke | 2015-07-07 | 1 | -1/+3 |
| | | | | Added some additional backward compatibility code for old receipts | ||||
* | Merge pull request #1283 from ethersphere/frontier/accounts | Jeffrey Wilcke | 2015-07-04 | 1 | -10/+2 |
|\ | | | | | Account management improvements | ||||
| * | require explicit etherbase address for mining. Falling back to primary is ↵ | zelig | 2015-07-03 | 1 | -3/+2 |
| | | | | | | | | risky given it is inconsistent if keys are imported/merged/created or copied/transfered | ||||
| * | unlock multiple passes and obsolete primary | zelig | 2015-07-03 | 1 | -9/+2 |
| | | | | | | | | | | | | | | * multiple passwords allowed in password file * split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass') * remove accounts.Primary method * do not fall back to primary account for mining | ||||
* | | core, eth, miner, xeth: receipt storage fix | Jeffrey Wilcke | 2015-07-04 | 1 | -6/+3 |
| | | | | | | | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042 | ||||
* | | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | | eth/downloader: fix a rare test race on the OSX CI | Péter Szilágyi | 2015-07-03 | 1 | -1/+7 |
|/ | |||||
* | eth, eth/downloader: fix #1231, DOS vulnerability in hash queueing | Péter Szilágyi | 2015-07-01 | 2 | -5/+15 |
| | |||||
* | eth: fix #1371, double lock during block/txn known set limitation | Péter Szilágyi | 2015-07-01 | 1 | -10/+4 |
| | |||||
* | eth/downloader: reduce hash fetches in prep for eth/61 | Péter Szilágyi | 2015-07-01 | 1 | -3/+3 |
| | |||||
* | eth, eth/downloader: transition to eth 61 | Péter Szilágyi | 2015-07-01 | 8 | -140/+689 |
| | |||||
* | eth, eth/downloader: pass the eth protocol version through | Péter Szilágyi | 2015-07-01 | 4 | -36/+45 |
| | |||||
* | eth: add the blocks from numbers protocol message | Péter Szilágyi | 2015-07-01 | 4 | -26/+43 |
| | |||||
* | eth: fix #1319, put an upper limit on the known txns and blocks | Péter Szilágyi | 2015-07-01 | 1 | -0/+19 |
| | |||||
* | eth: clean up peer struct a bit, fix double txn bcast | Péter Szilágyi | 2015-07-01 | 4 | -71/+69 |
| | |||||
* | eth: start cleaning up old protocol implementation, add metrics | Péter Szilágyi | 2015-07-01 | 3 | -39/+105 |
| | |||||
* | cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61 | Péter Szilágyi | 2015-07-01 | 3 | -40/+60 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 3 | -48/+49 |
| | |||||
* | cmd/geth, eth, ethdb: monitor database compactions | Péter Szilágyi | 2015-06-30 | 1 | -15/+24 |
| | |||||
* | gpo non-existent block checks | zsfelfoldi | 2015-06-30 | 1 | -4/+11 |
| | |||||
* | core, eth, rpc: avoid unnecessary block header copying | Felix Lange | 2015-06-30 | 2 | -7/+7 |
| | |||||
* | eth/downloader, eth/fetcher: use core.GenerateChain in tests | Felix Lange | 2015-06-30 | 2 | -236/+140 |
| | | | | | | TestMadeupParentBlockChainAttack has been deleted because it was too hard to port and the attack that it checks the prevention of is being averted in a different way (through a protocol change). | ||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -1/+4 |
| | |||||
* | core/types: make transactions immutable | Felix Lange | 2015-06-30 | 1 | -2/+2 |
| | |||||
* | eth/fetcher: don't drop on future blocks, just not propagate | Péter Szilágyi | 2015-06-29 | 1 | -4/+16 |
| | |||||
* | eth/fetcher: don't double filter/fetch the same block | Péter Szilágyi | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | eth, ethdb: measure database operation latencies too | Péter Szilágyi | 2015-06-24 | 1 | -9/+9 |
| | |||||
* | eth: make sure dbs are lvldb before instrumenting | Péter Szilágyi | 2015-06-24 | 1 | -18/+21 |
| | |||||
* | core, eth, eth/fetcher, ethdb: polish metrics gathering a bit | Péter Szilágyi | 2015-06-24 | 2 | -5/+24 |
| | |||||
* | eth/fetcher: fix failed merge | Péter Szilágyi | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | cmd/geth, eth/fetcher: polish metrics reporting, add some more | Péter Szilágyi | 2015-06-24 | 1 | -10/+15 |
| | |||||
* | cmd/geth, eth/fetcher: initial metrics support | Péter Szilágyi | 2015-06-24 | 1 | -0/+14 |
| | | | | | Conflicts: cmd/geth/admin.go | ||||
* | eth/fetcher: fix a closure data race | Péter Szilágyi | 2015-06-23 | 1 | -2/+3 |
| | |||||
* | eth/fetcher: clean up test assertions | Péter Szilágyi | 2015-06-22 | 1 | -111/+49 |
| | |||||
* | eth/fetcher: remove test sleeps (15s -> 2.8s) | Péter Szilágyi | 2015-06-22 | 2 | -59/+167 |
| | |||||
* | eth/fetcher: handle and (crude) test block memory DOS | Péter Szilágyi | 2015-06-22 | 2 | -23/+105 |
| | |||||
* | eth/fetcher: handle and test block announce DOS attacks | Péter Szilágyi | 2015-06-22 | 2 | -7/+82 |
| | |||||
* | eth/fetcher: lower max cache size, add timeout slack | Péter Szilágyi | 2015-06-19 | 1 | -4/+15 |
| | |||||
* | eth: fix the propagation/announce order for mined blocks | Péter Szilágyi | 2015-06-19 | 1 | -4/+4 |
| | |||||
* | eth/fetcher: since uncles are allowed, drop phase test | Péter Szilágyi | 2015-06-19 | 1 | -51/+0 |
| |