[hipl-users] Re: Change Puzzle dufficulty

  • From: Miika Komu <miika.komu@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Thu, 03 Jul 2008 14:47:59 +0200

Lina wrote:

Hi,

there is also the hipconf puzzle command to change this.

Hello ,

I wanna ask about the  possible changes in puzzle difficulty, ie K value.

I saw in the code it's set by default to 10,in cookie.h.

To change that, normally in cookie.c
I have to change the line:
#include "cookie.h"

int hip_cookie_difficulty = HIP_DEFAULT_COOKIE_K;

by,

#include "cookie.h"

int hip_cookie_difficulty = my new values;

And each time, vary the K value and run hipd/hipd to saw the impact on hip base exchange duration.
Please, some one correct me if I am wrong.
thanks

------------------------------------------------------------------------
Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit ! <http://www.windowslive.fr/majmessenger.asp>


Other related posts: