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 @@ -177,7 +177,12 @@ bool LoadBlockIndex();
177
177
void UnloadBlockIndex ();
178
178
/* * Process protocol messages received from a given node */
179
179
bool ProcessMessages (CNode* pfrom);
180
- /* * Send queued protocol messages to be sent to a give node */
180
+ /* *
181
+ * Send queued protocol messages to be sent to a give node.
182
+ *
183
+ * @param[in] pto The node which we are sending messages to.
184
+ * @param[in] fSendTrickle When true send the trickled data, otherwise trickle the data until true.
185
+ */
181
186
bool SendMessages (CNode* pto, bool fSendTrickle );
182
187
/* * Run an instance of the script checking thread */
183
188
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