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();
177177void UnloadBlockIndex ();
178178/* * Process protocol messages received from a given node */
179179bool 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+ */
181186bool SendMessages (CNode* pto, bool fSendTrickle );
182187/* * Run an instance of the script checking thread */
183188void ThreadScriptCheck ();
Original file line number Diff line number Diff line change @@ -1406,7 +1406,7 @@ void ThreadMessageHandler()
14061406 {
14071407 TRY_LOCK (pnode->cs_vSend , lockSend);
14081408 if (lockSend)
1409- g_signals.SendMessages (pnode, pnode == pnodeTrickle);
1409+ g_signals.SendMessages (pnode, pnode == pnodeTrickle || pnode-> fWhitelisted );
14101410 }
14111411 boost::this_thread::interruption_point ();
14121412 }
You can’t perform that action at this time.
0 commit comments