[hipl-commit] [trunk] Rev 3778: Reduced puzzle difficulty from 10 to 1. This will speed up the BEX for the Initiator.

  • From: Tobias Heer <heer@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 2 Mar 2010 15:10:17 +0200

Committer: Tobias Heer <heer@xxxxxxxxxxxxxxxxx>
Date: Tue Mar 02 14:10:15 2010 +0100
Revision: 3778
Revision-id: heer@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Reduced puzzle difficulty from 10 to 1. This will speed up the BEX for the 
Initiator.

Modified:
  M  hipd/cookie.c

=== modified file 'hipd/cookie.c'
--- hipd/cookie.c       2010-02-15 17:29:10 +0000
+++ hipd/cookie.c       2010-03-02 13:10:15 +0000
@@ -19,7 +19,7 @@
 #include "cookie.h"
 
 #define HIP_PUZZLE_MAX_LIFETIME 60 /* in seconds */
-#define HIP_DEFAULT_COOKIE_K    10ULL
+#define HIP_DEFAULT_COOKIE_K    1ULL /* a difficulty of i leads to approx. 
2^(i-1) hash computations during BEX */
 
 int hip_cookie_difficulty = HIP_DEFAULT_COOKIE_K;

Other related posts:

  • » [hipl-commit] [trunk] Rev 3778: Reduced puzzle difficulty from 10 to 1. This will speed up the BEX for the Initiator. - Tobias Heer