taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit a5ba685d9b5e5dfe7cc7d5f0000325c0803bc9b9
parent 4d1ef62faf2993399153fd7746f6fa1532b85be9
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  3 May 2023 15:53:20 +0200

document priorities

Diffstat:
Mcore/api-merchant.rst | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git 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; }