-
Notifications
You must be signed in to change notification settings - Fork 32
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
Importing descriptors process in a loop #86
Comments
hi @chuegel can you see if the same descriptors are being imported, or are they new ones? thank you |
@adrienlacombe-ledger how can I check that? Also, I must mention that I'm running a Lightning node on the same machine |
do you have a multiple descriptors in your lss.json? |
No, just one (external/internal) |
The scan will repeat for every descriptor, so in your case 2 times (1 for internal 1 for external) |
Thanks for your reply. Yes, but why does the import process starts from scratch as the descriptors in the |
thats a bitcoin-core thing, lss imports the descriptors everytime it restarts, which forces bitcoind to rescan the wallet, need to check whether bitcoinds wallet information persist after a scan |
ok, I just checked, core keeps the latest state of the wallet after reloading, so its should be easy to fix this |
As a quick fix for the rescanning wallet problem can be to put the birthday in the lss.json to the current date and everything should work find. Only prerequisite for this is that the syncing already happened before. In practical it would look like this: First let ledger and bitcoin-core sync with the real birthday date, if that happened and you need to restart the bridge, change the birthday to the current date.
|
Probably related to #90 |
OS: MacOS 12.6
satstack: 0.16.1_macOS-amd64
lss
seems to run in a loop every time it is started. I completed the account import successfully but whenlss
is stopped:the wallet is also released from the node:
and restarted, the account import process runs again from scratch:
The text was updated successfully, but these errors were encountered: