-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Zcash]: Migrate Zcash blockchain to Rust #4232
Conversation
* Add `TransactionBuilder::zcash_extra_data`
* Add `ZcashTransaction`, `ZcashSighash`
* Add `UtxoSigningContext` * Revert `TransactionBuilder.fee_policy` * Add `Utxo.proto`
* Fix `ZcashTransaction`preImage and sighashing
* Add `tw_zcash` doc comments * Add ZCash transaction builder test * Enable Rust doc tests on CI
Binary size comparison➡️ aarch64-apple-ios: - 12.78 MB
+ 12.92 MB +148 KB ➡️ aarch64-apple-ios-sim: - 12.78 MB
+ 12.92 MB +148 KB ➡️ aarch64-linux-android: - 16.57 MB
+ 16.78 MB +217 KB ➡️ armv7-linux-androideabi: - 14.01 MB
+ 14.16 MB +161 KB ➡️ wasm32-unknown-emscripten: - 11.73 MB
+ 11.89 MB +167 KB |
I don't have compatible desk top to miragte bnb beach from trust wallet to bnb wallet as iPad is not compatible transfer beacon to to bnb wallet from trusted |
Description
Continued the C++ -> Rust port of the Bitcoin chains, in particular, ZEC, ZEL and KMD.
Adds Rust crates:
tw_zcash
- ZCash blockchain implementation (including transparent transaction, address) based ontw_bitcoin
andtw_utxo
.tw_komodo
- ZCash-like chain base ontw_zcash
How to test
Run C++, Rust, iOS, Android, WASM tests
Breaking Changes
BitcoinV2.Proto.OutPoint
->Utxo.Proto.OutPoint
BitcoinV2.Proto.SigningOutput.transaction
is now a oneof eitherUtxo.Proto.Transaction
orZcash.Proto.Transaction
Checklist
If you're adding a new blockchain