From 6a98b07ff2e75a429982eaf6b00ce54c95a28e8e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Mar 2017 03:44:59 +0100 Subject: add wire_out tracking to exchangedb, including deferred constraint, and to aggregator --- src/include/taler_exchangedb_plugin.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/include') 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 @@ -1639,6 +1639,21 @@ struct TALER_EXCHANGEDB_Plugin void *cb_cls); + /** + * 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. * -- cgit v1.2.3