Skip to content

feat(merged-mining): configure new max merkle path length on mainnet #1032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions hathor/conf/mainnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,18 @@
version='0.59.0',
signal_support_by_default=False,
),
Feature.INCREASE_MAX_MERKLE_PATH_LENGTH: Criteria(
bit=0,
# N = 4_475_520
# Expected to be reached around Monday, 2024-05-13 17:31:03 GMT
# Right now the best block is 4_463_619 at Thursday, 2024-05-09 14:20:33 GMT
start_height=4_475_520,
timeout_height=4_798_080, # N + 16 * 20160 (16 weeks after the start)
minimum_activation_height=4_636_800, # N + 8 * 20160 (8 weeks after the start)
lock_in_on_timeout=False,
version='0.60.0',
signal_support_by_default=True,
),
}
)
)
14 changes: 14 additions & 0 deletions hathor/conf/mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,17 @@ FEATURE_ACTIVATION:
lock_in_on_timeout: false
version: 0.59.0
signal_support_by_default: false

#### Actual features ####

INCREASE_MAX_MERKLE_PATH_LENGTH:
bit: 0
# N = 4_475_520
# Expected to be reached around Monday, 2024-05-13 17:31:03 GMT
# Right now the best block is 4_463_619 at Thursday, 2024-05-09 14:20:33 GMT
start_height: 4_475_520
timeout_height: 4_798_080 # N + 16 * 20160 (16 weeks after the start)
minimum_activation_height: 4_636_800 # N + 8 * 20160 (8 weeks after the start)
lock_in_on_timeout: false
version: 0.60.0
signal_support_by_default: true
Loading