net: push only raw data into CConnman
commitc7be56dceff625991cb2884f2ce053996ac613cd
authorCory Fields <cory-nospam-@coryfields.com>
Fri, 11 Nov 2016 01:17:30 +0000 (10 20:17 -0500)
committerCory Fields <cory-nospam-@coryfields.com>
Fri, 25 Nov 2016 17:37:33 +0000 (25 12:37 -0500)
tree7a3ebc60d1d95ad377a9b000f42227b083e64b3b
parent2ec935dcaab9557addcf73c33aa7f2db8cc01fee
net: push only raw data into CConnman

This fixes one of the last major layer violations in the networking stack.

The network side is no longer in charge of message serialization, so it is now
decoupled from Bitcoin structures. Only the header is serialized and attached
to the payload.
src/main.cpp
src/net.cpp
src/net.h