Skip to content

server: Respect option to allow old forks.#3639

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:server_respect_oldforks_option
Mar 10, 2026
Merged

server: Respect option to allow old forks.#3639
davecgh merged 1 commit intodecred:masterfrom
davecgh:server_respect_oldforks_option

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Mar 5, 2026

The option to allow old forks is currently not being set in the blockchain config as it should be, so the behavior is only being activated when the assume valid hash is 0 as opposed to when either case is true.

This corrects that by setting the flag in the blockchain config as intended.

@davecgh davecgh added this to the 2.2.0 milestone Mar 5, 2026
@davecgh davecgh force-pushed the server_respect_oldforks_option branch from 0f0f90a to 24a3d4d Compare March 5, 2026 19:45
The option to allow old forks is currently not being set in the
blockchain config as it should be, so the behavior is only being
activated when the assume valid hash is 0 as opposed to when either case
is true.

This corrects that by setting the flag in the blockchain config as
intended.
@davecgh davecgh force-pushed the server_respect_oldforks_option branch from 24a3d4d to acff9bd Compare March 10, 2026 12:48
@davecgh davecgh merged commit acff9bd into decred:master Mar 10, 2026
32 checks passed
@davecgh davecgh deleted the server_respect_oldforks_option branch March 10, 2026 13:00
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.

2 participants