help-gnunet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexpectly short DHT entry lifetime


From: Schanzenbach, Martin
Subject: Re: Unexpectly short DHT entry lifetime
Date: Tue, 9 May 2023 17:38:54 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Hi Martin,

I just tested this and I don't get results at all. Not even when I am not connected to the network.
This may be related to some recent changes to the DHT.

BR

Am 09.05.23 um 08:02 schrieb marty1885:
Hi all,

I've been messing around with GNUnet and building fun applications with it. One 
thing I noticed recently. Looking at the source code of gnunet-dht-put. The 
default lifetime of a DHT entry should be an hour[1]. But when I run the 
following command. The key `hello` is not found via the get command just 5 
minutes or less later.

gnunet-dht-put -k "hello" -d "world" # Set hello to world
# Running immediately after set works
gnunet-dht-get -k "hello"  -T 10000000
Result 0, type 8:
world
sleep 300
gnunet-dht-get -k "hello"  -T 10000000
# No key found

[1]: https://git.gnunet.org/gnunet.git/tree/src/dht/gnunet-dht-put.c#n235

Am I doing something wrong? My application needs the DHT to bootstrap group 
information.

Best,
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]