diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-03 15:53:20 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-03 15:53:25 +0200 |
commit | a5ba685d9b5e5dfe7cc7d5f0000325c0803bc9b9 (patch) | |
tree | 6079c3d19e25d2c78c0d7fbb5ed0ffb00180bb86 /core | |
parent | 4d1ef62faf2993399153fd7746f6fa1532b85be9 (diff) | |
download | docs-a5ba685d9b5e5dfe7cc7d5f0000325c0803bc9b9.tar.gz docs-a5ba685d9b5e5dfe7cc7d5f0000325c0803bc9b9.tar.bz2 docs-a5ba685d9b5e5dfe7cc7d5f0000325c0803bc9b9.zip |
document priorities
Diffstat (limited to 'core')
-rw-r--r-- | core/api-merchant.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 0f606460..0e1ff018 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -3829,6 +3829,18 @@ It has the following structure: // The exchange's base URL. url: string; + // How much would the merchant like to use this exchange. + // The wallet should use a suitable exchange with high + // priority. The following priority values are used, but + // it should be noted that they are NOT in any way normative. + // + // 0: likely it will not work (recently seen with account + // restriction that would be bad for this merchant) + // 512: merchant does not know, might be down (merchant + // did not yet get /wire response). + // 1024: good choice (recently confirmed working) + priority: Integer; + // Master public key of the exchange. master_pub: EddsaPublicKey; } |