plugeth/eth/downloader
Felix Lange 9be5d5cd90 eth/downloader: fix negative balance issue in tests
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.
2015-12-18 12:09:10 +01:00
..
api.go rpc: new RPC implementation with pub/sub support 2015-12-14 16:34:05 +01:00
downloader_test.go eth/downloader: fix negative balance issue in tests 2015-12-18 12:09:10 +01:00
downloader.go eth/downloader: fetch data proportionally to peer capacity 2015-11-19 17:01:39 +02:00
events.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
metrics.go core, eth, trie: direct state trie synchronization 2015-10-19 10:03:09 +03:00
modes.go core, eth, trie: fix data races and merge/review issues 2015-10-21 16:49:55 +03:00
peer.go eth/downloader: fetch data proportionally to peer capacity 2015-11-19 17:01:39 +02:00
queue.go eth/downloader: fetch data proportionally to peer capacity 2015-11-19 17:01:39 +02:00
types.go core, eth: roll back uncertain headers in failed fast syncs 2015-10-19 10:03:10 +03:00