diff options
-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 -------------------------------- |