rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 0f669404c4
Merge rust-bitcoin/rust-bitcoin#2443: Print hex in Debug for Sequence
c084afa8b2 Print hex in Debug for Sequence (Tobin C. Harding)

Pull request description:

  Printing the `Sequence` as a decimal is not super useful when debugging, print it in hex instead.

  Using code:

          let seq = Sequence::from_consensus(0xFFFFFFFF);
          println!("sequence: {:?}", seq);

  Before applying this patch we get:

          sequence: Sequence(4294967295)

  And after applying we get:

          sequence: Sequence(0xffffffff)

ACKs for top commit:
  Kixunil:
    ACK c084afa8b2
  apoelstra:
    ACK c084afa8b2

Tree-SHA512: d60cd8896ca56a30fc8bd030cf3dd1bc1fd3a1609e99bfc2f26b9bd665b11c34c9df93b3f3ad731506d916513ca4a192dde476e16d99f2d4c4b2697f70a7bc98
2024-02-06 13:45:35 +00:00
..
contrib CI: Epic overhaul 2024-02-02 05:57:23 +11:00
embedded Use bash to run shell scripts 2024-02-02 05:55:51 +11:00
examples Merge rust-bitcoin/rust-bitcoin#2402: Remove TODOs 2024-01-25 15:06:28 +00:00
src Merge rust-bitcoin/rust-bitcoin#2443: Print hex in Debug for Sequence 2024-02-06 13:45:35 +00:00
tests Improve Signature field names 2024-01-15 10:26:40 +11:00
CHANGELOG.md Remove no-std feature 2023-12-06 09:54:33 +11:00
Cargo.toml Implement ArbitaryOrd for absolute::LockTime 2024-01-09 13:15:29 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00