[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
through
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.
BR
> On 17. Feb 2021, at 12:29, Christian Grothoff <grothoff@gnunet.org> 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
> GNUNET_DHT_put-API).
>
> 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
>>
>>
>>
>
signature.asc
Description: Message signed with OpenPGP
- Manually storing DHT content, Danny, 2021/02/17
- Re: Manually storing DHT content, Christian Grothoff, 2021/02/17
- Re: Manually storing DHT content,
Schanzenbach, Martin <=
- Re: Manually storing DHT content, Danny, 2021/02/17
- Re: Manually storing DHT content, TheJackiMonster, 2021/02/17
- Re: Manually storing DHT content, Danny, 2021/02/17
- Re: Manually storing DHT content, Schanzenbach, Martin, 2021/02/17
- Re: Manually storing DHT content, Danny, 2021/02/17
- Re: Manually storing DHT content, TheJackiMonster, 2021/02/17