diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-10-05 19:26:04 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-10-05 19:26:04 +0200 |
commit | 1f6c8d0c33e054723115333d94d634a16ddaa7c2 (patch) | |
tree | 1895cb134830f9c836275dc7e0552a8fabfa65da /src/include/taler_exchangedb_plugin.h | |
parent | bcbd909892257d32bcc8ebc85ac2413fc3a26062 (diff) |
refactor h_extensions -> h_policy, and structs accordingly
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 1cca0bc2..31ccf81c 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1380,10 +1380,16 @@ struct TALER_EXCHANGEDB_Deposit char *receiver_wire_account; /** - * Additional details for extensions relevant for this + * Additional details for a policy relevant for this * deposit operation, possibly NULL! */ - json_t *extension_details; + json_t *policy_details; + bool no_policy_details; + + /** + * Hash over the @e policy_details. Only filled if no_policy_details is false. + */ + struct TALER_ExtensionPolicyHashP h_policy; /** * Time when this request was generated. Used, for example, to @@ -1457,6 +1463,12 @@ struct TALER_EXCHANGEDB_DepositListEntry struct TALER_PrivateContractHashP h_contract_terms; /** + * Hash over the poliy data for this deposit + * (remains unknown to the Exchange). + */ + struct TALER_ExtensionPolicyHashP h_policy; + + /** * Hash of the public denomination key used to sign the coin. */ struct TALER_DenominationHashP h_denom_pub; |