diff options
| author | Christian Grothoff <christian@grothoff.org> | 2017-04-04 16:27:27 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2017-04-04 16:27:27 +0200 | 
| commit | 4b5efa4e8160634fc6cefce8dcedb38d71f76cc6 (patch) | |
| tree | a07f3f48ec395ea5d940a672b7626a8bd4541360 /src/include | |
| parent | 4b82a591c54bec9720181358c8230caa3759363f (diff) | |
towards supporting #3887 in the auditor
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/taler_exchangedb_plugin.h | 20 | 
1 files changed, 6 insertions, 14 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index f6d78aba..c1a7f8f6 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -153,9 +153,9 @@ struct TALER_EXCHANGEDB_Payback  {    /** -   * Public key of the coin that was paid back. +   * Information about the coin that was paid back.     */ -  struct TALER_CoinSpendPublicKeyP coin_pub; +  struct TALER_CoinPublicInfo coin;    /**     * Blinding factor supplied to prove to the exchange that @@ -184,12 +184,6 @@ struct TALER_EXCHANGEDB_Payback     */    struct GNUNET_TIME_Absolute timestamp; -  /** -   * Public key representing the denomination of -   * @e coin_pub. -   */ -  struct TALER_DenominationPublicKey denom_pub; -  }; @@ -914,9 +908,8 @@ typedef int   * @param timestamp when did we receive the payback request   * @param amount how much should be added back to the reserve   * @param reserve_pub public key of the reserve - * @param coin_pub public key of the coin + * @param coin public information about the coin   * @param coin_sig signature with @e coin_pub of type #TALER_SIGNATURE_WALLET_COIN_PAYBACK - * @param h_denom_pub hash of the denomination key of the coin   * @param coin_blind blinding factor used to blind the coin   * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop   */ @@ -926,9 +919,8 @@ typedef int                                      struct GNUNET_TIME_Absolute timestamp,                                      const struct TALER_Amount *amount,                                      const struct TALER_ReservePublicKeyP *reserve_pub, -                                    const struct TALER_CoinSpendPublicKeyP *coin_pub, +                                    const struct TALER_CoinPublicInfo *coin,                                      const struct TALER_CoinSpendSignatureP *coin_sig, -                                    const struct GNUNET_HashCode *h_denom_pub,                                      const struct TALER_DenominationBlindingKeyP *coin_blind); @@ -1979,7 +1971,7 @@ struct TALER_EXCHANGEDB_Plugin     * @param cls closure     * @param session database connection     * @param reserve_pub public key of the reserve that is being refunded -   * @param coin_pub public key of the coin +   * @param coin public information about a coin     * @param coin_sig signature of the coin of type #TALER_SIGNATURE_WALLET_COIN_PAYBACK     * @param coin_blind blinding key of the coin     * @param h_blind_ev blinded envelope, as calculated by the exchange @@ -1994,7 +1986,7 @@ struct TALER_EXCHANGEDB_Plugin    (*insert_payback_request)(void *cls,                              struct TALER_EXCHANGEDB_Session *session,                              const struct TALER_ReservePublicKeyP *reserve_pub, -                            const struct TALER_CoinSpendPublicKeyP *coin_pub, +                            const struct TALER_CoinPublicInfo *coin,                              const struct TALER_CoinSpendSignatureP *coin_sig,                              const struct TALER_DenominationBlindingKeyP *coin_blind,                              const struct TALER_Amount *amount,  | 
