[Top][All Lists]

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

Re: Manually storing DHT content

From: Schanzenbach, Martin
Subject: Re: Manually storing DHT content
Date: Wed, 17 Feb 2021 12:36:48 +0100

Note that DATACACHE technically has a _put API, but you cannot put things into
the datacache of a running DHT service as it manages its own local "cache".
At least that is how I understand the API: you cannot access caches created 
DATACACHE_create() by another service.

You can only put data into the DHT DATACACHE instance by connecting to
the DHT service and using using DHT_put, as Christian said.


> On 17. Feb 2021, at 12:29, Christian Grothoff <> wrote:
> Nope, datastore is _only_ for the file-sharing subsystem, datacache is
> for the DHT (alas DATACACHE does not have such an API, you must use the
> Happy hacking!
> Christian
> On 2/17/21 11:57 AM, Danny wrote:
>> Hey guys,
>> Quick question.
>> Can I use GNUNET_DATASTORE_put for manually storing content that would
>> be available by DHT GET requests from others nodes?
>> Thanks!
>> Danny

Attachment: signature.asc
Description: Message signed with OpenPGP

reply via email to

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