commit 5c36361b04ea28bf18ac618891cd95930366decc parent 91e697579430a6889bd6734216dcdad12b17f163 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 28 Jan 2021 22:28:22 +0100 document suggestion to use timeflakes (#6716) Diffstat:
| M | core/api-merchant.rst | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -1334,6 +1334,8 @@ Reserving inventory interface LockRequest { // UUID that identifies the frontend performing the lock + // It is suggested that clients use a timeflake for this, + // see https://github.com/anthonynsimon/timeflake lock_uuid: UUID; // How long does the frontend intend to hold the lock @@ -1344,6 +1346,12 @@ Reserving inventory } + .. note:: + + The GNUNET_CRYPTO_random_timeflake() C API can be used + to generate such timeflakes for clients written in C. + + Removing products from inventory --------------------------------