forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 117
fix(HD-Wallet): load correct HD Accounts that truly belong to the HD Wallet #2482
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
Draft
mariocynicys
wants to merge
26
commits into
dev
Choose a base branch
from
fix-hd-derivation-path-corruption
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+368
−219
Draft
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e1357a5
add a fixme regarding new accounts creation
mariocynicys 66f5bdf
PoC fix for hd derivation path conflict
mariocynicys 2d8552a
add a warning when xpubs don't match
mariocynicys f3e327c
move the sequential account creation fixme to a todo
mariocynicys d5f511c
clean up un-used methods
mariocynicys dcc8265
add a fixme regarding get_enabled_address call in trezor activation
mariocynicys e99605c
use xpubs for db queries that edit hd_account table
mariocynicys 193579d
use xpubs for db queries that edit hd_account table (wasm)
mariocynicys bdf2f74
shouldn't we rollback tasks the failed running?
mariocynicys de8ea00
load all accounts belonging to the activated HD wallet and not just one
mariocynicys 8a2a8d9
remove get_all_account_ids and merge get_xpubs_for_account_ids and lo…
mariocynicys 46197d9
fix wrongfully loaded hd accounts for trezor
mariocynicys 387f20f
reactivate the failing test
mariocynicys d4a3766
add another fixme regarding coin balance result for HD wallets
mariocynicys 68d0eda
Revert "shouldn't we rollback tasks the failed running?"
mariocynicys 77c6320
leave a not linking to this PR that broke the generic-ability of hd_a…
mariocynicys d5bfc97
remove 'with_matching_xpubs' from func name since that's way too spec…
mariocynicys 062a268
remove corruprt xpubs found while loading hd accounts
mariocynicys 9d97f4d
rename the old multi index to deprecated_wall...
mariocynicys ba3a4bb
append _impl to utility funciton name
mariocynicys cdde4f1
merge with origin/dev
mariocynicys e516f39
add a unit test for delete_accounts db method
mariocynicys 1c313b3
remove the fixme regarding corrupt account deletion
mariocynicys 114affc
remove the fixme regarding hw wallet init error
mariocynicys c8282be
make sure to add all the known accounts even if the enabled one is br…
mariocynicys aeb2ffa
Merge remote-tracking branch 'origin/dev' into fix-hd-derivation-path…
shamardy 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.