File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,12 @@ bool LoadBlockIndex();
167
167
void UnloadBlockIndex ();
168
168
/* * Process protocol messages received from a given node */
169
169
bool ProcessMessages (CNode* pfrom);
170
- /* * Send queued protocol messages to be sent to a give node */
170
+ /* *
171
+ * Send queued protocol messages to be sent to a give node.
172
+ *
173
+ * @param[in] pto The node which we are sending messages to.
174
+ * @param[in] fSendTrickle When true send the trickled data, otherwise trickle the data until true.
175
+ */
171
176
bool SendMessages (CNode* pto, bool fSendTrickle );
172
177
/* * Run an instance of the script checking thread */
173
178
void ThreadScriptCheck ();
Original file line number Diff line number Diff line change @@ -1406,7 +1406,7 @@ void ThreadMessageHandler()
1406
1406
{
1407
1407
TRY_LOCK (pnode->cs_vSend , lockSend);
1408
1408
if (lockSend)
1409
- g_signals.SendMessages (pnode, pnode == pnodeTrickle);
1409
+ g_signals.SendMessages (pnode, pnode == pnodeTrickle || pnode-> fWhitelisted );
1410
1410
}
1411
1411
boost::this_thread::interruption_point ();
1412
1412
}
You can’t perform that action at this time.
0 commit comments