Skip to main content

Witness

Type Alias Witness 

Source
pub type Witness = Vec<Vec<u8>>;
Expand description

Witness Data: ๐’ฒ = ๐•Š* (stack of witness elements)

Uses unified witness type from witness module for consistency with SegWit Witness Data: ๐’ฒ = ๐•Š* (stack of witness elements)

Re-export from primitives for backward compatibility. Witness validation logic stays in this module. Witness data: stack of witness elements (SegWit/Taproot)

For SegWit: Vector of byte strings representing witness stack elements. For Taproot: Vector containing control block and script path data.

Aliased Typeยง

pub struct Witness { /* private fields */ }