aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_heap.c
Commit message (Collapse)AuthorAge
* 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.
* 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.
* simplify GNUNET_CONTAINER_heap_update_cost APIChristian Grothoff2017-01-16
|
* -avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff2016-07-08
|
* -fix (C) noticesChristian Grothoff2016-01-19
|
* fix #3869: outdated FSF addressChristian Grothoff2015-06-30
|
* Convert datastore plugin API to asynchronousDavid Barksdale2015-03-21
|
* -bringing copyright tags up to FSF standardChristian Grothoff2015-02-07
|
* Workaround emscripten bug in returning int64_tDavid Barksdale2015-01-06
| | | | | Emscripten can't return a 64-bit integer from dynamically loaded code.
* malloc -> newLRN2013-12-19
|
* -remove trailing whitespaceChristian Grothoff2013-10-06
|
* changing time measurement from milliseconds to microsecondsChristian Grothoff2013-08-11
|
* -fixesChristian Grothoff2012-12-10
|
* -implementing heap-based datastore backendChristian Grothoff2012-12-07