-
Notifications
You must be signed in to change notification settings - Fork 312
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
Rename electrum's sync/scan #1154
Comments
I added this to the alpha.3 milestone since we need to get questions like this figured out for bdk wallet API also (if we're going to change it). |
Good one @danielabrozzoni ! I usually also confuse them. |
An explanation of scan and sync from @evanlinjin on Discord: I also find it confusing actually. Think of scan as a "full sync" - we scan through every spk of each keychain and only stop when there is a "stop gap" count of spks that don't have txs.
Maybe |
Copy-pasting from discord to here for tracking purposes (https://discord.com/channels/753336465005608961/753367451319926827/1161271894679486476): @evanlinjin: @LLFourn: @danielabrozzoni: @LLFourn: @LLFourn: @vladimirfomene: @evanlinjin: @danielabrozzoni: |
Just my 2 sats (I don't want to bikeshed too much on this but since we're renaming anyway...). To me, "rescan" implies an action supplementary to something you've already done. Calling rescan on the first boot of a wallet feels like a misnomer a little bit, and will have me look into the docs for the actual "scan" method (surely I should call the scan before the rescan... it must be there somewhere, or so my thinking would go). When I think of the relative use of those methods, I see scan/rescan as something you only do once in a blue moon vs sync which you call all the time and maybe even have on some loop. The ratio is like 100:1, and in that sense I feel like the rescan/scan name should reflect the "gravity" of that call. Something like If "fullscan" or something like that is too much, my second preferred option is actually just a well documented |
Also I think we should check
So given this, we should differentiate These are my "two-sats" on the matter. |
my 2 sats, for reasons mentioned above, is we stick with
any others? |
Priority to be discussed further |
fixed with with #1235 |
We can probably have more descriptive names, and that make it easier to distinguish between them (I keep confusing them, maybe it's just me). I don't have any proposal in mind, but I'm opening the issue for future reference
The text was updated successfully, but these errors were encountered: