• Juan Batiz-Benet's avatar
    conn: raw []byte, not msg · 7a7bf8d8
    Juan Batiz-Benet authored
    This commit actually removes the previously introduced
    chan net.NetMessage, in favor of raw []byte. It plays
    nicer with crypto/spipe, and it makes more sense in the
    context of a "single connection", i.e. I already know the
    peer I'm talking to, from the connection. The NetMessage
    additional Peer is useful swarm and up.
    7a7bf8d8
interface.go 1.33 KB