aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-03-26 08:32:53 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-03-26 08:33:00 +0100
commit6a1fbc4921ffc645e1ca86e96190da6c203c71d7 (patch)
tree185fffb97cb298b8490ef4290e27815d36dc45c6 /src/main.h
parent687f10d9ec3548f13f929ca14cd813a0919639ec (diff)
parentfc720207e0e513e531b1f266b966a2ffa57b936a (diff)
downloadbitcoin-6a1fbc4921ffc645e1ca86e96190da6c203c71d7.tar.xz
Merge pull request #5942
fc72020 don't trickle for whitelisted nodes (Ruben de Vries)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 09ffc4d28b..ac73b242f1 100644
--- a/src/main.h
+++ b/src/main.h
@@ -167,7 +167,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();