diff options
author | ng0 <ng0@n0.is> | 2019-08-16 22:14:01 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-08-16 22:14:01 +0000 |
commit | 094058e35534bd84e2a8b2b86b82c8e6960dabc8 (patch) | |
tree | cd39d2137dfce9b707e01594785e5a1a4cfbdd11 /doc/handbook/chapters | |
parent | 62c2b644cca53198e02032a27b26ce96a7cb32c9 (diff) | |
download | gnunet-094058e35534bd84e2a8b2b86b82c8e6960dabc8.tar.gz gnunet-094058e35534bd84e2a8b2b86b82c8e6960dabc8.zip |
misc fixes.
Diffstat (limited to 'doc/handbook/chapters')
-rw-r--r-- | doc/handbook/chapters/developer.texi | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/handbook/chapters/developer.texi b/doc/handbook/chapters/developer.texi index 3da2dcd88..20d8cf233 100644 --- a/doc/handbook/chapters/developer.texi +++ b/doc/handbook/chapters/developer.texi | |||
@@ -2411,8 +2411,8 @@ any attempts to make the same call later will be allowed or disallowed | |||
2411 | right away. Because of that runtime log level evaluation should not | 2411 | right away. Because of that runtime log level evaluation should not |
2412 | significantly affect the process performance. | 2412 | significantly affect the process performance. |
2413 | Log definition parsing is only done once, at the first call to | 2413 | Log definition parsing is only done once, at the first call to |
2414 | @code{GNUNET_log_setup ()} made by the process (which is usually done soon after | 2414 | @code{GNUNET_log_setup ()} made by the process (which is usually |
2415 | it starts). | 2415 | done soon after it starts). |
2416 | 2416 | ||
2417 | At the moment of writing there is no way to specify logging definitions | 2417 | At the moment of writing there is no way to specify logging definitions |
2418 | from configuration files, only via environment variables. | 2418 | from configuration files, only via environment variables. |
@@ -2576,8 +2576,7 @@ Pretty hard to follow, huh? | |||
2576 | 2576 | ||
2577 | From now on, it is not necessary to include the #if / #endif statements to | 2577 | From now on, it is not necessary to include the #if / #endif statements to |
2578 | achieve the same behavior. The @code{GNUNET_log} and @code{GNUNET_log_from} | 2578 | achieve the same behavior. The @code{GNUNET_log} and @code{GNUNET_log_from} |
2579 | macros take | 2579 | macros take care of it for you, depending on the configure option: |
2580 | care of it for you, depending on the configure option: | ||
2581 | 2580 | ||
2582 | @itemize @bullet | 2581 | @itemize @bullet |
2583 | @item If @code{--enable-logging} is set to @code{no}, the binary will | 2582 | @item If @code{--enable-logging} is set to @code{no}, the binary will |
@@ -2589,8 +2588,7 @@ no effect. Other messages (ERROR, WARNING, INFO, etc) will be included. | |||
2589 | @item If @code{--enable-logging} is set to @code{verbose}, or | 2588 | @item If @code{--enable-logging} is set to @code{verbose}, or |
2590 | @code{veryverbose} the binary will contain DEBUG messages (still, it will | 2589 | @code{veryverbose} the binary will contain DEBUG messages (still, it will |
2591 | be necessary to run with @command{-L DEBUG} or set the DEBUG config option | 2590 | be necessary to run with @command{-L DEBUG} or set the DEBUG config option |
2592 | to show | 2591 | to show them). |
2593 | them). | ||
2594 | @end itemize | 2592 | @end itemize |
2595 | 2593 | ||
2596 | 2594 | ||
@@ -8933,7 +8931,8 @@ independently of the frequency in the input set. Both an element that | |||
8933 | was put into the sampler a single time and an element that was put into | 8931 | was put into the sampler a single time and an element that was put into |
8934 | it a million times have the same probability of being the output. | 8932 | it a million times have the same probability of being the output. |
8935 | This is achieved with exploiting min-wise independent | 8933 | This is achieved with exploiting min-wise independent |
8936 | permutations. In the RPS service we use HMACs: On the initialisation of a sampler | 8934 | permutations. |
8935 | In the RPS service we use HMACs: On the initialisation of a sampler | ||
8937 | element, a key is chosen at random. On each input the HMAC with the | 8936 | element, a key is chosen at random. On each input the HMAC with the |
8938 | random key is computed. The sampler element keeps the element with the | 8937 | random key is computed. The sampler element keeps the element with the |
8939 | minimal HMAC. | 8938 | minimal HMAC. |