Enum core_rpc_json::GetBlockTemplateResultRules [−][src]
pub enum GetBlockTemplateResultRules { SegWit, Signet, Csv, Taproot, Testdummy, }
Expand description
Enum to representing specific block rules that client must support to work with the template returned by Bitcoin Core
Variants
Inidcates that the client must support the SegWit rules when using this template.
Indicates that the client must support the Signet rules when using this template.
Indicates that the client must support the CSV rules when using this template.
Indicates that the client must support the taproot rules when using this template.
Indicates that the client must support the Regtest rules when using this template. TestDummy is a test soft-fork only used on the regtest network.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetBlockTemplateResultRules
impl Send for GetBlockTemplateResultRules
impl Sync for GetBlockTemplateResultRules
impl Unpin for GetBlockTemplateResultRules
impl UnwindSafe for GetBlockTemplateResultRules
Blanket Implementations
Mutably borrows from an owned value. Read more