Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eth: dedup fetches to ensure no blocks are pulled twice | Péter Szilágyi | 2015-06-11 | 1 | -5/+23 |
| | |||||
* | eth: randomly fetch announced block (don't hammer origin) | Péter Szilágyi | 2015-06-11 | 1 | -4/+5 |
| | |||||
* | eth: discard fetched blocks that don't fit (no goroutine) | Péter Szilágyi | 2015-06-11 | 1 | -13/+13 |
| | |||||
* | eth: limit number of sent transactions based on message size | Felix Lange | 2015-06-09 | 1 | -0/+94 |
| | | | | | | | | | | | | | | Nodes that are out of sync will queue many transactions, which causes the initial transactions message to grow very large. Larger transactions messages can make communication impossible if the message is too big to send. Big transactions messages also exhaust egress bandwidth, which degrades other peer connections. The new approach to combat these issues is to send transactions in smaller batches. This commit introduces a new goroutine that handles delivery of all initial transaction transfers. Size-limited packs of transactions are sent to one peer at a time, conserving precious egress bandwidth. | ||||
* | eth: fix a data race in the hash announcement processing | Péter Szilágyi | 2015-06-09 | 1 | -10/+18 |
| | |||||
* | eth: fix data race accessing peer.td | Péter Szilágyi | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | eth: fix data race accessing peer.recentHash | Péter Szilágyi | 2015-06-09 | 1 | -3/+4 |
| | |||||
* | eth: clean up pending announce download map, polish logs | Péter Szilágyi | 2015-06-09 | 1 | -13/+25 |
| | |||||
* | eth: split and handle explicitly vs. download requested blocks | Péter Szilágyi | 2015-06-09 | 1 | -0/+56 |
| | |||||
* | eth: fetch announced hashes from origin, periodically | Péter Szilágyi | 2015-06-09 | 1 | -3/+55 |
| | |||||
* | eth, eth/downloader: fix #1098, elevate empty hash errors to peer drops | Péter Szilágyi | 2015-06-05 | 1 | -1/+1 |
| | |||||
* | core, eth/downloader: expose the bad hashes, check in downloader | Péter Szilágyi | 2015-05-28 | 1 | -2/+1 |
| | |||||
* | core: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 1 | -1/+0 |
| | |||||
* | eth, eth/downloader: surface downloaded block origin, drop on error | Péter Szilágyi | 2015-05-26 | 1 | -3/+11 |
| | |||||
* | expand acronym in log message from TD | Jason Carver | 2015-05-23 | 1 | -1/+1 |
| | | | to total difficulty | ||||
* | eth: make the peer set thread safe | Péter Szilágyi | 2015-05-19 | 1 | -17/+19 |
| | |||||
* | eth, eth/downloader: detect and handle madeup hash attacks | Péter Szilágyi | 2015-05-15 | 1 | -1/+1 |
| | |||||
* | eth: drop a sync peer if it sends an invalid hash chain | Péter Szilágyi | 2015-05-15 | 1 | -1/+1 |
| | |||||
* | eth, eth/downloader: prevent hash repeater attack | Péter Szilágyi | 2015-05-15 | 1 | -2/+4 |
| | |||||
* | eth, eth/downloader: remove parent verification from the downlaoder | Péter Szilágyi | 2015-05-14 | 1 | -9/+4 |
| | |||||
* | eth, eth/downloader: handle a potential unknown parent attack | Péter Szilágyi | 2015-05-14 | 1 | -6/+17 |
| | |||||
* | eth, eth/downloader: moved pending queue error message to debug | obscuren | 2015-05-11 | 1 | -1/+2 |
| | |||||
* | eth: added a cancel method for the downloader | obscuren | 2015-05-10 | 1 | -0/+3 |
| | | | | | | | | | Added a cancel method to the downloader which gracefully shuts down any active syncing process (hash fetching or block downloading) and resets the queue and remove any pending blocks. Issue with the downloader which would stall because of an active ongoing process when an invalid block was found. | ||||
* | eth, eth/downloader: handle sync errors a bit more gracefully | Péter Szilágyi | 2015-05-08 | 1 | -26/+28 |
| | |||||
* | eth, eth/downloader: make synchronize thread safe | Péter Szilágyi | 2015-05-08 | 1 | -12/+4 |
| | |||||
* | cmd/geth, eth: bump version & tmp fix for incorrect TD peers | obscuren | 2015-05-03 | 1 | -0/+7 |
| | |||||
* | eth,core: changed NewTicker to Tick | obscuren | 2015-05-03 | 1 | -4/+4 |
| | |||||
* | eth, eth/downloader: Moved block processing & graceful shutdown | obscuren | 2015-05-01 | 1 | -0/+101 |
The downloader is no longer responsible for processing blocks. The eth-protocol handler now takes care of this instead. Added graceful shutdown during block processing. Closes #846 |