aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocol_test.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: improve test for peers messageFelix Lange2015-01-061-21/+43
| | | | | The test now checks that the number of of addresses is correct and terminates cleanly.
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-061-2/+2
| | | | | | | | | | | | ...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-2/+80
|
* p2p: add test for base protocol disconnectFelix Lange2014-12-151-0/+58