Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | p2p: improve test for peers message | Felix Lange | 2015-01-06 | 1 | -21/+43 |
| | | | | | The test now checks that the number of of addresses is correct and terminates cleanly. | ||||
* | eth, p2p: remove EncodeMsg from p2p.MsgWriter | Felix Lange | 2015-01-06 | 1 | -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. | ||||
* | Merge | obscuren | 2015-01-06 | 1 | -2/+80 |
| | |||||
* | p2p: add test for base protocol disconnect | Felix Lange | 2014-12-15 | 1 | -0/+58 |