bitcoindevkit / bitcoindevkit/rust-electrum-client

Consider using bitcoin::hash::Hash-based type for ScriptHash

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
89
Forks
82
Avg merge
2d 3h
Merged PRs (30d)
1

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.