aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message_test.go
Commit message (Collapse)AuthorAgeFilesLines
* all: fix go vet warningsFelix Lange2016-04-151-1/+1
|
* p2p: EIP-8 changesFelix Lange2016-02-191-1/+2
|
* 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: use package rlp to encode messagesFelix Lange2015-03-191-20/+4
| | | | | | | | | | Message encoding functions have been renamed to catch any uses. The switch to the new encoder can cause subtle incompatibilities. If there are any users outside of our tree, they will at least be alerted that there was a change. NewMsg no longer exists. The replacements for EncodeMsg are called Send and SendItems.
* p2p: msg.Payload contains list dataFelix Lange2015-03-041-3/+13
| | | | | | | | | With RLPx frames, the message code is contained in the frame and is no longer part of the encoded data. EncodeMsg, Msg.Decode have been updated to match. Code that decodes RLP directly from Msg.Payload will need to change.
* p2p: delete frameRWFelix Lange2015-03-041-46/+0
|
* p2p: integrate p2p/discoverFelix Lange2015-02-061-43/+97
| | | | | | | | | | | | 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
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-061-3/+3
| | | | | | | | | | | | ...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.
* Merge pull request #204 from fjl/fix-p2p-disconnectJeffrey Wilcke2014-12-151-0/+63
|\ | | | | p2p: fix decoding of disconnect reason
| * p2p: add MsgPipe for protocol testingFelix Lange2014-12-151-0/+63
| |
* | Fixed testsobscuren2014-12-101-1/+1
|/
* p2p: remove Msg.Value and MsgLoopFelix Lange2014-11-251-11/+11
|
* p2p: use package rlp for baseProtocolFelix Lange2014-11-251-1/+1
|
* p2p: use package rlpFelix Lange2014-11-251-0/+3
|
* p2p: rework protocol APIFelix Lange2014-11-221-23/+52
|
* initial commit of p2p packagezelig2014-10-231-0/+38