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 @@ -179,7 +179,12 @@ bool LoadBlockIndex();
179179void UnloadBlockIndex ();
180180/* * Process protocol messages received from a given node */
181181bool ProcessMessages (CNode* pfrom);
182- /* * Send queued protocol messages to be sent to a give node */
182+ /* *
183+ * Send queued protocol messages to be sent to a give node.
184+ *
185+ * @param[in] pto The node which we are sending messages to.
186+ * @param[in] fSendTrickle When true send the trickled data, otherwise trickle the data until true.
187+ */
183188bool SendMessages (CNode* pto, bool fSendTrickle );
184189/* * Run an instance of the script checking thread */
185190void ThreadScriptCheck ();
Original file line number Diff line number Diff line change @@ -1456,7 +1456,7 @@ void ThreadMessageHandler()
14561456 {
14571457 TRY_LOCK (pnode->cs_vSend , lockSend);
14581458 if (lockSend)
1459- g_signals.SendMessages (pnode, pnode == pnodeTrickle);
1459+ g_signals.SendMessages (pnode, pnode == pnodeTrickle || pnode-> fWhitelisted );
14601460 }
14611461 boost::this_thread::interruption_point ();
14621462 }
You can’t perform that action at this time.
0 commit comments