Skip to content

Enable syncing above height 169344 on mainnet#26

Merged
ReverseControl merged 2 commits intoProjectFactor:masterfrom
NyanCatTW1:master
Oct 16, 2025
Merged

Enable syncing above height 169344 on mainnet#26
ReverseControl merged 2 commits intoProjectFactor:masterfrom
NyanCatTW1:master

Conversation

@NyanCatTW1
Copy link
Copy Markdown
Member

@NyanCatTW1 NyanCatTW1 commented Oct 16, 2025

Since get_target doesn't support testnet and the hard fork became active a while ago, I hardcoded the hard fork activation height rather than painstakingly implementing BIP9 inside the wallet
As for MAX_TARGET, it was only used within blockchain.py where it's defined

Locally tested:
image

@NyanCatTW1 NyanCatTW1 marked this pull request as ready for review October 16, 2025 17:36
@ReverseControl ReverseControl merged commit 94246c3 into ProjectFactor:master Oct 16, 2025
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