From 0661859600acb4592fe249fc80b5dc06a3cf0262 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Sat, 15 Nov 2014 08:48:34 -0700 Subject: [PATCH] broadcast dseep to all --- src/activemasternode.cpp | 9 +++++++-- src/clientversion.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/activemasternode.cpp b/src/activemasternode.cpp index a61eee3b41..3487248638 100644 --- a/src/activemasternode.cpp +++ b/src/activemasternode.cpp @@ -158,8 +158,13 @@ void CActiveMasternode::RegisterAsMasterNode(bool stop) LogPrintf("CActiveMasternode::RegisterAsMasterNode() - Masternode input = %s\n", vinMasternode.ToString().c_str()); if (stop) isCapableMasterNode = MASTERNODE_STOPPED; - - RelayDarkSendElectionEntryPing(vinMasternode, vchMasterNodeSignature, masterNodeSignatureTime, stop); + + //relay to all peers + LOCK(cs_vNodes); + BOOST_FOREACH(CNode* pnode, vNodes) + { + pnode->PushMessage("dseep", vinMasternode, vchMasterNodeSignature, masterNodeSignatureTime, stop); + } } // diff --git a/src/clientversion.h b/src/clientversion.h index a02eec0e15..bf060cf164 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,7 +9,7 @@ #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 10 #define CLIENT_VERSION_REVISION 16 -#define CLIENT_VERSION_BUILD 7 +#define CLIENT_VERSION_BUILD 8 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true