eb0e7b1b81
...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. |
||
---|---|---|
.. | ||
test | ||
backend.go | ||
block_pool_test.go | ||
block_pool.go | ||
error.go | ||
peer_util.go | ||
protocol_test.go | ||
protocol.go | ||
wallet.go |