Struct bitcoin_chain_consensus::BIP9Deployment
source · pub struct BIP9Deployment {
pub bit: i32,
pub n_start_time: i64,
pub n_timeout: i64,
pub min_activation_height: i32,
}
Expand description
| Struct for each individual consensus | rule change using BIP9. |
Fields§
§bit: i32
| Bit position to select the particular | bit in nVersion. |
n_start_time: i64
| Start MedianTime for version bits miner | confirmation. Can be a date in the past |
n_timeout: i64
| Timeout/expiry MedianTime for the | deployment attempt. |
min_activation_height: i32
| If lock in occurs, delay activation | until at least this block height. Note | that activation will only occur on a | retarget boundary. |
Trait Implementations§
source§impl Default for BIP9Deployment
impl Default for BIP9Deployment
source§fn default() -> BIP9Deployment
fn default() -> BIP9Deployment
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BIP9Deployment
impl Send for BIP9Deployment
impl Sync for BIP9Deployment
impl Unpin for BIP9Deployment
impl UnwindSafe for BIP9Deployment
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