Module bitcoin::util::bip143[][src]

BIP143 Implementation

Implementation of BIP143 Segwit-style signatures. Should be sufficient to create signatures for Segwit transactions (which should be pushed into the appropriate place in the Transaction::witness array) or bcash signatures, which are placed in the scriptSig.

Structs

SighashComponents

Parts of a sighash which are common across inputs or signatures, and which are sufficient (in conjunction with a private key) to sign the transaction