aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocol.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: support protocol version negotiationPéter Szilágyi2015-06-261-4/+6
|
* p2p: print Cap as name/versionFelix Lange2015-02-141-0/+6
|
* p2p: integrate p2p/discoverFelix Lange2015-02-061-248/+0
| | | | | | | | | | | | Overview of changes: - ClientIdentity has been removed, use discover.NodeID - Server now requires a private key to be set (instead of public key) - Server performs the encryption handshake before launching Peer - Dial logic takes peers from discover table - Encryption handshake code has been cleaned up a bit - baseProtocol is gone because we don't exchange peers anymore - Some parts of baseProtocol have moved into Peer instead
* fix protocol to accomodate privkeyzelig2015-02-061-0/+4
|
* p2p: move peerList back into baseProtocolFelix Lange2015-01-061-1/+23
| | | | It had been moved to Peer, probably for debugging.
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-061-5/+5
| | | | | | | | | | | | ...and make it a top-level function instead. The original idea behind having EncodeMsg in the interface was that implementations might be able to encode RLP data to their underlying writer directly instead of buffering the encoded data. The encoder will buffer anyway, so that doesn't matter anymore. Given the recent problems with EncodeMsg (copy-pasted implementation bug) I'd rather implement once, correctly.
* Mergeobscuren2015-01-061-41/+13
|
* p2p: use an error type for disconnect requestsFelix Lange2014-12-151-2/+1
| | | | Test-tastic.
* p2p: fix decoding of disconnect reason (fixes #200)Felix Lange2014-12-121-2/+2
|
* p2p: use package rlp for baseProtocolFelix Lange2014-11-251-51/+56
|
* p2p: API cleanup and PoC 7 compatibilityFelix Lange2014-11-221-218/+194
| | | | | Whoa, one more big commit. I didn't manage to untangle the changes while working towards compatibility.
* p2p: fix issues found during reviewFelix Lange2014-11-221-4/+1
|
* p2p: rework protocol APIFelix Lange2014-11-221-157/+196
|
* initial commit of p2p packagezelig2014-10-231-0/+278