aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1064 from karalabe/downloader-attacksJeffrey Wilcke2015-05-221-3/+3
|\ | | | | Fix two additional download vulnerabilities
| * eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-3/+3
| |
* | eth: fix odd method names in peer setPéter Szilágyi2015-05-201-2/+2
|/
* eth: make the peer set thread safePéter Szilágyi2015-05-191-41/+24
|
* eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-131-2/+2
|
* eth: 100% tx propagationobscuren2015-05-131-1/+1
|
* eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-081-4/+4
|
* eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-081-2/+2
|
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-116/+23
| | | | | | | 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
* eth/downloader: delete blocks from queueobscuren2015-04-301-1/+1
|
* core, eth: verify td of received blocksobscuren2015-04-301-1/+21
|
* eth, eth/downloader: remove bad peers from peer setobscuren2015-04-301-7/+21
| | | | Peers in the eth protocol handler are now being ignored for catch up.
* eth: rely on p2p to determine block propagationobscuren2015-04-301-1/+1
|
* core/types, eth: meassure and display propagation timesobscuren2015-04-301-1/+3
|
* core: return the index of the block that failed when inserting a chainobscuren2015-04-291-1/+1
|
* eth: check if downloader is busy before showing log messageobscuren2015-04-291-0/+5
|
* eth: added a few informative messages regarding downloadingobscuren2015-04-241-0/+6
|
* eth, eth/downloader: simplified synchronisation processobscuren2015-04-241-7/+11
|
* eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-241-2/+2
|
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-241-4/+61
|
* eth: cleanupobscuren2015-04-241-5/+1
|
* eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-231-2/+64
| | | | | | | | | Transactions are now propagated to peers from which we have not yet received the transaction. This will significantly reduce the chatter on the network. Moved new mined block handler to the protocol handler and moved transaction handling to protocol handler.
* core: added chain head reset to known blockobscuren2015-04-201-1/+2
|
* Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum ↵obscuren2015-04-191-6/+6
| | | | | | | into fjl-rlp-size-validation Conflicts: eth/protocol.go
* eth: drop blocks with low TDobscuren2015-04-191-3/+3
|
* eth: temp 100% block propagation because of the current state of the netobscuren2015-04-191-2/+2
|
* eth: removed debug messages to stdoutobscuren2015-04-191-2/+2
|
* downloader: don't remove peers. keep them aroundobscuren2015-04-191-0/+11
|
* eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-191-2/+12
|
* downloader: make sure that hashes are only accepted from the active peerobscuren2015-04-181-2/+9
|
* downloader: reset the queue if a peer response with an empty hash setobscuren2015-04-181-1/+1
|
* eth: ignore NewBlockMsg with lower tdobscuren2015-04-181-2/+3
|
* eth: drop blocks that are knownobscuren2015-04-181-0/+6
|
* eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-181-37/+112
| | | | | | | | * Improved block propagation by sending blocks only to peers to which, as far as we know, the peer does not know about. * Made sub protocol its own manager * SubProtocol now contains the p2p.Protocol which is used instead of a function-returning-protocol thing.
* eth: began split up of peers and protocol managerobscuren2015-04-181-0/+224