Struct bitcoinchain_params::RegTestParams
source · pub struct RegTestParams { /* private fields */ }
Expand description
| Regression test: intended for private | networks only. Has minimal difficulty | to ensure that blocks can be found instantly. |
Implementations§
source§impl RegTestParams
impl RegTestParams
pub fn new(args: &ArgsManager) -> Self
sourcepub fn update_version_bits_parameters(
&mut self,
d: ConsensusDeploymentPos,
n_start_time: i64,
n_timeout: i64,
min_activation_height: i32
)
pub fn update_version_bits_parameters( &mut self, d: ConsensusDeploymentPos, n_start_time: i64, n_timeout: i64, min_activation_height: i32 )
| Allows modifying the Version Bits regtest | parameters. |
pub fn update_activation_parameters_from_args(&mut self, args: &ArgsManager)
Auto Trait Implementations§
impl !RefUnwindSafe for RegTestParams
impl Send for RegTestParams
impl Sync for RegTestParams
impl Unpin for RegTestParams
impl !UnwindSafe for RegTestParams
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more