Struct btc_transaction_utils::p2wpk::InputSigner [] [src]

pub struct InputSigner { /* fields omitted */ }

An input signer.

Methods

impl InputSigner
[src]

[src]

Creates an input signer for the given public key and network.

[src]

Returns a reference to the secp256k1 engine, used to execute all signature operations.

[src]

Returns a mutable reference to the secp256k1 engine, used to execute all signature operations.

[src]

Computes the BIP-143 compliant sighash for a SIGHASH_ALL signature for the given input.

[src]

Computes the BIP-143 compliant signature for the given input. Under the hood this method signs sighash for the given input with the given secret key.

[src]

Checks correctness of the signature for the given input.

[src]

Collects the witness data for the given transaction input. Thus, the input becomes spent.

Trait Implementations

impl Debug for InputSigner
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InputSigner

impl Sync for InputSigner