forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: batch 2 of migratewallet RPC #7277
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
knst
wants to merge
17
commits into
dashpay:develop
Choose a base branch
from
knst:bp-descriptor-migrate-2
base: develop
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.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
bcac7a3
Merge bitcoin/bitcoin#19602: wallet: Migrate legacy wallets to descri…
achow101 33a3162
Merge bitcoin/bitcoin#26910: wallet: migrate wallet, exit early if no…
achow101 bbba780
Merge bitcoin/bitcoin#26761: wallet: fully migrate address book entri…
achow101 1e37185
Merge bitcoin/bitcoin#26594: wallet: Avoid a segfault in migratewalle…
fanquake 1c10b34
Merge bitcoin/bitcoin#26595: wallet: be able to specify a wallet name…
fanquake e8b3ce7
Merge bitcoin/bitcoin#28257: test: check backup from `migratewallet` …
fanquake 970d28c
fix: advance active pkh() descriptor past the legacy counters
knst 6f4d676
fix: protection belt for more than 1 account for legacy wallets
knst c6214e0
test: check mnemonic is set correctly for migrated wallet
knst 67b60e2
fix: loosen condition about P2PK / P2PKH scripts for non-hd imported …
knst ff7a5f4
Merge bitcoin/bitcoin#26638: test: prefer sqlite for wallet tests
achow101 038bb89
Merge bitcoin/bitcoin#28038: wallet: address book migration bug fixes
fanquake 4db0fbe
Revert "Merge bitcoin/bitcoin#26638: test: prefer sqlite for wallet t…
knst ce31c8f
Merge bitcoin/bitcoin#28609: wallet: Reload watchonly and solvables w…
ryanofsky ed84342
fix: follow-up backporting bitcoin#17261 - missing break
knst f19d250
Merge bitcoin/bitcoin#26740: wallet: Migrate wallets that are not in …
achow101 8b96a2b
Merge bitcoin/bitcoin#28868: wallet: Fix migration of wallets with tx…
ryanofsky 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| Wallet | ||
| ====== | ||
|
|
||
| Migrating Legacy Wallets to Descriptor Wallets | ||
| --------------------------------------------- | ||
|
|
||
| An experimental RPC `migratewallet` has been added to migrate Legacy (non-descriptor) wallets to | ||
| Descriptor wallets. More information about the migration process is available in the | ||
| [documentation](https://github.com/dashpay/dash/blob/master/doc/managing-wallets.md#migrating-legacy-wallets-to-descriptor-wallets). |
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: dashpay/dash
Length of output: 1637
🏁 Script executed:
Repository: dashpay/dash
Length of output: 183
🏁 Script executed:
Repository: dashpay/dash
Length of output: 441
Confirm whether documentation changes were explicitly requested for this backport.
Per the coding guidelines, changes to
doc/**should be avoided unless specifically prompted. This PR modifiesdoc/managing-wallets.md(lines 125-144) with documentation for themigratewalletfeature. If this backport was requested to include documentation updates, that should be noted; otherwise, these changes should be split into a separate documentation follow-up.🧰 Tools
🪛 LanguageTool
[style] ~133-~133: Consider removing “of” to be more concise
Context: ...solvables
._watchonlycontains all of the watchonly scripts._solvables` c...(ALL_OF_THE)
[style] ~136-~136: As an alternative to the over-used intensifier ‘extremely’, consider replacing this phrase.
Context: ...ding P2SH scripts. Given that there is an extremely large number of possible configurations for t...
(EN_WEAK_ADJECTIVE)
🤖 Prompt for AI Agents