aboutsummaryrefslogtreecommitdiffstats
path: root/eth/fetcher/fetcher_test.go
Commit message (Collapse)AuthorAgeFilesLines
* 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, eth/downloader, eth/fetcher: delete eth/61 codeFelix Lange2016-07-221-117/+18
| | | | | 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
|
* core, eth, trie: fix data races and merge/review issuesPéter Szilágyi2015-10-211-10/+39
|
* core, eth: receipt chain reconstructionPéter Szilágyi2015-10-191-1/+1
|
* eth: port the synchronisation algo to eth/62Péter Szilágyi2015-08-251-63/+408
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-13/+13
|
* 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-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | 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-071-0/+16
|
* 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: clean up test assertionsPéter Szilágyi2015-06-221-111/+49
|
* eth/fetcher: remove test sleeps (15s -> 2.8s)Péter Szilágyi2015-06-221-58/+151
|
* eth/fetcher: handle and (crude) test block memory DOSPéter Szilágyi2015-06-221-7/+60
|
* eth/fetcher: handle and test block announce DOS attacksPéter Szilágyi2015-06-221-0/+43
|
* eth/fetcher: since uncles are allowed, drop phase testPéter Szilágyi2015-06-191-51/+0
|
* eth, eth/fetcher: propagate after header verify, announce only on insertPéter Szilágyi2015-06-181-7/+11
|
* eth, eth/fetcher: move propagated block import into fetcherPéter Szilágyi2015-06-181-26/+36
|
* 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-181-0/+57
|
* eth, eth/fetcher: define and enforce propagation boundariesPéter Szilágyi2015-06-181-0/+28
|
* eth/fetcher: deduplicate future blocksPéter Szilágyi2015-06-181-0/+36
|
* eth, eth/fetcher: cache future propagated blocks tooPéter Szilágyi2015-06-181-0/+28
|
* eth, eth/fetcher: use an import queue to store out of order blocksPéter Szilágyi2015-06-181-1/+34
|
* 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-181-0/+202