rust-bitcoin-unsafe-fast/bitcoin/src
Andrew Poelstra dc72dfb9f2
Merge rust-bitcoin/rust-bitcoin#1753: Add `ChainHash::from_genesis_block_hash`
ed80df5ebc Add `ChainHash::from_genesis_block_hash` (Martin Habovstiak)

Pull request description:

  This improves readability of converting `BlockHash` into `ChainHash`. It's useful in e.g. Electrum protocol which sends `BlockHash` (serialized backward).

  Closes #1751

ACKs for top commit:
  apoelstra:
    ACK ed80df5ebc
  tcharding:
    ACK ed80df5ebc

Tree-SHA512: b03eb9ca0a1eb38196cc8e43751c2def0d00b463b774003c5319bf56599db598ddd4bb0e2ad0bd3803f21a925135992d421848e7b1ba5e7bab3a405f60fc973c
2023-03-28 01:25:18 +00:00
..
blockdata Add `ChainHash::from_genesis_block_hash` 2023-03-26 10:42:22 +02:00
consensus Merge rust-bitcoin/rust-bitcoin#1730: Use shorter imports 2023-03-23 17:39:03 +00:00
crypto Use shorter import statements 2023-03-22 14:09:58 +11:00
merkle_tree Use shorter import statements 2023-03-22 14:09:58 +11:00
network Use shorter import statements 2023-03-22 14:09:58 +11:00
psbt Use shorter import statements 2023-03-22 14:09:58 +11:00
util util: Run the formatter 2023-03-21 08:33:24 +11:00
address.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
amount.rs create a set of recognized denomination forms 2023-03-27 11:19:55 +02:00
base58.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
bip32.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
bip152.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
bip158.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
error.rs Move util::Error to error module 2022-11-16 10:42:30 +11:00
hash_types.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
internal_macros.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00
lib.rs Remove extern crate hashbrown 2023-03-21 15:14:29 +11:00
parse.rs Improve string parsing 2023-02-10 12:28:25 +11:00
policy.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00
pow.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
serde_utils.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
sign_message.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
string.rs Run the formatter 2023-03-06 10:22:29 +11:00
taproot.rs Use shorter import statements 2023-03-22 14:09:58 +11:00
test_macros.rs Add a workspace to the top level directory. 2022-09-13 08:44:57 +10:00