rust-bitcoin-unsafe-fast/bitcoin/examples
merge-script 05c28cf31d
Merge rust-bitcoin/rust-bitcoin#3915: Add FIFTY_BTC const to the amount types
e0028239cf api: Run just check-api (Tobin C. Harding)
5eb5941215 Add FIFTY_BTC const to the amount types (Tobin C. Harding)

Pull request description:

  The mining reward for the first epoc is 50 bitcoin. For mainnet this is old news but for regtest it is still relevant.

  Add and use a new const `FIFTY_BTC` to the `Amount` type. To keep the amount types uniform also add it to the `SignedAmount`.

ACKs for top commit:
  storopoli:
    ACK e0028239cf
  jamillambert:
    ACK e0028239cf
  apoelstra:
    ACK e0028239cf207660deb2873a92bacfa1315af634; successfully ran local tests

Tree-SHA512: 623ed8b1f5fe8dd95309179308fea83d68be4349becf6305769b0378cc9032961df2c062dc2bf702fec5e2394e8abb7360d2be6f19b6cf505db8769a5ae39e16
2025-01-20 02:42:45 +00:00
..
bip32.rs Make capitalization of SegWit uniform in rustdocs 2024-12-17 14:28:28 +00:00
create-p2wpkh-address.rs Add p2wpkh address creation example 2024-11-27 15:09:14 -06:00
ecdsa-psbt-simple.rs Use _unchecked to construct amounts 2025-01-06 13:14:21 +11:00
ecdsa-psbt.rs Introduce Transaction extension traits 2024-10-30 12:28:52 +11:00
handshake.rs Remove unused extern statement 2024-11-27 23:06:55 -06:00
io.rs bitcoin: Add an example of doing I/O to encode/decode 2025-01-08 10:18:00 +11:00
sighash.rs 2025-01-19 automated rustfmt nightly 2025-01-19 01:19:33 +00:00
sign-tx-segwit-v0.rs Use _unchecked to construct amounts 2025-01-06 13:14:21 +11:00
sign-tx-taproot.rs Use _unchecked to construct amounts 2025-01-06 13:14:21 +11:00
taproot-psbt-simple.rs Use _unchecked to construct amounts 2025-01-06 13:14:21 +11:00
taproot-psbt.rs Add FIFTY_BTC const to the amount types 2025-01-17 10:08:09 +11:00