From 132359a4440e07177df4afe596be4b16270a47d8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 23 Apr 2022 12:34:48 +0200 Subject: add purses-get to build --- 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 abc7a7aa..1548bf3d 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -121,6 +121,24 @@ struct TALER_ReserveEventP }; +/** + * Signature of events signalling a purse changed its status. + */ +struct TALER_PurseEventP +{ + /** + * Of type #TALER_DBEVENT_EXCHANGE_PURSE_MERGED or + * #TALER_DBEVENT_EXCHANGE_PURSE_DEPOSITED. + */ + struct GNUNET_DB_EventHeaderP header; + + /** + * Public key of the purse the event is about. + */ + struct TALER_PurseContractPublicKeyP purse_pub; +}; + + /** * Signature of events signalling a KYC process was completed. */ -- cgit v1.2.3