Type Alias simplicity::node::WitnessNode
source · pub type WitnessNode<J> = Node<Witness<J>>;Aliased Type§
struct WitnessNode<J> { /* private fields */ }Implementations§
source§impl<J: Jet> WitnessNode<J>
impl<J: Jet> WitnessNode<J>
sourcepub fn pruned(&self) -> Arc<Self>
pub fn pruned(&self) -> Arc<Self>
Creates a copy of the node (and its entire DAG with the prune bit set)
sourcepub fn must_prune(&self) -> bool
pub fn must_prune(&self) -> bool
Whether the “must prune” bit is set on this node