summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-30 10:29:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-30 10:29:24 +0200
commit033a5dc93b032a1f1fe6ab1e7d1227b69f0f0c69 (patch)
tree4ad0a20025f7f04de924b09214602ac179e051f8 /src/include
parent75888adff2549fc8fa9aec9b4e80a37a214345e6 (diff)
downloadexchange-033a5dc93b032a1f1fe6ab1e7d1227b69f0f0c69.tar.gz
exchange-033a5dc93b032a1f1fe6ab1e7d1227b69f0f0c69.tar.bz2
exchange-033a5dc93b032a1f1fe6ab1e7d1227b69f0f0c69.zip
implement taler-auditor-sync support for profit_drains table (#4960)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h12
1 files changed, 12 insertions, 0 deletions
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;
};