aboutsummaryrefslogtreecommitdiffstats
path: root/eth/fetcher
Commit message (Collapse)AuthorAgeFilesLines
* consensus, core: drop all the legacy custom core error typesPéter Szilágyi2017-04-061-2/+2
|
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-052-9/+9
| | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
* Logger updates 3 (#3730)Péter Szilágyi2017-03-021-39/+19
| | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-32/+35
|
* params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-141-1/+1
| | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-131-1/+1
| | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757.
* params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-021-1/+1
| | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* core/types: remove redundant SignECDSA wrappers, rename to SignTxFelix Lange2017-01-051-1/+1
|
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-1/+2
|
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-1/+1
| | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
* eth/fetcher: small typo fix (#2932)Stein Dekker2016-08-231-1/+1
|
* eth/fetcher: fix a log message formatting issuePéter Szilágyi2016-08-191-1/+1
|
* eth, eth/downloader, eth/fetcher: delete eth/61 codeFelix Lange2016-07-223-212/+24
| | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic.
* accounts, core, eth: pass chain config for chain maker to test DAOPéter Szilágyi2016-07-151-1/+1
|
* eth: various typosLeif Jurvetson2016-03-161-3/+3
|
* core, eth, trie: fix data races and merge/review issuesPéter Szilágyi2015-10-212-16/+59
|
* core, eth: receipt chain reconstructionPéter Szilágyi2015-10-191-1/+1
|
* eth: update metrics collection to handle eth/62 algosPéter Szilágyi2015-08-252-15/+46
|
* eth: port the synchronisation algo to eth/62Péter Szilágyi2015-08-252-105/+767
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-242-16/+18
|
* miner: gas limit strategy, target 3141592 & def gas price 50 ShannonGustav Simonsson2015-08-041-1/+2
|
* all: fix license headers one more timeFelix Lange2015-07-243-3/+3
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-233-12/+12
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-073-0/+48
|
* cmd, core, eth, metrics, p2p: require enabling metricsPéter Szilágyi2015-06-302-23/+23
|
* eth/downloader, eth/fetcher: use core.GenerateChain in testsFelix Lange2015-06-301-80/+43
| | | | | | 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).
* eth/fetcher: don't drop on future blocks, just not propagatePéter Szilágyi2015-06-291-4/+16
|
* eth/fetcher: don't double filter/fetch the same blockPéter Szilágyi2015-06-291-1/+1
|
* core, eth, eth/fetcher, ethdb: polish metrics gathering a bitPéter Szilágyi2015-06-241-5/+5
|
* eth/fetcher: fix failed mergePéter Szilágyi2015-06-241-1/+1
|
* cmd/geth, eth/fetcher: polish metrics reporting, add some morePéter Szilágyi2015-06-241-10/+15
|
* cmd/geth, eth/fetcher: initial metrics supportPéter Szilágyi2015-06-241-0/+14
| | | | | Conflicts: cmd/geth/admin.go
* eth/fetcher: fix a closure data racePéter Szilágyi2015-06-231-2/+3
|
* eth/fetcher: clean up test assertionsPéter Szilágyi2015-06-221-111/+49
|
* eth/fetcher: remove test sleeps (15s -> 2.8s)Péter Szilágyi2015-06-222-59/+167
|
* eth/fetcher: handle and (crude) test block memory DOSPéter Szilágyi2015-06-222-23/+105
|
* eth/fetcher: handle and test block announce DOS attacksPéter Szilágyi2015-06-222-7/+82
|
* eth/fetcher: lower max cache size, add timeout slackPéter Szilágyi2015-06-191-4/+15
|
* eth/fetcher: since uncles are allowed, drop phase testPéter Szilágyi2015-06-191-51/+0
|
* eth/fetcher: allow backward uncle imports tooPéter Szilágyi2015-06-191-2/+3
|
* eth, eth/fetcher: propagate after header verify, announce only on insertPéter Szilágyi2015-06-182-22/+39
|
* eth, eth/fetcher: move propagated block import into fetcherPéter Szilágyi2015-06-182-45/+72
|
* eth/fetcher: make tests thread safePéter Szilágyi2015-06-181-22/+34
|
* eth/fetcher: build longest chain until proven otherwisePéter Szilágyi2015-06-182-30/+94
|
* eth/fetcher: fix premature queue cleanup, general polishesPéter Szilágyi2015-06-181-35/+47
|
* eth, eth/fetcher: define and enforce propagation boundariesPéter Szilágyi2015-06-182-23/+60
|
* eth/fetcher: deduplicate future blocksPéter Szilágyi2015-06-182-25/+71
|
* eth, eth/fetcher: cache future propagated blocks tooPéter Szilágyi2015-06-182-0/+49
|
* eth, eth/fetcher: use an import queue to store out of order blocksPéter Szilágyi2015-06-182-31/+82
|
* eth/fetcher: add test to check for duplicate downloadsPéter Szilágyi2015-06-181-0/+38
|
* eth/fetcher: fix timer reset bug, add initial testsPéter Szilágyi2015-06-182-3/+207
|
* eth, eth/fetcher: separate notification sync mechanismPéter Szilágyi2015-06-181-0/+258