rust-bitcoin-unsafe-fast/bitcoin/examples
Tobin C. Harding 00b71a670f
Use from_sat_unchecked for hardcoded ints
We have an `_unchecked` amount constructor that makes no assumptions
about the argument. We would like to start enforcing MAX_MONEY but the
diff to introduce this is massive. In an effort to make it smaller we
can do all the hardcoded ints first. We did this already but a bunch
more snuck in or were missed.

In any amount constructor that passes in a hardcoded const as a decimal
integer (i.e., not hex) use the `_unchecked` version.

Done in preparation for enforcing MAX_MONEY.
2025-01-24 09:05:00 +11:00
..
bip32.rs
create-p2wpkh-address.rs
ecdsa-psbt-simple.rs
ecdsa-psbt.rs
handshake.rs
io.rs
sighash.rs Use from_sat_unchecked for hardcoded ints 2025-01-24 09:05:00 +11:00
sign-tx-segwit-v0.rs
sign-tx-taproot.rs
taproot-psbt-simple.rs
taproot-psbt.rs