aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-23 12:34:48 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-23 12:34:48 +0200
commit132359a4440e07177df4afe596be4b16270a47d8 (patch)
treeb964765909b49bddc54f0d2a06818a3da080f80f /src/include/taler_exchangedb_plugin.h
parenta72337a5f39b4e826055974fbc5a3261759ebbec (diff)
add purses-get to build
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h18
1 files changed, 18 insertions, 0 deletions
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
@@ -122,6 +122,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.
*/
struct TALER_KycCompletedEventP