diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-04 17:14:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-04 17:14:54 +0200 |
commit | 7c0de44a2b62fe47168eaa857c038901533bd48b (patch) | |
tree | 144110b7380625f12b3fca444c9b52514dc33443 /src/include/taler_exchangedb_plugin.h | |
parent | 2de2b6e3cfbd6e766d02b3c44e2238aafaa91baa (diff) | |
download | exchange-7c0de44a2b62fe47168eaa857c038901533bd48b.tar.xz |
towards LP support for GET /deposits (#7808)
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index d025b5327..d55f96421 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -149,7 +149,35 @@ struct TALER_EXCHANGEDB_DenominationKeyInformation GNUNET_NETWORK_STRUCT_BEGIN /** - * Signature of events signalling a reserve got funding. + * Events signalling that a coin deposit status + * changed. + */ +struct TALER_CoinDepositEventP +{ + /** + * Of type #TALER_DBEVENT_EXCHANGE_DEPOSIT_STATUS_CHANGED. + */ + struct GNUNET_DB_EventHeaderP header; + + /** + * The coin's public key. + */ + struct TALER_CoinSpendPublicKeyP coin_pub; + + /** + * The Merchant's public key. + */ + struct TALER_MerchantPublicKeyP merchant_pub; + + /** + * Hash over the wiring information of the merchant. + */ + struct TALER_MerchantWireHashP h_wire; + +}; + +/** + * Events signalling a reserve got funding. */ struct TALER_ReserveEventP { |