only relay signatures to subscribing peers
This commit is contained in:
parent
13246598b8
commit
b59ba777fc
@ -119,6 +119,9 @@ void ProcessMessageInstantX(CNode* pfrom, std::string& strCommand, CDataStream&
|
||||
LOCK(cs_vNodes);
|
||||
BOOST_FOREACH(CNode* pnode, vNodes)
|
||||
{
|
||||
if(!pnode->fRelayTxes)
|
||||
continue;
|
||||
|
||||
pnode->PushMessage("txlvote", ctx);
|
||||
}
|
||||
|
||||
@ -144,7 +147,7 @@ void DoConsensusVote(CTransaction& tx, bool approved, int64_t nBlockHeight)
|
||||
LogPrintf("InstantX::DoConsensusVote - Signature invalid\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
LOCK(cs_vNodes);
|
||||
BOOST_FOREACH(CNode* pnode, vNodes)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user