You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consensus::valid_header_version() makes assumptions around the HARD_FORK_INTERVAL.
This is only valid in mainnet. floonet and user_testing and automated_testing use different HF intervals.
height < 3*HARD_FORK_INTERVAL && version == header_version(height)
}
We should rework valid_header_version() with consistent behavior across all chain types.
height < n * HARD_FORK_INTERVAL will effectively be true for all chain types other than mainnet due to reduced chain height. Logic here is not correct for other chain types.
The text was updated successfully, but these errors were encountered:
consensus::valid_header_version()
makes assumptions around theHARD_FORK_INTERVAL
.This is only valid in
mainnet
.floonet
anduser_testing
andautomated_testing
use different HF intervals.grin/core/src/consensus.rs
Lines 174 to 178 in b570ac9
We should rework
valid_header_version()
with consistent behavior across all chain types.height < n * HARD_FORK_INTERVAL
will effectively betrue
for all chain types other than mainnet due to reduced chain height. Logic here is not correct for other chain types.The text was updated successfully, but these errors were encountered: