rust-bitcoin-unsafe-fast/primitives/src
merge-script 188b4f439e
Merge rust-bitcoin/rust-bitcoin#4269: Implement `Display` for `Header`
e3b059cebf Implement Display for block::Header (Tobin C. Harding)

Pull request description:

  Not all the fields within `block::Header` implement `Display` however a block header can reasonably be displayed by using 160 hex characters.

  Implement `Display` for `block::Header` by printing the header in hex in the same layout as we hash it in `block_hash`.

  Close: #3658

ACKs for top commit:
  apoelstra:
    ACK e3b059cebfb917c3a876cc5a39d942d2dead475c; successfully ran local tests

Tree-SHA512: c1ff0d73562c9e00e93659f385a471c2d7912e1f09faf6c646bd7864d1a98e6e2baddebfcd1a032bf5adc3e27586022927261c8867098f7e7bf166bf35a9ffbd
2025-04-16 17:54:23 +00:00
..
locktime 2025-03-30 automated rustfmt nightly 2025-03-30 01:27:51 +00:00
script Merge rust-bitcoin/rust-bitcoin#4338: primitives: Document script to/from bytes 2025-04-16 15:08:34 +00:00
block.rs Implement Display for block::Header 2025-04-16 17:24:41 +10:00
lib.rs Merge rust-bitcoin/rust-bitcoin#4219: Rename then new `Timestamp` type 2025-03-13 15:13:31 +00:00
merkle_tree.rs primitives: Make hex optional 2025-04-11 10:55:34 +10:00
opcodes.rs 2025-03-16 automated rustfmt nightly 2025-03-16 01:25:25 +00:00
pow.rs primitives: Enable pedantic lints 2025-03-06 10:58:17 +11:00
sequence.rs primitives: Enable pedantic lints 2025-03-06 10:58:17 +11:00
taproot.rs Move taproot back to bitcoin crate 2025-02-26 15:45:49 +11:00
transaction.rs primitives: Make hex optional 2025-04-11 10:55:34 +10:00
witness.rs Merge rust-bitcoin/rust-bitcoin#4262: primitives: Make `hex` optional 2025-04-15 15:45:42 +00:00