Sign a P2WPKH bitcoin transaction. IMPORTANT: This method is for demonstration purposes only and it only supports signing transactions if: 1. All the inputs are referencing outpoints that are owned by `own_address`. 2. `own_address` is a P2WPKH address.
(
ctx: &BitcoinContext,
own_public_key: &PublicKey,
own_address: &Address,
mut transaction: Transaction,
prevouts: &[TxOut],
derivation_path: Vec<Vec<u8>>,
signer: SignFun,
source not stored for this graph (policy: none)
no test coverage detected