Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BitcoinV2]: Allow to preImageHash and compile transaction through Bitcoin legacy interface #3979

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

satoshiotomakan
Copy link
Collaborator

Description

Add preImageHash and compile capabilities to BitcoinV2.
Also fix a bug in P2TR UTXO signing when there are P2WPKH inputs in the same transaction.

How to test

Run Rust, C++ tests

Types of changes

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

Copy link

github-actions bot commented Aug 9, 2024

Binary size comparison

➡️ aarch64-apple-ios:

- 12.02 MB
+ 12.03 MB 	 +3 KB

➡️ aarch64-apple-ios-sim:

- 12.03 MB
+ 12.03 MB 	 +3 KB

➡️ aarch64-linux-android:

- 15.39 MB
+ 15.40 MB 	 +4 KB

➡️ armv7-linux-androideabi:

- 13.16 MB
+ 13.17 MB 	 +2 KB

➡️ wasm32-unknown-emscripten:

- 10.90 MB
+ 10.90 MB 	 +3 KB

@satoshiotomakan satoshiotomakan merged commit a9eb114 into master Aug 9, 2024
13 checks passed
@satoshiotomakan satoshiotomakan deleted the s/bitcoin-v2-compiler branch August 9, 2024 15:39
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.

Transaction fails to broadcast (Invalid Schnorr signature) when spending P2TR and P2WPKH.
1 participant