diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_mintdb_plugin.h | 4 | ||||
-rw-r--r-- | src/include/taler_signatures.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/include/taler_mintdb_plugin.h b/src/include/taler_mintdb_plugin.h index d8644df8..2d167133 100644 --- a/src/include/taler_mintdb_plugin.h +++ b/src/include/taler_mintdb_plugin.h @@ -715,7 +715,6 @@ struct TALER_MINTDB_Plugin * @param balance the amount that has to be added to the reserve * @param details bank transaction details justifying the increment, * must be unique for each incoming transaction - * @param expiry the new expiration time for the reserve (#3809) * @return #GNUNET_OK upon success; #GNUNET_NO if the given * @a details are already known for this @a reserve_pub, * #GNUNET_SYSERR upon failures (DB error, incompatible currency) @@ -725,8 +724,7 @@ struct TALER_MINTDB_Plugin struct TALER_MINTDB_Session *db, const struct TALER_ReservePublicKeyP *reserve_pub, const struct TALER_Amount *balance, - const char *details, - struct GNUNET_TIME_Absolute expiry); + const char *details); /** diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index f1d27195..70fc1c0a 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -40,6 +40,12 @@ */ #define TALER_CNC_KAPPA 3 +/** + * After what time do idle reserves "expire"? We might want to make + * this a configuration option (eventually). + */ +#define TALER_IDLE_RESERVE_EXPIRATION_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 5) + /*********************************************/ /* Mint offline signatures (with master key) */ /*********************************************/ |