-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch from ZIP 32 account indices to UUID account identifiers #1640
Merged
+1,494
−587
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
9b35832
Switch from ZIP 32 account indices to UUID account identifiers
str4d 56a3858
Rename TransactionRecipient.Account
HonzaR c66b7ad
Fix `Backend.createAccount` API parameters
HonzaR 5d07455
Add `importAccountUfvk` to the Rust backend.
nuttycom c8c1b2a
Propagate accountName and keySource across SDK
HonzaR 5c3d1b5
Propagate new importAccount across SDK
HonzaR 32e68e3
Wrap createAccount setup information
HonzaR cdfdbc9
Wrap importAccount setup information
HonzaR 1cfba57
WIP: Add key derivation metadata to JniAccount
nuttycom 7efea35
Fix JniAccount
HonzaR c1d2ff8
Use updated JniAccount across SDK
HonzaR ee27c0e
Several tests fix
HonzaR d87c5bd
Add `Zip32AccountIndex` wrapper
HonzaR d2b4d1f
Update key source parameter
HonzaR e4ffb26
Merge branch 'feature-2.2.7' into account-uuids
HonzaR 02e1569
Remove account from `UnifiedSpendingKey`
HonzaR 8823694
Fix `importAccountByUfvk` API
HonzaR 922eb0e
Remove account_uuid from `JniUnifiedSpendingKey` creation
HonzaR 7a95e23
Fixture fix
HonzaR 89b06e4
Refactor Account.accountUuid to wrapper class
HonzaR d9482b1
Revert "Remove account_uuid from `JniUnifiedSpendingKey` creation"
HonzaR f669645
Add `JniAccountUsk`
HonzaR 63a9a54
Add `seedFingerprint` and `zip32AccountIndex`
HonzaR fe653d4
Transactions by account UUID
HonzaR 52f5b28
Refactor default account creation
HonzaR 0909a73
Migrate to Rust crate revision with bugfix to account UUID migration
str4d 477c933
Migrate to Rust crate revision with another bugfix to account UUID mi…
str4d d299b21
Test fix
HonzaR 3c74069
Migrate to Rust crate revision with a third bugfix to account UUID mi…
str4d e54fb17
Self-review fixes
HonzaR 51f5cd4
Tests fix
HonzaR c9bc790
Changelog update
HonzaR 8b558f7
Update backend-lib/src/main/rust/lib.rs
HonzaR 105da9d
Update backend-lib/src/main/rust/lib.rs
HonzaR 0b603e2
Changelog update
HonzaR c68be81
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/Synchronizer.kt
HonzaR d07857c
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/Typesafe…
HonzaR 0fae465
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/Typesafe…
HonzaR f78ed39
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/Typesafe…
HonzaR b59e768
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/Typesafe…
HonzaR e01773e
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/Typesafe…
HonzaR 840df94
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/model/AccountImpo…
HonzaR 07f357e
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/model/AccountCrea…
HonzaR a03ae02
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/model/Account.kt
HonzaR cb8036d
Update sdk-lib/src/main/java/cash/z/ecc/android/sdk/SdkSynchronizer.kt
HonzaR e07d65d
Refactor inputs of `importAccountUfvk`
HonzaR 7a064ec
Use `FirsClassByteArray` for `seed` parameter
HonzaR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: the hd_account_index and seed fingerprint go together, as they're the two necessary bits of HD derivation information.