Skip to content

implement btc/bch/zcash signing in rust#1143

Open
0xh3rman wants to merge 9 commits into
mainfrom
bitcoin-signer
Open

implement btc/bch/zcash signing in rust#1143
0xh3rman wants to merge 9 commits into
mainfrom
bitcoin-signer

Conversation

@0xh3rman
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements signing support for Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, and Zcash, introducing a new BitcoinChainSigner and a transaction planner with fee estimation. The review feedback identifies critical performance improvements, such as precomputing sighash components to prevent O(N^2) complexity and optimizing the use of cryptographic contexts. Additionally, the reviewer recommends implementing dust threshold checks for transaction amounts and utilizing standard library abstractions for address parsing to enhance code reliability and maintainability.

Comment thread crates/gem_bitcoin/src/signer/transaction.rs Outdated
Comment thread crates/gem_bitcoin/src/signer/bitcoin_cash.rs Outdated
Comment thread crates/gem_bitcoin/src/signer/zcash.rs Outdated
Comment thread crates/gem_bitcoin/src/signer/planner/spend.rs Outdated
Comment thread crates/gem_bitcoin/src/signer/planner/spend.rs
Comment thread crates/gem_bitcoin/src/signer/address/bitcoin.rs
Comment thread crates/gem_bitcoin/src/signer/transaction.rs Outdated
@0xh3rman 0xh3rman force-pushed the bitcoin-signer branch 3 times, most recently from 218265e to ddf7c26 Compare May 21, 2026 04:49
@0xh3rman 0xh3rman marked this pull request as ready for review May 22, 2026 12:48
@0xh3rman 0xh3rman requested a review from gemcoder21 May 23, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant