Module utils

Source
Available on crate feature bitcoin only.

Functionsยง

address_from_script
Retrieve an address from the given script.
coin_name
Convert a bitcoin network constant to the Trezor-compatible coin_name string.
convert_path
Convert a BIP-32 derivation path into a Vec<u32>.
from_rev_bytes
Get a hash from a reverse byte representation.
parse_recoverable_signature
Parse a Bitcoin Core-style 65-byte recoverable signature.
psbt_find_input
Find the (first if multiple) PSBT input that refers to the given txid.
to_rev_bytes
Get the reverse byte representation of a hash.