Péter Szilágyi
29b0480cfb
core, eth/downloader: expose the bad hashes, check in downloader
10 years ago
obscuren
c37389f19c
core: check negative value transactions. Closes #1109
10 years ago
Péter Szilágyi
eafdc1f8e3
eth, eth/downloader: surface downloaded block origin, drop on error
10 years ago
Jason Carver
97433f5ef1
expand acronym in log message from TD
...
to total difficulty
10 years ago
Péter Szilágyi
5422fe5125
eth: make the peer set thread safe
10 years ago
Péter Szilágyi
83226762c2
eth, eth/downloader: detect and handle madeup hash attacks
10 years ago
Péter Szilágyi
9ad515d2dc
eth: drop a sync peer if it sends an invalid hash chain
10 years ago
Péter Szilágyi
cd2fb09051
eth, eth/downloader: prevent hash repeater attack
10 years ago
Péter Szilágyi
3eda70c64c
eth, eth/downloader: remove parent verification from the downlaoder
10 years ago
Péter Szilágyi
a4246c2da6
eth, eth/downloader: handle a potential unknown parent attack
10 years ago
obscuren
48bd48876c
eth, eth/downloader: moved pending queue error message to debug
10 years ago
obscuren
05715f27cf
eth: added a cancel method for the downloader
...
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.
10 years ago
Péter Szilágyi
bd5720f480
eth, eth/downloader: handle sync errors a bit more gracefully
10 years ago
Péter Szilágyi
9d188f73b5
eth, eth/downloader: make synchronize thread safe
10 years ago
obscuren
ba2236fa51
cmd/geth, eth: bump version & tmp fix for incorrect TD peers
10 years ago
obscuren
c6ad3aec05
eth,core: changed NewTicker to Tick
10 years ago
obscuren
016f152b36
eth, eth/downloader: Moved block processing & graceful shutdown
...
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
10 years ago