aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocol.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: fix typo (#17446)Wuxiang2018-08-201-1/+1
|
* eth, p2p, rpc/api: polish protocol info gatheringPéter Szilágyi2015-10-281-1/+14
|
* 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
|
* 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