From 8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jun 2022 20:36:44 +0200 Subject: -more work on taler-helper-auditor-reserve p2p audits --- src/include/taler_util.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/include/taler_util.h') diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 607d7672..e5c7b97b 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -417,6 +417,19 @@ char * TALER_payto_validate (const char *payto_uri); +/** + * Create payto://-URI for a given exchange base URL + * and a @a reserve_pub. + * + * @param exchange_url the base URL of the exchange + * @param reserve_pub the public key of the reserve + * @return payto://-URI for the reserve (without receiver-name!) + */ +char * +TALER_reserve_make_payto (const char *exchange_url, + const struct TALER_ReservePublicKeyP *reserve_pub); + + /** * Check that an IBAN number is well-formed. * -- cgit v1.2.3