Bitcoin Forum
April 30, 2024, 07:59:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble Launcing Bitcoin v.20.2 On Windows 10  (Read 118 times)
BitcoinCanSaveUsAll (OP)
Member
**
Offline Offline

Activity: 104
Merit: 120


View Profile
October 16, 2023, 05:08:51 PM
 #1

Hi everyone,

I've been troubleshooting an issue I posted the other day regarding a discrepancy between my two nodes having different sized mempools which led me to trying to use the maxmempool in the config file to double the default value to 600. For some reason the v. 20.2 wasn't accepting the option and kept the default 300 MB size.  I then decided to click the GUI button that says "reset options" button which restarted the node.  Unfortunately now when I try to relaunch it I'm getting the following error:

Error:  Prune mode is incompatible with -txindex

As soon as I click ok the node terminates and I can't seem to relaunch it.  

Does anyone know how I can get this node back up online?  Thanks in advance for your support.

A few additional notes:

- My blockchain directory is being stored on an external hard drive so I'll need to point it to the correct directory.

- Also I did have txindex enabled in the options file.

- I've reran the installation for the 20.2 version with no change.

Thanks.

1714507145
Hero Member
*
Offline Offline

Posts: 1714507145

View Profile Personal Message (Offline)

Ignore
1714507145
Reply with quote  #2

1714507145
Report to moderator
1714507145
Hero Member
*
Offline Offline

Posts: 1714507145

View Profile Personal Message (Offline)

Ignore
1714507145
Reply with quote  #2

1714507145
Report to moderator
1714507145
Hero Member
*
Offline Offline

Posts: 1714507145

View Profile Personal Message (Offline)

Ignore
1714507145
Reply with quote  #2

1714507145
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
seek3r
Legendary
*
Offline Offline

Activity: 1260
Merit: 1954



View Profile
October 16, 2023, 05:23:08 PM
Merited by o_e_l_e_o (4), Pmalek (2), vapourminer (1), ABCbits (1)
 #2

Hi

you already did a good job fixing this error. However, you may have forgotten just a few small things.  Tongue
This happened when you decided to hit the 'reset button'.

You noticed that you have to point out to the correct directory since you store the data on an external hard drive.
Have you changed the setting "datadir" in the bitcoin.conf file with the exact directory?

The error code clearly says that pruning is not possible when -txindex is enabled.
So if you use 'txindex=1' you also need to set prune to 0 to disable it. Make sure that 'prune=0' is set - any other value enables it.

This steps should already fix your problem, try em out, save the options and restart ur node.


If there are still problems, you could check the debug logfile for further errors, which will also be on your external drive directory.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BitcoinCanSaveUsAll (OP)
Member
**
Offline Offline

Activity: 104
Merit: 120


View Profile
October 16, 2023, 05:32:49 PM
Merited by seek3r (1)
 #3

Thank you!  I did resolve it by modifying the options file as you noted.  Very much appreciate!
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6717


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 17, 2023, 11:53:59 AM
Merited by o_e_l_e_o (4), BlackHatCoiner (4), ABCbits (2), Pmalek (2), vapourminer (1), DdmrDdmr (1), seek3r (1)
 #4

The reason why you can't use pruning and -txindex at the same time is because the Bitcoin node makes a list of all of the transactions, including the ones that are not in any of the wallets, and selecting pruning mode impedes this by deleting all but the first N blocks worth of transactions. That means it is impossible to keep a list of all the transactions in such a case, since doing so is not really different from turning off pruning from a size standpoint.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
seek3r
Legendary
*
Offline Offline

Activity: 1260
Merit: 1954



View Profile
October 17, 2023, 12:07:55 PM
 #5

The reason why you can't use pruning and -txindex at the same time is because the Bitcoin node makes a list of all of the transactions, including the ones that are not in any of the wallets, and selecting pruning mode impedes this by deleting all but the first N blocks worth of transactions. That means it is impossible to keep a list of all the transactions in such a case, since doing so is not really different from turning off pruning from a size standpoint.

Correct. It can have advantages and disadvantages for both functions. Again, it depends on the user.
With pruning, old blocks are deleted from memory in order to only save a small part of the blockchain data. Of course, this doesn't require a lot of storage on the hard drives and is suitable for people who only have a certain amount of space available.

The indexing of transactions (txindex) function however needs the whole blockchain data on a local drive. This creates a seperate index of all transactions stored in the blockchain. Might be useful if the user need to lookup any transaction or he or she uses services that require this.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BitcoinCanSaveUsAll (OP)
Member
**
Offline Offline

Activity: 104
Merit: 120


View Profile
October 17, 2023, 04:14:24 PM
 #6

Thanks again folks.  The odd thing is that I don't recall enabling pruning so I'm assuming it must be set by default or at least set if you hit reset options.  Either way it seems to be running ok now.  Oddly after enabling the prune=0 option I now see that two different options I set in my configuration file there was a message that said:

Options set in the dialog are overridden by the command line or in the configuration file:
-prune=0 -dBcache=5000


It should be noted that the dBcache message was there prior to this change.  Although I'm honestly not sure why either is there.

Regardless, at this time my node is back up and running and I wanted to thank you all again for your help.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!