Skip to content

Document about wallet backup and restoration - #22523

Merged
meshcollider merged 1 commit into
bitcoin:masterfrom
lsilva01:patch-2
Aug 18, 2021
Merged

meshcollider merged 1 commit into
bitcoin:masterfrom
lsilva01:patch-2

Conversation

@lsilva01

Copy link
Copy Markdown
Contributor

This PR adds a document about backing up and restoring the Bitcoin Core wallet as suggested in the issue #20149 .

Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved

@jarolrod jarolrod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strong Concept ACK

Thanks for working on this. I think there's still some conceptual cleanups to be made here. For now here are some notes. I will take some time to go through this deeper at some point.

Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved

@S3RK S3RK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK. Like that!

Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
@jarolrod

Copy link
Copy Markdown
Contributor

@lsilva01 please squash your commits and you should address these comments: 1, 2

For some guidance on squashing, see: CONTRIBUTING.md#squashing-commits

@NelsonGaldeman NelsonGaldeman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK 777d26cae620f2922166f6004c94750bd72b137d

Well done, documentation is always welcome!

Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved
Comment thread doc/managing_wallet.md Resolved

@OG-302 OG-302 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a minor point, but I think the reader/user might find the use of MAY to be more informative than MUST in this sentence. i.e. The user MAY use the command to encrypt the wallet. (Indeed, the user might even use alternative means of encrypting/decrypting a wallet). But the user shouldn't think that the wallet must be encrypted.

Comment thread doc/managing_wallet.md Resolved
@lsilva01
lsilva01 force-pushed the patch-2 branch 2 times, most recently from b1e816a to bd7bb52 Compare July 28, 2021 20:58
@Rspigler

Copy link
Copy Markdown
Contributor

ACK bd7bb52b79a5b6e272fcb178b43f1845c56de797

Great documentation!

Comment thread doc/managing-wallet.md Resolved

@jonatack jonatack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK.

I wonder if the RPC usage examples aren't redundant with the RPC helps. If an RPC and its help are updated, this document would be out of date. Perhaps it would be better to just point the user to the RPC help.

In some places this is a bit verbose and it may be good to tighten it up where possible.

Some suggestions below.

Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved

@Zero-1729 Zero-1729 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2f4be46

An invaluable addition to the docs!

@jonatack jonatack left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 2f4be46627acfa2cea98563e5a5363b2a7cdb60c

Possibly consider naming the file doc/managing-wallets.md.

@Rspigler

Rspigler commented Aug 5, 2021

Copy link
Copy Markdown
Contributor

ACK 2f4be46627acfa2cea98563e5a5363b2a7cdb60c

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2f4be46

@harding harding left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2f4be46627acfa2cea98563e5a5363b2a7cdb60c reviewed in GitHub web UI. Text looks both accurate and informative to me. One non-blocking note below.

I do think there are some developers of the opinion that encryption does not add a meaningful amount of security in normal usecases and significantly increases the risk of coin loss due to forgotten passphrases. It might be worth noting something about those tradeoffs in followup PRs.

Thanks for writing this @lsilva01!

Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
Comment thread doc/managing-wallet.md Resolved
@lsilva01
lsilva01 force-pushed the patch-2 branch 2 times, most recently from d3ba019 to 58c6486 Compare August 7, 2021 21:43
@ghost

ghost commented Aug 7, 2021

Copy link
Copy Markdown

reACK 58c6486

Changes made based on the suggestions by achow101 look good. Suggestion about restoring wallet is important and something that I missed in my last review.

Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved

@meshcollider meshcollider left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, ACK 0e0603235f81c6208298ebaa0b0db8158be57d51

Happy to re-ACK if you add some information about unlocking as achow101 suggested.

@meshcollider meshcollider left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-ACK 3c511e80b4cefc861fed7698c938ad15945eb10d

@achow101

Copy link
Copy Markdown
Member

ACK 3c511e80b4cefc861fed7698c938ad15945eb10d

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reACK 3c511e8

Changes made since last review:

  1. Add GUI in createwallet
  2. Section for unlocking wallet

nit: Some commands could look better if ``` is used instead of `

Example: wallet_management.md

@Rspigler

Copy link
Copy Markdown
Contributor

re-ACK 3c511e80b4cefc861fed7698c938ad15945eb10d

Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
Comment thread doc/managing-wallets.md Resolved
@achow101

Copy link
Copy Markdown
Member

With #22541 now merged, this should be updated to recommend using restorewallet to restore.

This PR adds a document about backing up and restoring the Bitcoin Core wallet as suggested in the issue bitcoin#20149 .
@achow101

Copy link
Copy Markdown
Member

re-ACK ce4e906

@ghost

ghost commented Aug 18, 2021 •

Copy link
Copy Markdown

reACK ce4e906

Major changes made since last review:

@meshcollider

Copy link
Copy Markdown
Contributor

re-ACK ce4e906

Going to merge this now 🎉

@Rspigler

Copy link
Copy Markdown
Contributor

Post-merge re-ACK ce4e906!

@maflcko

maflcko commented Aug 18, 2021

Copy link
Copy Markdown
Member

Shouldn't the doc be linked from the main doc?

fanquake added a commit to fanquake/bitcoin that referenced this pull request Aug 19, 2021
@fanquake

Copy link
Copy Markdown
Member

Shouldn't the doc be linked from the main doc?

Done in #22739.

fanquake added a commit that referenced this pull request Aug 19, 2021
1ea11e1 doc: link to managing-wallets from doc readme (fanquake)

Pull request description:

  This was forgotten in #22523.

ACKs for top commit:
  achow101:
    ACK 1ea11e1
  jarolrod:
    ACK 1ea11e1

Tree-SHA512: b82664b282cc0fe733b752c011621593df0f846d2188f12dbc5fedb7ffed2bd161293ce2a369ca973926030795b5f7acde7a1cbf5e337042a6f665906069c656
@lsilva01
lsilva01 deleted the patch-2 branch August 23, 2021 13:11
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.