aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/rlpx_test.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: EIP-8 changesFelix Lange2016-02-191-6/+229
|
* crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar multGustav Simonsson2015-11-301-0/+2
| | | | thanks to Felix Lange (fjl) for help with design & impl
* 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: new dialer, peer management without locksFelix Lange2015-05-251-5/+239
| | | | | | | | | | | | | | | | | | The most visible change is event-based dialing, which should be an improvement over the timer-based system that we have at the moment. The dialer gets a chance to compute new tasks whenever peers change or dials complete. This is better than checking peers on a timer because dials happen faster. The dialer can now make more precise decisions about whom to dial based on the peer set and we can test those decisions without actually opening any sockets. Peer management is easier to test because the tests can inject connections at checkpoints (after enc handshake, after protocol handshake). Most of the handshake stuff is now part of the RLPx code. It could be exported or move to its own package because it is no longer entangled with Server logic.
* p2p: use package rlp to encode messagesFelix Lange2015-03-191-2/+2
| | | | | | | | | | 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-12/+2
| | | | | | | | | 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: make RLPx frame MAC 16 bytes as defined in the specFelix Lange2015-03-041-1/+0
|
* p2p: encrypted and authenticated RLPx frame I/OFelix Lange2015-03-041-17/+29
|
* p2p: add basic RLPx frame I/OFelix Lange2015-03-041-0/+123