diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-24 17:25:00 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-24 17:25:00 +0100 |
commit | d5acf537323bc8c2e04844b4d0c2521406011db8 (patch) | |
tree | 5970ad2b6d5f4483da2f18659f3203f2815bc8df /src/include | |
parent | f052af1e6bc9532c7a924ca3e8edba2e990b3b83 (diff) |
make kappa global fixed constant, not something to be negotiated, KISS
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_signatures.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index b8fe8a7b7..3ad97a577 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -31,6 +31,17 @@ #include "taler_util.h" /** + * Cut-and-choose size for refreshing. Client looses the gamble (of + * unaccountable transfers) with probability 1/KAPPA. Refresh cost + * increases linearly with KAPPA, and 3 is sufficient up to a + * income/sales tax of 66% of total transaction value. As there is + * no good reason to change this security parameter, we declare it + * fixed and part of the protocol. + */ +#define KAPPA 3 + + +/** * Purpose for signing public keys signed * by the mint master key. */ |