Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -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 information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | p2p: fix close data race | Péter Szilágyi | 2015-06-09 | 1 | -0/+1 |
| | |||||
* | p2p: new dialer, peer management without locks | Felix Lange | 2015-05-25 | 1 | -4/+440 |
| | | | | | | | | | | | | | | | | | | 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: reject messages that cannot be written as simple RLPx frames | Felix Lange | 2015-03-04 | 1 | -0/+5 |
| | | | | | Until chunked frames are implemented we cannot send messages with a size overflowing uint24. | ||||
* | p2p: restore read/write timeouts | Felix Lange | 2015-03-04 | 1 | -0/+5 |
| | | | | They got lost in the transition to rlpxFrameRW. | ||||
* | p2p: make RLPx frame MAC 16 bytes as defined in the spec | Felix Lange | 2015-03-04 | 1 | -12/+19 |
| | |||||
* | p2p: encrypted and authenticated RLPx frame I/O | Felix Lange | 2015-03-04 | 1 | -19/+47 |
| | |||||
* | p2p: add basic RLPx frame I/O | Felix Lange | 2015-03-04 | 1 | -0/+129 |