summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-18 03:44:59 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-18 03:44:59 +0100
commit6a98b07ff2e75a429982eaf6b00ce54c95a28e8e (patch)
tree02ac61c81c404ea28329d19b6eafcc2a34487499 /src/include
parent5a9d7ac8356e8c44d59de64b55a2df8f7b619e82 (diff)
downloadexchange-6a98b07ff2e75a429982eaf6b00ce54c95a28e8e.tar.gz
exchange-6a98b07ff2e75a429982eaf6b00ce54c95a28e8e.tar.bz2
exchange-6a98b07ff2e75a429982eaf6b00ce54c95a28e8e.zip
add wire_out tracking to exchangedb, including deferred constraint, and to aggregator
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index ef49074e4..4ab3e4a54 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -1640,6 +1640,21 @@ struct TALER_EXCHANGEDB_Plugin
/**
+ * Start a transaction where we transiently violate the foreign
+ * constraints on the "wire_out" table as we insert aggregations
+ * and only add the wire transfer out at the end.
+ *
+ * @param cls the @e cls of this struct with the plugin-specific state
+ * @param session connection to use
+ * @return #GNUNET_OK on success
+ */
+ int
+ (*start_deferred_wire_out) (void *cls,
+ struct TALER_EXCHANGEDB_Session *session);
+
+
+
+ /**
* Store information about an outgoing wire transfer that was executed.
*
* @param cls closure