do not apply 'now' restriction on anchor finding
This commit is contained in:
parent
b696e1db1d
commit
3a4429aa00
@ -24,6 +24,7 @@ value = EUR:0.10
|
|||||||
duration_overlap = 5 minutes
|
duration_overlap = 5 minutes
|
||||||
duration_withdraw = 7 days
|
duration_withdraw = 7 days
|
||||||
duration_spend = 2 years
|
duration_spend = 2 years
|
||||||
|
duration_legal = 3 years
|
||||||
fee_withdraw = EUR:0.01
|
fee_withdraw = EUR:0.01
|
||||||
fee_deposit = EUR:0.01
|
fee_deposit = EUR:0.01
|
||||||
fee_refresh = EUR:0.01
|
fee_refresh = EUR:0.01
|
||||||
@ -34,6 +35,7 @@ value = EUR:5
|
|||||||
duration_overlap = 5 minutes
|
duration_overlap = 5 minutes
|
||||||
duration_withdraw = 7 days
|
duration_withdraw = 7 days
|
||||||
duration_spend = 2 years
|
duration_spend = 2 years
|
||||||
|
duration_legal = 3 years
|
||||||
fee_withdraw = EUR:0.01
|
fee_withdraw = EUR:0.01
|
||||||
fee_deposit = EUR:0.01
|
fee_deposit = EUR:0.01
|
||||||
fee_refresh = EUR:0.01
|
fee_refresh = EUR:0.01
|
||||||
@ -44,6 +46,7 @@ value = EUR:10
|
|||||||
duration_overlap = 5 minutes
|
duration_overlap = 5 minutes
|
||||||
duration_withdraw = 7 days
|
duration_withdraw = 7 days
|
||||||
duration_spend = 2 years
|
duration_spend = 2 years
|
||||||
|
duration_legal = 3 years
|
||||||
fee_withdraw = EUR:0.01
|
fee_withdraw = EUR:0.01
|
||||||
fee_deposit = EUR:0.01
|
fee_deposit = EUR:0.01
|
||||||
fee_refresh = EUR:0.01
|
fee_refresh = EUR:0.01
|
||||||
@ -54,6 +57,7 @@ value = EUR:1000
|
|||||||
duration_overlap = 5 minutes
|
duration_overlap = 5 minutes
|
||||||
duration_withdraw = 7 days
|
duration_withdraw = 7 days
|
||||||
duration_spend = 2 years
|
duration_spend = 2 years
|
||||||
|
duration_legal = 3 years
|
||||||
fee_withdraw = EUR:0.01
|
fee_withdraw = EUR:0.01
|
||||||
fee_deposit = EUR:0.01
|
fee_deposit = EUR:0.01
|
||||||
fee_refresh = EUR:0.01
|
fee_refresh = EUR:0.01
|
||||||
|
@ -366,7 +366,6 @@ get_anchor_iter (void *cls,
|
|||||||
filename);
|
filename);
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
if (stamp.abs_value_us <= now.abs_value_us)
|
|
||||||
*anchor = GNUNET_TIME_absolute_max (stamp,
|
*anchor = GNUNET_TIME_absolute_max (stamp,
|
||||||
*anchor);
|
*anchor);
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
@ -419,7 +418,7 @@ get_anchor (const char *dir,
|
|||||||
"Existing keys are way too old, starting with fresh key set.\n");
|
"Existing keys are way too old, starting with fresh key set.\n");
|
||||||
*anchor = now;
|
*anchor = now;
|
||||||
}
|
}
|
||||||
else if (anchor->abs_value_us != now.abs_value_us) // Also odd...
|
else if (anchor->abs_value_us != now.abs_value_us)
|
||||||
{
|
{
|
||||||
/* Real starting time is the last start time + duration - overlap */
|
/* Real starting time is the last start time + duration - overlap */
|
||||||
*anchor = GNUNET_TIME_absolute_add (*anchor,
|
*anchor = GNUNET_TIME_absolute_add (*anchor,
|
||||||
|
Loading…
Reference in New Issue
Block a user