-
Notifications
You must be signed in to change notification settings - Fork 90
Prune mode is incompatible with -txindex #253
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 statemen 8000 t. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If anyone else has this issue fix the key in the registry under Computer\HKEY_CURRENT_USER\Software\Veil\Veil-Qt |
You could take "txindex=1" out of your veil.conf, or Prune mode (keep only blocks interesting to your wallet) and |
I do not have a viel.conf and there does not seem to be an option in the GUI to turn off index all blocks. |
Interesting! I'll give you some instructions to do the fix via the Windows Registry. Just a moment while I start up my Windows Virtual Machine. ... |
I am surprised that pruning is turned on, as it was off by default with my installation. Also I did not find a registry entry for transaction indexing. So, the easiest way (to turn off pruning, assuming your wallet will not open, because of the error), is to open Notepad and paste the following lines into it, and save the file onto your Desktop as "Veil-pruneOff.reg" or whatever you like. And then right-click and select Merge, which should be the default action, if the filename ends in .reg and not.txt.
|
txindex is turned on by default with the code. Interesting that prune is defaulting as on... it actually gets disabled in the code, as it is still under development. |
I haven't seen prune on by default in any of my installations, but I read in the spec's that prune was going to be on by default. I'm happy with pruning off, in the short term. |
I enabled it manually. Did not expect the wallet to not open after doing this. |
Thanks! ... Well, then the prune mode function had better turn off txindex when it turns on. |
Update on this issue as we have been investigating why all nodes are flagging as limited nodes, and not actually full nodes. This is related. |
5d49651 [Config] Ignore prune mode if txindex is set (Cave Spectre) Pull request description: ### Problem #253 - Prune mode incompatible with txindex. Having prune mode on can stick the user into being unable to start their wallet. For Qt: they receive an error stating "Prune mode is Incompatible with -txindex" ### Root Cause The error was a little heavy handed, and rejected the use of prune mode without txindex=0. The part of this issue that makes it important to address is that you can inadvertently end up with bPrune set in your registry on windows; making it difficult to find and remove. There is an additional issue that implies that uninstalling your wallet will not remove the registry entries; so getting bPrune=true in your registry would be quite challenging to clear out, and likely result in support tickets. ### Solution **_Note that prune mode is unsupported and likely will result in corrupting your wallet. This is not meant to claim that prune mode is functional._** If Prune mode is set and txindex is not implicitly disabled [txindex=0], the wallet will not run. This PR changes the prune mode from an error that shuts down the wallet, to a warning that ignores prune mode if txindex is enabled. This warning will not show in a Windows pop-up, but rather in the log file and the terminal executing the daemon and/or qt. It will also ignore the prune mode setting, changing it to '0' if it is set. ### Testing combinations of txindex=[0|1], prune=[0|1] in your config file, command line, and bPrune=true in your registry [see issue #253 for registry details] Tree-SHA512: a660574d6791e060c11b9b3aa3ce7f1ab2813f6f7b72927972d5b04a0b91fd7abb484c552e4b51fb1b121a726e9c2b73664922a9545e3d9f12e97105580393a5
This issue has been addressed with merge #874 (Ignore prune mode if txindex is set) -- not to say that prune mode works -- it doesn't, and has not been developed yet. (cleaning up) |
Uh oh!
There was an error while loading. Please reload this page.
Windows 10 wallet won't open and says "Prune mode is incompatible with -txindex"
The text was updated successfully, but these errors were encountered: