From 033a5dc93b032a1f1fe6ab1e7d1227b69f0f0c69 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 30 Jul 2022 10:29:24 +0200 Subject: implement taler-auditor-sync support for profit_drains table (#4960) --- src/include/taler_exchangedb_plugin.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 41ef75a65..4f9a41d16 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -228,6 +228,7 @@ enum TALER_EXCHANGEDB_ReplicatedTable TALER_EXCHANGEDB_RT_WADS_OUT_ENTRIES, TALER_EXCHANGEDB_RT_WADS_IN, TALER_EXCHANGEDB_RT_WADS_IN_ENTRIES, + TALER_EXCHANGEDB_RT_PROFIT_DRAINS, }; @@ -588,6 +589,17 @@ struct TALER_EXCHANGEDB_TableData struct TALER_PurseContractSignatureP purse_sig; } wads_in_entries; + struct + { + uint64_t profit_drain_serial_id; + struct TALER_WireTransferIdentifierRawP wtid; + char *account_section; + char *payto_uri; + struct GNUNET_TIME_Timestamp trigger_date; + struct TALER_Amount amount; + struct TALER_MasterSignatureP master_sig; + } profit_drains; + } details; }; -- cgit v1.2.3