aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync.go
Commit message (Collapse)AuthorAgeFilesLines
* eth, eth/downloader: don't report stall if fetcher filled the blockPéter Szilágyi2015-07-291-1/+1
|
* 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: clean up peer struct a bit, fix double txn bcastPéter Szilágyi2015-07-011-9/+1
|
* eth, eth/fetcher: separate notification sync mechanismPéter Szilágyi2015-06-181-137/+8
|
* eth, eth/downloader: fix processing interrupt caused by temp cancelPéter Szilágyi2015-06-181-1/+1
|
* eth: don't refetch non fitting blocks to avoid duplicatesPéter Szilágyi2015-06-151-1/+1
|
* eth, eth/downloader: do async block fetches, add dl testsPéter Szilágyi2015-06-151-1/+1
|
* eth, eth/downloader: move block processing into the downlaoderPéter Szilágyi2015-06-151-50/+3
|
* eth, eth/downloader: move peer removal into downloaderPéter Szilágyi2015-06-151-30/+2
|
* eth: dedup fetches to ensure no blocks are pulled twicePéter Szilágyi2015-06-111-5/+23
|
* eth: randomly fetch announced block (don't hammer origin)Péter Szilágyi2015-06-111-4/+5
|
* eth: discard fetched blocks that don't fit (no goroutine)Péter Szilágyi2015-06-111-13/+13
|
* eth: limit number of sent transactions based on message sizeFelix Lange2015-06-091-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 processingPéter Szilágyi2015-06-091-10/+18
|
* eth: fix data race accessing peer.tdPéter Szilágyi2015-06-091-1/+1
|
* eth: fix data race accessing peer.recentHashPéter Szilágyi2015-06-091-3/+4
|
* eth: clean up pending announce download map, polish logsPéter Szilágyi2015-06-091-13/+25
|
* eth: split and handle explicitly vs. download requested blocksPéter Szilágyi2015-06-091-0/+56
|
* eth: fetch announced hashes from origin, periodicallyPéter Szilágyi2015-06-091-3/+55
|
* eth, eth/downloader: fix #1098, elevate empty hash errors to peer dropsPéter Szilágyi2015-06-051-1/+1
|
* core, eth/downloader: expose the bad hashes, check in downloaderPéter Szilágyi2015-05-281-2/+1
|
* core: check negative value transactions. Closes #1109obscuren2015-05-271-1/+0
|
* eth, eth/downloader: surface downloaded block origin, drop on errorPéter Szilágyi2015-05-261-3/+11
|
* expand acronym in log message from TDJason Carver2015-05-231-1/+1
| | | to total difficulty
* eth: make the peer set thread safePéter Szilágyi2015-05-191-17/+19
|
* eth, eth/downloader: detect and handle madeup hash attacksPéter Szilágyi2015-05-151-1/+1
|
* eth: drop a sync peer if it sends an invalid hash chainPéter Szilágyi2015-05-151-1/+1
|
* eth, eth/downloader: prevent hash repeater attackPéter Szilágyi2015-05-151-2/+4
|
* eth, eth/downloader: remove parent verification from the downlaoderPéter Szilágyi2015-05-141-9/+4
|
* eth, eth/downloader: handle a potential unknown parent attackPéter Szilágyi2015-05-141-6/+17
|
* eth, eth/downloader: moved pending queue error message to debugobscuren2015-05-111-1/+2
|
* eth: added a cancel method for the downloaderobscuren2015-05-101-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 gracefullyPéter Szilágyi2015-05-081-26/+28
|
* eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-081-12/+4
|
* cmd/geth, eth: bump version & tmp fix for incorrect TD peersobscuren2015-05-031-0/+7
|
* eth,core: changed NewTicker to Tickobscuren2015-05-031-4/+4
|
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-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