fix restore height

remotes/1691844314220217825/master
wowario 3 years ago
parent ba940d6df4
commit 6241c2e1de
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -24,8 +24,8 @@ struct RestoreHeightLookup {
// date: ((now - lastKnownDate) / blockTime) - clearance
if(this->type == NetworkType::TESTNET) return 1;
int blockTime = 120;
int blocksPerDay = 86400 / blockTime;
int blockTime = 300;
int blocksPerDay = 288;
int blockCalcClearance = blocksPerDay * 5;
QList<int> values = this->data.keys();
if(date <= values.at(0))

Loading…
Cancel
Save