[][src]Module btc_transaction_utils::test_data

A set of helpers for testing.

Functions

btc_tx_from_hex

Decodes a Bitcoin transaction from the given hex string.

keypair_from_wif

Parses WIF encoded private key and creates a public key from this private key.

secp_gen_keypair

Generates a bitcoin private key and a corresponding public key using a cryptographically secure pseudo-random number generator.

secp_gen_keypair_with_rng

Computes a bitcoin private key and a corresponding public key using a given pseudo-random number generator.