aboutsummaryrefslogtreecommitdiffstats
path: root/eth/peer.go
Commit message (Collapse)AuthorAgeFilesLines
* eth: fix data race accessing peer.tdPéter Szilágyi2015-06-091-11/+30
|
* eth: fix data race accessing peer.recentHashPéter Szilágyi2015-06-091-6/+25
|
* Merge pull request #1188 from karalabe/newblockhashes-proposalJeffrey Wilcke2015-06-091-0/+7
|\ | | | | eth: implement the NewBlockHashes protocol proposal
| * eth: mark blocks as known when broadcasting hashes tooPéter Szilágyi2015-06-081-0/+3
| |
| * eth: implement the NewBlockHashes protocol proposalPéter Szilágyi2015-06-081-0/+4
| |
* | eth/downloader: cap the hash ban set, add test for itPéter Szilágyi2015-06-081-1/+1
|/
* Merge pull request #1064 from karalabe/downloader-attacksJeffrey Wilcke2015-05-221-2/+3
|\ | | | | Fix two additional download vulnerabilities
| * eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-2/+3
| |
* | eth: fix odd method names in peer setPéter Szilágyi2015-05-201-5/+5
|/
* eth: remote a superfluous peerSet methodPéter Szilágyi2015-05-191-12/+0
|
* eth: make the peer set thread safePéter Szilágyi2015-05-191-10/+119
|
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-241-6/+16
|
* eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-231-0/+6
| | | | | | | | | 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.
* eth: drop blocks with low TDobscuren2015-04-191-2/+4
|
* eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-181-0/+6
| | | | | | | | * 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/+137