From fc720207e0e513e531b1f266b966a2ffa57b936a Mon Sep 17 00:00:00 2001 From: Ruben de Vries Date: Tue, 24 Mar 2015 14:29:13 +0100 Subject: don't trickle for whitelisted nodes --- src/main.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 936cd43e99..65693b44b7 100644 --- a/src/main.h +++ b/src/main.h @@ -177,7 +177,12 @@ bool LoadBlockIndex(); void UnloadBlockIndex(); /** Process protocol messages received from a given node */ bool ProcessMessages(CNode* pfrom); -/** Send queued protocol messages to be sent to a give node */ +/** + * Send queued protocol messages to be sent to a give node. + * + * @param[in] pto The node which we are sending messages to. + * @param[in] fSendTrickle When true send the trickled data, otherwise trickle the data until true. + */ bool SendMessages(CNode* pto, bool fSendTrickle); /** Run an instance of the script checking thread */ void ThreadScriptCheck(); -- cgit v1.2.3