plugeth/p2p
Felix Lange eb0e7b1b81 eth, p2p: remove EncodeMsg from p2p.MsgWriter
...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.
2015-01-06 12:23:38 +01:00
..
client_identity_test.go Merge 2015-01-05 17:10:42 +01:00
client_identity.go Cleaned up some of that util 2015-01-04 14:20:16 +01:00
message_test.go eth, p2p: remove EncodeMsg from p2p.MsgWriter 2015-01-06 12:23:38 +01:00
message.go eth, p2p: remove EncodeMsg from p2p.MsgWriter 2015-01-06 12:23:38 +01:00
nat.go Cleaned up some of that util 2015-01-04 14:20:16 +01:00
natpmp.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00
natupnp.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00
peer_error.go p2p: use an error type for disconnect requests 2014-12-15 00:28:20 +01:00
peer_test.go eth, p2p: remove EncodeMsg from p2p.MsgWriter 2015-01-06 12:23:38 +01:00
peer.go Merge 2015-01-05 17:10:42 +01:00
protocol_test.go eth, p2p: remove EncodeMsg from p2p.MsgWriter 2015-01-06 12:23:38 +01:00
protocol.go eth, p2p: remove EncodeMsg from p2p.MsgWriter 2015-01-06 12:23:38 +01:00
server_test.go Merge 2015-01-05 17:10:42 +01:00
server.go Merge 2015-01-05 17:10:42 +01:00
testlog_test.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00
testpoc7.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00