summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-24 17:25:00 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-24 17:25:00 +0100
commitd5acf537323bc8c2e04844b4d0c2521406011db8 (patch)
tree5970ad2b6d5f4483da2f18659f3203f2815bc8df /src/include/taler_signatures.h
parentf052af1e6bc9532c7a924ca3e8edba2e990b3b83 (diff)
downloadexchange-d5acf537323bc8c2e04844b4d0c2521406011db8.tar.gz
exchange-d5acf537323bc8c2e04844b4d0c2521406011db8.tar.bz2
exchange-d5acf537323bc8c2e04844b4d0c2521406011db8.zip
make kappa global fixed constant, not something to be negotiated, KISS
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h11
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.
*/