tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
Just waited for a rescan to complete, shut down Sparrow, then restarted it. This immediately shows up in the node logs:
2023-12-10T03:26:31Z [cormorant] RescanFromTime: Rescanning last 9066 blocks 2023-12-10T03:26:31Z [cormorant] Rescan started from block 0000000000000000000235fa86c66bf0ba443c3c648248580b48b1473a21af67... (slow variant inspecting all blocks)
What is triggering these rescans? It takes at least an hour to rescan on my node which uses an HDD. It doesn't happen every time I start Sparrow.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18702
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 09:23:42 AM |
|
Did the previous rescan definitely fully complete? It showed up all your coins and transactions? If you shut down before it was fully finished then I assume it will start again from the wallet birthday whenever you next launch Sparrow.
Other things to consider - did you close Sparrow normally and did you close Core normally? Neither of them crashed? Did you change your wallet's birthday, create a new wallet, or import any new addresses? All of these things will trigger a rescan. And you haven't moved/edited/deleted any of the Sparrow wallet files?
Have you checked the Sparrow logs to see if they show anything useful?
|
|
|
|
apogio
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 09:30:44 AM Last edit: December 10, 2023, 09:42:43 AM by apogio |
|
And another possibility:
Did you change anything in the bitcoin.conf file? (Some directives may cause this issue)
All of the suggestions by o_e_l_e_o above are good suspects. Unfortunately not having a Electrum Server and connecting straight to Core can cause these issues
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 10:35:40 AM |
|
Did the previous rescan definitely fully complete? It showed up all your coins and transactions? If you shut down before it was fully finished then I assume it will start again from the wallet birthday whenever you next launch Sparrow.
Other things to consider - did you close Sparrow normally and did you close Core normally? Neither of them crashed? Did you change your wallet's birthday, create a new wallet, or import any new addresses? All of these things will trigger a rescan. And you haven't moved/edited/deleted any of the Sparrow wallet files?
Have you checked the Sparrow logs to see if they show anything useful?
None of that seems to apply in my case. OK, here's a clue possibly? I've got whirlpool running, and it started another rescan immediately after I received a new UTXO in Postmix. Come to think of it, I never had this Sparrow problem until I started using whirlpool. Would a rescan be expected behaviour?
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18702
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 10:57:14 AM |
|
Would a rescan be expected behaviour? No, it isn't, unless it was adding new addresses to your post-mix wallet. If you go to the "Addresses" tab on your post-mix wallet, you should have a huge list of dozens of unused addresses which have already been scanned and are known to be empty. Try going to your post-mix account, go to the "Settings" tab, and the click "Advanced" down the bottom. Is your wallet birthday set in the past and do you have a reasonable gap limit set? For other wallets the gap limit will be 20; for post-mix it should be several hundred at least, if not more.
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:04:47 AM |
|
Try going to your post-mix account, go to the "Settings" tab, and the click "Advanced" down the bottom. Is your wallet birthday set in the past and do you have a reasonable gap limit set? For other wallets the gap limit will be 20; for post-mix it should be several hundred at least, if not more.
Alright, I'll try upping the gap limit. Can you explain why that might help?
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:11:18 AM |
|
Unfortunately not having a Electrum Server and connecting straight to Core can cause these issues
Going to give Electrum a shot as well.
|
|
|
|
apogio
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:15:30 AM |
|
Unfortunately not having a Electrum Server and connecting straight to Core can cause these issues
Going to give Electrum a shot as well. No I meant electrum server. It is essentially a server that allows you to interact with the Blockchain. It sits on top of Bitcoin Core. Electrum is a wallet, like sparrow and they can both be connected to an electrum server. Sparrow can also connect directly to core. Not using an Electrum Server in between.
|
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:26:44 AM |
|
Unfortunately not having a Electrum Server and connecting straight to Core can cause these issues
Going to give Electrum a shot as well. No I meant electrum server. So did I...
|
|
|
|
apogio
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:30:03 AM |
|
So did I...
Oh ok, my bad. This will be much better in terms of performance. Are you running a custom node? Or a solution like Umbrel, Start9 etc?
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 11:53:55 AM |
|
Oh ok, my bad. This will be much better in terms of performance. Are you running a custom node? Or a solution like Umbrel, Start9 etc?
Trying to get electrs going on Ubuntu. Think I got it: 2023-12-10T11:52:28.645Z INFO electrs::index] indexing 2000 blocks: [1..2000] Going to let it rip for a while. Thanks for your comments.
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 10, 2023, 12:05:02 PM |
|
The gap limit specifies how many unused addresses your wallet should generate and scan.
Thanks for the explanation. I increased the limit, but to be honest, given the number of mixes I've seen since entering the pool (<20) I'm not sure this will help. I think there's something else up.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18702
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 11, 2023, 04:21:07 PM |
|
Have you checked the Sparrow logs to see if they say what is triggering the rescan?
|
|
|
|
tarotfied (OP)
Newbie
Offline
Activity: 15
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 12, 2023, 06:24:21 AM |
|
Have you checked the Sparrow logs to see if they say what is triggering the rescan?
Nah, I set up Electrum Server and since then everything has been solid.
|
|
|
|
apogio
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 12, 2023, 07:16:47 AM |
|
Nah, I set up Electrum Server and since then everything has been solid.
Yeah as we said above everything is easier with Electrum Server. Congrats man. So case solved ?
|
|
|
|
|