Make BurnchainParameters
TOML-configurable.. possibly even PoxConstants
#3417
Labels
BurnchainParameters
TOML-configurable.. possibly even PoxConstants
#3417
Is your feature request related to a problem? Please describe.
Right now,
BurnchainParameters
is not TOML configurable.https://github.com/stacks-network/stacks-blockchain/blob/a0393e47452ae45eea645d792717d41035320961/src/burnchains/mod.rs#L98
This can be difficult for running a custom testnet (like for Stacks 2.1), because you might want to change
first_block_height
on the fly when trying out new test nets.The same could arguably be said for
PoxConstants
, for which we recently wanted to setv1_unlock_height
.The call stacks for
BurnchainParameters::from_params
andPoxConstants::new
are documented in #3411Describe the solution you'd like
Make
BurnchainParameters
configurable in the TOML file, and maybe evenPoxConstants
.Describe alternatives you've considered
The current way to configure
BurnchainParameters
is to change the Rust code.Additional context
#3411
The text was updated successfully, but these errors were encountered: