summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-01 19:54:17 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-01 19:54:17 +0200
commit7e2ddb7094d48a41051b4ebd763b8296f6224d6a (patch)
tree42fa7399cfe4d273956b9356a597b4e590156ce8 /core
parent85efbc75fb302299b8c249be9a38b7f5ead3a407 (diff)
downloaddocs-7e2ddb7094d48a41051b4ebd763b8296f6224d6a.tar.gz
docs-7e2ddb7094d48a41051b4ebd763b8296f6224d6a.tar.bz2
docs-7e2ddb7094d48a41051b4ebd763b8296f6224d6a.zip
document /seed API
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 5fe560a3..2fbdfbbf 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -76,6 +76,15 @@ possibly by using HTTPS.
If the "Etag" is missing, the client should not cache the response and instead prompt the user again at the next opportunity. This is usually only the case if the privacy policy was not configured correctly.
+.. http:get:: /seed
+
+ Return an entropy seed. The exchange will return a high-entropy
+ value that will differ for every call. The response is NOT in
+ JSON, but simply high-entropy binary data in the HTTP body.
+ This API can be used by wallets to guard themselves against
+ running on low-entropy (bad PRNG) hardware. Naturally, the entropy
+ returned MUST be mixed with locally generated entropy.
+
.. http:get:: /keys
Get a list of all denomination keys offered by the bank,