getting connections working

This commit is contained in:
jed
2012-01-19 12:32:41 -08:00
parent 239e26a56e
commit 92f6ad6d37
9 changed files with 29 additions and 8 deletions

View File

@@ -340,6 +340,7 @@ void Peer::sendHello()
{
newcoin::TMHello* h=new newcoin::TMHello();
// set up parameters
h->set_version(theConfig.VERSION);
PackedMessage::pointer packet(new PackedMessage(PackedMessage::MessagePointer(h), newcoin::mtHELLO));
sendPacket(packet);
}