aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
AgeCommit message (Collapse)Author
2018-06-07paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX
2018-06-07glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX
2018-06-05first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX
2017-03-22[datastore] Return and update replicationDavid Barksdale
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.
2017-03-19[datastore] Fix #3743David Barksdale
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.
2017-02-20Remove unused GNUNET_DATASTORE_update() API callDavid Barksdale
2016-07-20-skip mysql tests properly if mysql is not configured correctlyChristian Grothoff
2016-07-08-avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff
2016-06-24refactoring datastore API to use MQ API, also fixing misc. bugs in new mysql ↵Christian Grothoff
backend
2016-04-09small API change: do no longer pass rarely needed ↵Christian Grothoff
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()
2016-03-14-bugfix, adding comments, fixing indentChristian Grothoff
2016-01-19-fix (C) noticesChristian Grothoff
2015-08-03-reduce autostarting for tests, reduce timeoutsChristian Grothoff
2015-08-03-cleaning up test logic, modernizing calls, improving test documentationChristian Grothoff
2015-06-30fix #3869: outdated FSF addressChristian Grothoff
2015-02-07-bringing copyright tags up to FSF standardChristian Grothoff
2015-01-07suspend server while handlers are not in placeChristian Grothoff
2014-12-11adding single location for no_forcestart configuration listChristian Grothoff
2013-12-19malloc -> newLRN
2013-10-06-remove trailing whitespaceChristian Grothoff
2013-08-11changing time measurement from milliseconds to microsecondsChristian Grothoff
2012-12-21-renaming testing-new.h to testing.h, bumping library versionsChristian Grothoff
2012-06-20-fixes for api change in testing librarySree Harsha Totakura
2012-06-12-consistently use struct GNUNET_HashCodeChristian Grothoff
2012-06-10-using new testing api to determine plugin nameChristian Grothoff
2012-06-10-using testing in datastore testsChristian Grothoff
2012-05-08Renamed GNUNET_OS_process_close to GNUNET_OS_process_destroyBart Polot
2012-04-24-trying to fix test shutdown sequence if database not setupChristian Grothoff
2012-02-27enabling use of pipes for signal communication also on UNIX to enable future ↵Christian Grothoff
integration with Java services
2012-02-26-verbose is independent of loggingChristian Grothoff
2011-12-30-LRN: use FPRINTF -- #2051Christian Grothoff
2011-12-19adding min_expiration argument to GNUNET_DATASTORE_ContinuationWithStatus ↵Christian Grothoff
callback to communicate which content has a chance of being stored in the medium term
2011-11-04curly wars / auto-indentationChristian Grothoff
2011-10-04LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging callsChristian Grothoff
(#1805).
2011-09-14better reportingChristian Grothoff
2011-08-16even nicer indentation, thanks to LRN's indent patchChristian Grothoff
2011-08-15indentationChristian Grothoff
2011-08-15indentationChristian Grothoff
2011-05-04sleeepChristian Grothoff
2011-04-26datastore and fs fixes from EasterChristian Grothoff
2011-04-15mysql fixesChristian Grothoff
2011-04-04sqlite clean upChristian Grothoff
2011-04-03improving datastore API --- not working yetChristian Grothoff
2011-04-03changing datastore API to support replication level --- not fully ↵Christian Grothoff
implemented --- and adding GNUNET_FS_BlockOptions struct to replace prio/anonymity/expiration+replication args
2011-03-25better APIChristian Grothoff
2010-12-21fixChristian Grothoff
2010-12-19LRN patch from SVN 1630Christian Grothoff
2010-11-05big scheduler refactoring, expect some issuesNathan S. Evans
2010-11-03style improvments wrt Mantis 1614 patchChristian Grothoff
2010-11-03original patch from Mantis 1614Christian Grothoff