aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-02 21:55:21 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-02 21:55:21 +0200
commit04c32eafb9194727876469c92b7cbedc008c51ec (patch)
treeae879e12757e0939c3bed52fad2c9b1ac33e769f /src/include
parent5dd03fe359f541f7e1e4849ed4bd38259200f4df (diff)
downloadexchange-04c32eafb9194727876469c92b7cbedc008c51ec.tar.xz
-work on P2P payment details
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h6
-rw-r--r--src/include/taler_exchangedb_plugin.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 2577aaf39..7e44698ff 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -1535,6 +1535,12 @@ struct TALER_EXCHANGE_ReserveHistoryEntry
*/
enum TALER_WalletAccountMergeFlags flags;
+ /**
+ * True if the purse was actually merged, false
+ * if only the @e purse_fee was charged.
+ */
+ bool merged;
+
} merge_details;
} details;
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 8866e6f46..0bc53e1eb 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -1144,6 +1144,12 @@ struct TALER_EXCHANGEDB_PurseMerge
*/
enum TALER_WalletAccountMergeFlags flags;
+ /**
+ * true if the purse was actually successfully merged,
+ * false if the @e purse_fee was charged but the
+ * @e amount was not credited to the reserve.
+ */
+ bool merged;
};