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 <groth...@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