Module btc_transaction_utils::test_data [] [src]

A set of helpers for testing.

Functions

btc_tx_from_hex

Decodes a Bitcoin transaction from the given hex string.

secp_gen_keypair

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

secp_gen_keypair_with_rng

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