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.
|
* revoked by the exchange.
|
||||||
*/
|
*/
|
||||||
bool revoked;
|
bool revoked;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -2748,13 +2749,16 @@ TALER_EXCHANGE_batch_withdraw2_cancel (
|
|||||||
*/
|
*/
|
||||||
struct TALER_EXCHANGE_AgeWithdrawCoinInput
|
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
|
* the coin: private key, nonces (if applicable) and age restriction
|
||||||
*/
|
*/
|
||||||
const struct TALER_PlanchetMasterSecretP secret[TALER_CNC_KAPPA];
|
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;
|
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,
|
.cipher = dk->key.cipher,
|
||||||
.value = dk->value,
|
.value = dk->value,
|
||||||
.fees = dk->fees,
|
.fees = dk->fees,
|
||||||
.age_mask = kd->age_mask
|
.age_mask = dk->key.age_mask
|
||||||
};
|
};
|
||||||
struct GNUNET_HashCode key;
|
struct GNUNET_HashCode key;
|
||||||
struct GroupData *gd;
|
struct GroupData *gd;
|
||||||
|
@ -34,6 +34,9 @@ EXPIRE_IDLE_SLEEP_INTERVAL = 1 s
|
|||||||
[exchangedb-postgres]
|
[exchangedb-postgres]
|
||||||
CONFIG = "postgres:///talercheck"
|
CONFIG = "postgres:///talercheck"
|
||||||
|
|
||||||
|
[taler-exchange-secmod-cs]
|
||||||
|
LOOKAHEAD_SIGN = 24 days
|
||||||
|
|
||||||
[taler-exchange-secmod-rsa]
|
[taler-exchange-secmod-rsa]
|
||||||
LOOKAHEAD_SIGN = 24 days
|
LOOKAHEAD_SIGN = 24 days
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user