diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-10 16:34:01 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-10 16:34:01 +0200 |
commit | 6a483b51ec6b857982a45d5215834c99a827066f (patch) | |
tree | e73657ce26e140a1b18925e8f7335a0432908329 /src/include/taler_json_lib.h | |
parent | 66f9a5b5e5431b6a24352e8ce95e30c8b00a6d92 (diff) | |
download | exchange-6a483b51ec6b857982a45d5215834c99a827066f.tar.xz |
fix alignment issue, ensure we hash over packed structure to avoid non-determinism
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r-- | src/include/taler_json_lib.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index d0749808d..e2d54e825 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -380,26 +380,6 @@ TALER_JSON_spec_amount_any_nbo (const char *name, TALER_JSON_pack_amount ("account_fee", &(gfs)->account), \ TALER_JSON_pack_amount ("purse_fee", &(gfs)->purse) -/** - * Group of Denominations. These are the common fields of an array of - * denominations. - * - * The corresponding JSON-blob will also contain an array of particular - * denominations with only the timestamps, cipher-specific public key and the - * master signature. - * - **/ -struct TALER_DenominationGroup -{ - enum TALER_DenominationCipher cipher; - struct TALER_Amount value; - struct TALER_DenomFeeSet fees; - struct TALER_AgeMask age_mask; - - // hash is/should be the XOR of all SHA-512 hashes of the public keys in this - // group - struct GNUNET_HashCode hash; -}; /** * Generate a parser for a group of denominations. |