pub struct GetblocktemplateParams {
pub template_request: Value,
}Expand description
If the request parameters include a ‘mode’ key, that is used to explicitly select between the default ‘template’ request or a ‘proposal’. It returns data needed to construct a block to work on. For full specification, see BIPs 22, 23, 9, and 145: https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0023.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes https://github.com/bitcoin/bips/blob/master/bip-0145.mediawiki
Fields§
§template_request: ValueFormat of the template
Trait Implementations§
Source§impl Debug for GetblocktemplateParams
impl Debug for GetblocktemplateParams
Auto Trait Implementations§
impl Freeze for GetblocktemplateParams
impl RefUnwindSafe for GetblocktemplateParams
impl Send for GetblocktemplateParams
impl Sync for GetblocktemplateParams
impl Unpin for GetblocktemplateParams
impl UnwindSafe for GetblocktemplateParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more