diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-12-08 09:47:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-12-08 09:47:23 +0100 |
commit | 19e649dbda86a2e6da76c45fefea9936da417a95 (patch) | |
tree | f3559739ec6da94db726f9ff3cb4a7a2d6f0e7a1 /src/backend/taler-merchant-httpd.h | |
parent | fb3f721df8b4f31b28e89375eca9586149a6c353 (diff) | |
download | merchant-19e649dbda86a2e6da76c45fefea9936da417a95.tar.gz merchant-19e649dbda86a2e6da76c45fefea9936da417a95.tar.bz2 merchant-19e649dbda86a2e6da76c45fefea9936da417a95.zip |
complete implementation of /pay, including storing data to database
Diffstat (limited to 'src/backend/taler-merchant-httpd.h')
-rw-r--r-- | src/backend/taler-merchant-httpd.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h index efecc467..25242617 100644 --- a/src/backend/taler-merchant-httpd.h +++ b/src/backend/taler-merchant-httpd.h @@ -136,19 +136,29 @@ extern json_t *j_wire; */ extern struct GNUNET_HashCode h_wire; - +/** + * Our private key (for the merchant to sign contracts). + */ extern struct GNUNET_CRYPTO_EddsaPrivateKey *privkey; +/** + * Our public key, corresponds to #privkey. + */ extern struct TALER_MerchantPublicKeyP pubkey; - +/** + * Handle to the database backend. + */ extern struct TALER_MERCHANTDB_Plugin *db; - - +/** + * If the frontend does NOT specify an execution date, how long should + * we tell the mint to wait to aggregate transactions before + * executing? This delay is added to the current time when we + * generate the advisory execution time for the mint. + */ extern struct GNUNET_TIME_Relative edate_delay; - /** * Kick MHD to run now, to be called after MHD_resume_connection(). * Basically, we need to explicitly resume MHD's event loop whenever |