aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/gnunet-service-datastore.c
Commit message (Collapse)AuthorAge
* BUILD: Move dht/datastore to service/cliMartin Schanzenbach2023-10-18
|
* UTIL: Allow only inlcusion of util glib-style.Martin Schanzenbach2022-12-04
|
* BUILD: Attempt to disentable platform.h, gnunet_common.h and ↵Martin Schanzenbach2022-12-04
| | | | gnunet_private_config.h insanity
* -DOC: Documentation cleanup pass through DATASTORE subsystemWillow Liquorice2022-10-03
|
* -fix leakChristian Grothoff2021-12-29
|
* Revert "-coverity: use after free"Martin Schanzenbach2021-05-15
| | | | This reverts commit 168e501991b9506b588e1180527dad9c9662ae0c.
* -coverity: use after freeMartin Schanzenbach2021-05-15
|
* -Fix several incorrect uses of `i.e.'Alessio Vanni2021-04-24
| | | | With some other changes to sentences here and there as I found appropriate.
* GNUNET_free_non_null -> GNUNET_freeChristian Grothoff2020-07-05
|
* tighten formatting rulesChristian Grothoff2019-10-31
|
* global reindent, now with uncrustify hook enabledChristian Grothoff2019-10-05
|
* uncrustify as demanded.ng02019-09-08
|
* first step to remove plibcng02019-09-06
|
* src: for every AGPL3.0 file, add SPDX identifier.ng02019-01-14
|
* paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX2018-06-05
|
* [datastore] Create remove plugin API callDavid Barksdale2017-04-16
| | | | | | The only use of vhash in the get_key call was for removing, split that out into its own function. This simplifies the get_key call and removes the need for some indexes, speeding up insertion into the database.
* [datastore] Combine put and update plugin APIsDavid Barksdale2017-04-16
| | | | This resolves issue #4965.
* [datastore] Return and update replicationDavid Barksdale2017-03-22
| | | | | | This fixes a couple FIXMEs in the datastore code. The replication value is now returned from the datastore and the update function can increase the replication.
* [datastore] Fix #3743David Barksdale2017-03-19
| | | | | | | | | | | | | | | | | | | | This change adds support for key == NULL to the datastore plugins and replaces the offset argument with a next_uid and random arguments to increase performance in the key == NULL case. With the offset argument a datastore plugin would have to count all matching keys before fetching the key at the right offset, which would iterate over the entire database in the case of key == NULL. The offset argument was used in two ways: to iterate over a set of matching values and to start iteration at a random matching value. The new API seperates these into two arguments: if random is true it will return a random matching value, otherwise next_uid can be set to uid + 1 to return the next matching value. The random argument was not added to get_zero_anonymity. This function is used to periodically insert zero anonymity values into the DHT. I don't think it's necessary to randomize this.
* more renamings relating to 'new' service now just being the 'normal' serviceChristian Grothoff2017-03-17
|
* remove empty files, fix indentationChristian Grothoff2017-03-10
|
* W32: cast ntohl() result to uint32_tРуслан Ижбулатов2017-02-25
| | | | W32 version of ntohl() returns u_long. Thank you, Microsoft!
* Restrict update to positive priority deltasDavid Barksdale2017-02-20
| | | | | This is only ever called with positive values and the mysql and postgres plugins were not handling negative values correctly anyway.
* Remove unused GNUNET_DATASTORE_update() API callDavid Barksdale2017-02-20
|
* converting datastore to new MQ APIChristian Grothoff2016-09-23
|
* -avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff2016-07-08
|
* -fix loglevelChristian Grothoff2016-07-08
|
* misc fixesChristian Grothoff2016-07-06
|
* -sane log levelChristian Grothoff2016-06-25
|
* refactoring datastore API to use MQ API, also fixing misc. bugs in new mysql ↵Christian Grothoff2016-06-24
| | | | backend
* update statistics API to use new MQ API style, also get rid of timeout argumentChristian Grothoff2016-06-21
|
* fixing compiler warningsChristian Grothoff2016-05-06
|
* implementing new scheduler shutdown semanticsChristian Grothoff2016-04-30
|
* small API change: do no longer pass rarely needed ↵Christian Grothoff2016-04-09
| | | | GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()
* -bugfix, adding comments, fixing indentChristian Grothoff2016-03-14
|
* -fix (C) noticesChristian Grothoff2016-01-19
|
* Fix UAF in asynchronous datastore pluginsDavid Barksdale2015-11-28
|
* -reduce autostarting for tests, reduce timeoutsChristian Grothoff2015-08-03
|
* -adding missing 'const' decls, fixing indentation / doxygen a bitChristian Grothoff2015-07-18
|
* fix #3869: outdated FSF addressChristian Grothoff2015-06-30
|
* Convert datastore plugin API to asynchronousDavid Barksdale2015-03-21
|
* -fix segvChristian Grothoff2015-03-07
|
* -bringing copyright tags up to FSF standardChristian Grothoff2015-02-07
|
* suspend server while handlers are not in placeChristian Grothoff2015-01-07
|
* Workaround emscripten bug in returning int64_tDavid Barksdale2015-01-06
| | | | | Emscripten can't return a 64-bit integer from dynamically loaded code.
* Check return value of GNUNET_STATISTICS_getDavid Barksdale2015-01-05
| | | | | Or we could always call the callback with GNUNET_SYSERR.
* -delay serving requests until plugin is readyChristian Grothoff2014-12-24
|
* making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or ↵Christian Grothoff2014-12-24
| | | | even fully address #3247