diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-28 22:28:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-28 22:28:22 +0100 |
commit | 5c36361b04ea28bf18ac618891cd95930366decc (patch) | |
tree | f7e66f5358a3434e4ced9eb1ed75cb08a2d60ed2 | |
parent | 91e697579430a6889bd6734216dcdad12b17f163 (diff) | |
download | docs-5c36361b04ea28bf18ac618891cd95930366decc.tar.gz docs-5c36361b04ea28bf18ac618891cd95930366decc.tar.bz2 docs-5c36361b04ea28bf18ac618891cd95930366decc.zip |
document suggestion to use timeflakes (#6716)
-rw-r--r-- | core/api-merchant.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 25f7c154..a9c9d92e 100644 --- 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 -------------------------------- |