rust-electrum-client
rust-electrum-client copied to clipboard
Consider using bitcoin::hash::Hash-based type for ScriptHash
Using hash_newtype! macro as done in rust-bitcoin for Txid and other hash-based types. This will allow having Display and other important implementations for free and will make type system safer (right now ScriptHash == ScriptStatus == Hex32Bytes by type)