diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-06 22:36:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-06 22:36:29 +0100 |
commit | 7db909dd12fd03c7cce21b9e590cc66dd729f867 (patch) | |
tree | 47c66956a3c79d7cba2409eacf7953ae97cb002a /src/exchange/taler-exchange-httpd_keys.h | |
parent | 22c9321e67c54c581eca7ad8428267b0b14b9425 (diff) | |
download | exchange-7db909dd12fd03c7cce21b9e590cc66dd729f867.tar.gz exchange-7db909dd12fd03c7cce21b9e590cc66dd729f867.tar.bz2 exchange-7db909dd12fd03c7cce21b9e590cc66dd729f867.zip |
record DB replies for /keys in memory
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h index 078838615..24eed4cac 100644 --- a/src/exchange/taler-exchange-httpd_keys.h +++ b/src/exchange/taler-exchange-httpd_keys.h @@ -29,6 +29,12 @@ #define TALER_EXCHANGE_HTTPD_KEYS_H /** + * Signatures of an auditor over a denomination key of this exchange. + */ +struct TEH_AuditorSignature; + + +/** * @brief All information about a denomination key (which is used to * sign coins into existence). */ @@ -56,13 +62,23 @@ struct TEH_DenominationKey * The long-term offline master key's signature for this denomination. * Signs over @e h_denom_pub and @e meta. */ - struct TALER_MasterSignatureP master_sig_validity; + struct TALER_MasterSignatureP master_sig; + + /** + * We store the auditor signatures for this denomination in a DLL. + */ + struct TEH_AuditorSignature *as_head; + + /** + * We store the auditor signatures for this denomination in a DLL. + */ + struct TEH_AuditorSignature *as_tail; /** - * The master key's signature to revoke this denomination, or all zero - * if the denomination has NOT yet been revoked. + * Set to 'true' if this denomination has been revoked and recoup is + * thus supported right now. */ - struct TALER_MasterSignatureP master_sig_revocation; + bool recoup_possible; }; |