Enum core_rpc_json::GetBlockTemplateResulMutations [−][src]
pub enum GetBlockTemplateResulMutations { Time, Transactions, PreviousBlock, }
Expand description
Enum to representing mutable parts of the block template. This does only cover the muations implemented in Bitcoin Core. More mutations are defined in BIP-23, but not implemented in the getblocktemplate implementation of Bitcoin Core.
Variants
The client is allowed to modify the time in the header of the block
The client is allowed to add transactions to the block
The client is allowed to use the work with other previous blocks. This implicitly allows removing transactions that are no longer valid. It also implies adjusting the “height” as necessary.
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 Send for GetBlockTemplateResulMutations
impl Sync for GetBlockTemplateResulMutations
impl Unpin for GetBlockTemplateResulMutations
impl UnwindSafe for GetBlockTemplateResulMutations
Blanket Implementations
Mutably borrows from an owned value. Read more