Skip to content
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

Add info about bitcoin-cli rescanblockchain when importing a wallet #47

Closed
climardo opened this issue Jul 4, 2023 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@climardo
Copy link

climardo commented Jul 4, 2023

There is information in the docs about importing a wallet and the information is good, but is missing details about what to do if all balances are 0 after import. I found the info that I needed in the original joinmarket GitHub repo after seeing that wallet-tool.py is from the joinmarket project. Here: https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/docs/USAGE.md#creating-a-wallet

restart Bitcoin Core with -rescan or use bitcoin-cli rescanblockchain if you're recovering an existing wallet from backup seed Otherwise just restart this joinmarket application.

I followed the instructions on Jam Docs and then did the following for my Start9 node:

  • SSH to Start9 node
  • Run sudo docker exec -it jam.ebassy bash to get into the jam container
  • Follow the instructions here: Can I import an existing wallet?
  • Exit the jam container with exit
  • Get into the bitcoind container: sudo docker exec -it bitcoind.embassy bash
  • Rescan he blockchain for the jam wallet: bitcoin-cli -rpcwallet=embassy_jam_wallet rescanblockchain <starting-block-#> <ending-block-#.

Sharing to save others some frustration. Thanks!

@theborakompanioni theborakompanioni added the enhancement New feature or request label Jul 6, 2023
@theborakompanioni
Copy link
Collaborator

Hey @climardo, thanks for the heads-up.
Hopefully, these manual steps won't be necessary anymore, once joinmarket-webui/jam#137 is implemented and released. Till then, this is a superb description for others facing the same problem and something that can be referred to 🙌

@MarnixCroes
Copy link
Collaborator

thanks for the instructions, I'm sure it was helpful for some

closing this issue as specifying the rescan start height is part of the import process now

image

@theborakompanioni
Copy link
Collaborator

thanks for the instructions, I'm sure it was helpful for some

closing this issue as specifying the rescan start height is part of the import process now

In dev mode, there is an option to rescan already imported wallets. Maybe it is time to make it available for all.. what do you think @MarnixCroes?

@MarnixCroes
Copy link
Collaborator

thanks for the instructions, I'm sure it was helpful for some
closing this issue as specifying the rescan start height is part of the import process now

In dev mode, there is an option to rescan already imported wallets. Maybe it is time to make it available for all.. what do you think @MarnixCroes?

sure!
would be a big UX improvement for the people who need it. as figuring out how to do a manual rescan can be a struggle for some

@theborakompanioni
Copy link
Collaborator

sure! would be a big UX improvement for the people who need it. as figuring out how to do a manual rescan can be a struggle for some

joinmarket-webui/jam#833 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants