use DK age group, not global age group
This commit is contained in:
parent
6a483b51ec
commit
6c44755458
@ -125,6 +125,7 @@ struct TALER_EXCHANGE_DenomPublicKey
|
||||
* revoked by the exchange.
|
||||
*/
|
||||
bool revoked;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -2748,13 +2749,16 @@ TALER_EXCHANGE_batch_withdraw2_cancel (
|
||||
*/
|
||||
struct TALER_EXCHANGE_AgeWithdrawCoinInput
|
||||
{
|
||||
/* The master secret from which we derive all other relevant values for
|
||||
/**
|
||||
* The master secret from which we derive all other relevant values for
|
||||
* the coin: private key, nonces (if applicable) and age restriction
|
||||
*/
|
||||
const struct TALER_PlanchetMasterSecretP secret[TALER_CNC_KAPPA];
|
||||
|
||||
/* The denomination of the coin. Must support age restriction, i.e
|
||||
* its .keys.age_mask MUST not be 0 */
|
||||
/**
|
||||
* The denomination of the coin. Must support age restriction, i.e
|
||||
* its .keys.age_mask MUST not be 0
|
||||
*/
|
||||
const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
|
||||
};
|
||||
|
||||
|
@ -1757,7 +1757,7 @@ TALER_EXCHANGE_keys_to_json (const struct TALER_EXCHANGE_Keys *kd)
|
||||
.cipher = dk->key.cipher,
|
||||
.value = dk->value,
|
||||
.fees = dk->fees,
|
||||
.age_mask = kd->age_mask
|
||||
.age_mask = dk->key.age_mask
|
||||
};
|
||||
struct GNUNET_HashCode key;
|
||||
struct GroupData *gd;
|
||||
|
@ -34,6 +34,9 @@ EXPIRE_IDLE_SLEEP_INTERVAL = 1 s
|
||||
[exchangedb-postgres]
|
||||
CONFIG = "postgres:///talercheck"
|
||||
|
||||
[taler-exchange-secmod-cs]
|
||||
LOOKAHEAD_SIGN = 24 days
|
||||
|
||||
[taler-exchange-secmod-rsa]
|
||||
LOOKAHEAD_SIGN = 24 days
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user