Module bdk_chain::bitcoin::blockdata::script::witness_version

Expand description

The segregated witness version byte as defined by BIP141.

A scriptPubKey (or redeemScript as defined in BIP16/P2SH) that consists of a 1-byte push opcode (for 0 to 16) followed by a data push between 2 and 40 bytes gets a new special meaning. The value of the first push is called the “version byte”. The following byte vector pushed is called the “witness program”.

Structs§

Enums§