-
Notifications
You must be signed in to change notification settings - Fork 248
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
Too wide suggested ranges for Testnet #897
Comments
I do not know what the current deployment state of the ECC testnet lightwalletd is (what revision of |
This is the config of the testnet node (5.6.1):
and here the version of the lwd
please let me know if this setup is okay or if we need any changes! |
@HonzaR can you clarify what the problem is that you are seeing? If it's that the wallet tries to scan from height 490074 at all, I suspect it is a side-effect of testnet having so little traffic that we only have two subtrees:
If that's what you're seeing, then this issue has the same root cause, and fix, as #902. The wallet on initialization needs to declare all blocks prior to the wallet birthday as "scanned", and instead insert the provided Sapling frontier into the |
I just updated the testnet lwd to the latest version (v0.4.16). Is that the version we need? |
Hi @str4d, yes, I can confirm I still see this error. @yasserisa update doesn't seem to change anything in it. Also, if I use |
This should be fixed by #907 |
Done |
Hi, when testing the new SbS sync algorithm with our mobile SDKs, we noticed that the Testnet server (lightwalletd.testnet.electriccoin.co) replies to
suggestScanRanges
besides others with also very old blocks for a new wallet:ScanRange(range=BlockHeight(value=490074)..BlockHeight(value=2459999), priority=ChainTip)
. My guess is thegetSubtreeRoots
. Here is my getSubtreeRoot args:Here is a log for the SbS syncing:
And here is a log of also a new wallet, which operates upon the Linear sync algorithm:
You can see that the Linear one syncs newer blocks than the SbS one, which goes much deeper. This seems to be Testnet-only related.
The text was updated successfully, but these errors were encountered: