diff options
author | Ruben de Vries <ruben@rubensayshi.com> | 2015-03-24 14:29:13 +0100 |
---|---|---|
committer | Ruben de Vries <ruben@rubensayshi.com> | 2015-03-24 14:53:16 +0100 |
commit | fc720207e0e513e531b1f266b966a2ffa57b936a (patch) | |
tree | 5a052f2dfb5d07cec3c948ca57e3b5c9d8fc0312 /src/main.h | |
parent | 2afd919f212e8499d5549e29ac9b8a2d825873d9 (diff) | |
download | bitcoin-fc720207e0e513e531b1f266b966a2ffa57b936a.tar.xz |
don't trickle for whitelisted nodes
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 6 insertions, 1 deletions
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(); |