pub struct TaprootConfig {
pub network: Network,
pub enable_script_path: bool,
pub max_tree_depth: u8,
}Expand description
Taproot configuration
Fields§
§network: NetworkBitcoin network
enable_script_path: boolEnable script path spending
max_tree_depth: u8Maximum script tree depth
Trait Implementations§
Source§impl Clone for TaprootConfig
impl Clone for TaprootConfig
Source§fn clone(&self) -> TaprootConfig
fn clone(&self) -> TaprootConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaprootConfig
impl Debug for TaprootConfig
Auto Trait Implementations§
impl Freeze for TaprootConfig
impl RefUnwindSafe for TaprootConfig
impl Send for TaprootConfig
impl Sync for TaprootConfig
impl Unpin for TaprootConfig
impl UnwindSafe for TaprootConfig
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