From 532d4ad0dca62055056e5b6093e82daa3541f690 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 10 Feb 2022 23:39:00 +0100 Subject: -fixes to tests, and half-baked fixes for CS-/link (still fails) --- src/include/taler_exchangedb_plugin.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 8269672f..1cd90c28 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -317,6 +317,7 @@ struct TALER_EXCHANGEDB_TableData uint64_t denominations_serial; void *coin_ev; size_t coin_ev_size; + struct TALER_ExchangeWithdrawValues ewv; // h_coin_ev omitted, to be recomputed! struct TALER_BlindedDenominationSignature ev_sig; } refresh_revealed_coins; @@ -1368,12 +1369,23 @@ struct TALER_EXCHANGEDB_LinkList */ struct TALER_BlindedDenominationSignature ev_sig; + /** + * Exchange-provided values during the coin generation. + */ + struct TALER_ExchangeWithdrawValues alg_values; + /** * Signature of the original coin being refreshed over the * link data, of type #TALER_SIGNATURE_WALLET_COIN_LINK */ struct TALER_CoinSpendSignatureP orig_coin_link_sig; + /** + * Offset that generated this coin in the refresh + * operation. + */ + uint32_t coin_refresh_offset; + }; @@ -1645,6 +1657,12 @@ struct TALER_EXCHANGEDB_RefreshRevealedCoin */ struct TALER_BlindedDenominationSignature coin_sig; + /** + * Values contributed from the exchange to the + * coin generation (see /csr). + */ + struct TALER_ExchangeWithdrawValues exchange_vals; + /** * Blinded message to be signed (in envelope). */ -- cgit v1.2.3