Skip to content

Limit max tip age to reasonable value#499

Merged
Bushstar merged 4 commits into
masterfrom
fix/maxtipage
Jun 10, 2021
Merged

Limit max tip age to reasonable value#499
Bushstar merged 4 commits into
masterfrom
fix/maxtipage

Conversation

@bvbfan

@bvbfan bvbfan commented Jun 7, 2021

Copy link
Copy Markdown
Contributor

/kind fix

What this PR does / why we need it:

Max tip age is used in IBD it allows miners to start their work too early which can result in high hash error.
It's a safe value since leaving IBD is happen one time per run we cannot end with stalling masternode.
Fee estimation tip age is in direct connection to max tip age and should be lowered as well.

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Comment thread src/validation.h Outdated
@Bushstar Bushstar changed the title Limit max tip age to reasonable value [Do not merge] Limit max tip age to reasonable value Jun 8, 2021
@Bushstar Bushstar changed the title [Do not merge] Limit max tip age to reasonable value Limit max tip age to reasonable value Jun 8, 2021
Comment thread src/init.cpp Outdated
@Bushstar Bushstar merged commit dc7556f into master Jun 10, 2021
@Bushstar Bushstar deleted the fix/maxtipage branch June 10, 2021 10:36
bvbfan added a commit that referenced this pull request Jun 10, 2021
* Limit max tip age to reasonable value

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Limit max tip age to reasonable value

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Adopt max tip age to 80 min

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants