Bitcoin Forum
December 29, 2025, 12:36:00 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Adjusting Prune value is possible?  (Read 417 times)
LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 04, 2025, 04:41:15 PM
Merited by ABCbits (1)
 #1

Can I change the prune value of my node that I currently set it to 550MB and wanted it to increase to 10 or 20GB?

As far as I read from old threads, yes it is possible and I need to change the new value and restart the core, so I can retain newer blocks upto the value I set but I just wanted to double-check before changing anything, and make sure I don’t mess up.
LoyceV
Legendary
*
Offline Offline

Activity: 3906
Merit: 20769


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 04, 2025, 05:24:36 PM
 #2

You can set it in the GUI under Options, or as a command line option (in MB):
Code:
-prune=20000
What's your reason for doing this? The only thing I can think of is to be able to load wallets that are several weeks old.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
Cookdata
Legendary
*
Online Online

Activity: 1540
Merit: 1189


Not Your Keys, Not Your Bitcoin


View Profile
August 04, 2025, 06:53:32 PM
 #3

Can I change the prune value of my node that I currently set it to 550MB and wanted it to increase to 10 or 20GB?

As far as I read from old threads, yes it is possible and I need to change the new value and restart the core, so I can retain newer blocks upto the value I set but I just wanted to double-check before changing anything, and make sure I don’t mess up.

If you using Bitcoin core V28 upward, you can use the GUI to change it from  settings => Options =>Main =>prune block storage to= 10 or 20 and save but make sure to restart your Bitcoin node for the change to take effect.

There is nothing that is going to happen to your node, just that your node will keep the previous blocks you have validated and verified but as soon as it start to get new blocks and download them, once it reach your prune node size maybe 10GB, it will start to delete the previous ones and keep the recent ones to fit in blocks that will not exceed 10GB.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
promise444c5
Hero Member
*****
Offline Offline

Activity: 882
Merit: 645


All things are numbers


View Profile WWW
August 04, 2025, 07:40:18 PM
 #4

Yes you can but you won't  get any old block data as it's been deleted already, it will only be effective for future block data.
 So, If it's about previous data, forget it and keep using the current one. But if it's about you already freeing up some space, or you just felt like doing it to keep more data in the future, then go ahead..

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
nc50lc
Legendary
*
Offline Offline

Activity: 3010
Merit: 8175


Self-proclaimed Genius


View Profile
August 05, 2025, 06:27:20 AM
Merited by ABCbits (2), LucyFurr (1)
 #5

As far as I read from old threads, yes it is possible and I need to change the new value and restart the core, so I can retain newer blocks upto the value I set but I just wanted to double-check before changing anything, and make sure I don’t mess up.
You probably found one or two threads with my reply.
Yes, it does and I tried it.

For your assurance, I reconfigured my v29.0 test pruned node to try the latest version:
Before (10240 MiB):
Code:
2025-08-05T06:16:54Z Config file arg: [main] prune="10240"
-snip-
2025-08-05T06:20:16Z UpdateTip: new best=0000000000000000000149935e5cf4a038cfe4a525a6ba1697d43be48d4b1946 height=908004 version=0x2c940000 log2_work=95.745036 tx=1220900700 date='2025-07-31T20:59:27Z' progress=0.998567 cache=57.7MiB(267993txo)
After (15240 MiB):
Code:
2025-08-05T06:23:43Z Config file arg: [main] prune="15240"
-snip-
2025-08-05T06:26:50Z UpdateTip: new best=00000000000000000001ff836520abb0e3403c5547c29e3bf7f2c622251cdb75 height=908686 version=0x2000e000 log2_work=95.753136 tx=1222508781 date='2025-08-05T06:22:21Z' progress=0.999999 cache=314.1MiB(2420866txo)
It synced to the current tip (908686) without any issue.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
apogio
Legendary
*
Offline Offline

Activity: 1022
Merit: 2296



View Profile WWW
August 05, 2025, 06:52:54 AM
 #6

I must have created the exact same thread in the past.

I believe the general misunderstanding is whether increasing the prune size will actually re-download and restore deleted block files, or whether it will start downloading newer blocks from now on until it reaches the new prune size.

If I had to visualize it a bit better, it would look like this:

Case 1:
Before changing prune size: [------------ old deleted blocks ------------][---- current blocks saved ----][chaintip]
After changing prune size:   [-old deleted blocks-][---------------- current blocks saved ----------------][chaintip]

Case 2:
Before changing prune size: [------------ old deleted blocks ------------][---- current blocks saved ----][chaintip]
After changing prune size:   [------------ old deleted blocks ------------][------------ current blocks saved ------------][chaintip]

LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 05, 2025, 06:53:49 PM
 #7

Thanks everyone for the replies, now I changed into a higher value and the reason for this is not to rely on the peers to validate my recent transactions atleast that's a month old than just for the couple of days with the default 550.

It also helps the wallet load faster? not sure but I just want a bigger one and soon to have a full node but as of now just the pruned with more data stored.
nc50lc
Legendary
*
Offline Offline

Activity: 3010
Merit: 8175


Self-proclaimed Genius


View Profile
August 06, 2025, 04:16:36 AM
Merited by LoyceV (4)
 #8

Thanks everyone for the replies, now I changed into a higher value and the reason for this is not to rely on the peers to validate my recent transactions -snip-
Okay, but your full node (yes it's a "full node") in pruned mode isn't relying on your peers to verify your transactions.
It's just downloading from them but the verifications are done locally,
And your node still keeps related UTXOs saved even if the blocks where your recent transaction are already pruned..

It also helps the wallet load faster?
No, it wont affect its loading time positively nor negatively.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 06, 2025, 12:57:00 PM
 #9

~
Okay, Got it. I was under the impression that wallet need to redownload the data of UTXOs every time so thanks for clarifying it. Having a pruned node with more blocks stored got no benefit from the default value or has any?
LoyceV
Legendary
*
Offline Offline

Activity: 3906
Merit: 20769


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 06, 2025, 06:56:56 PM
 #10

Having a pruned node with more blocks stored got no benefit from the default value or has any?
See:
The only thing I can think of is to be able to load wallets that are several weeks old.



Side note: considering the questions you're asking, you could very well be better off with Electrum. Is there a reason you want to run a pruned Bitcoin Core node?

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
apogio
Legendary
*
Offline Offline

Activity: 1022
Merit: 2296



View Profile WWW
August 06, 2025, 08:33:12 PM
 #11

Side note: considering the questions you're asking, you could very well be better off with Electrum. Is there a reason you want to run a pruned Bitcoin Core node?

My convenience-oriented self would definitely agree. My privacy-oriented self still thinks Core is a good software wallet. For me the greatest disadvantage is the backup system. Core lacks an easy physical backup method unless you get the xpriv and print it using offline pc and like you say “an old classic cable printer”.

nc50lc
Legendary
*
Offline Offline

Activity: 3010
Merit: 8175


Self-proclaimed Genius


View Profile
August 07, 2025, 09:29:36 AM
 #12

-snip-
Okay, Got it. I was under the impression that wallet need to redownload the data of UTXOs every time so thanks for clarifying it. Having a pruned node with more blocks stored got no benefit from the default value or has any?
Aside from Loyce's reply about being able to load a wallet that was last synced within your unpruned blocks.

You can still use rescanblockchain command with specified starting block height
So if you need to import a prvKey, xprv or xpub via importdescriptors command, you can scan more blocks than the default.
Useful if your target UTXO is just a few months old.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 08, 2025, 03:55:15 PM
 #13

Side note: considering the questions you're asking, you could very well be better off with Electrum. Is there a reason you want to run a pruned Bitcoin Core node?
Currently I am using Electrum and I used to have bitcoincore back a while ago without fully understanding what it is supposed to be and the curiosity woke up again after reading couple of threads here and there, am forcing myself again to have my own and explore it further. Also I barely use my data while paying for unlimited so an attempt to rip off my ISP. Grin
apogio
Legendary
*
Offline Offline

Activity: 1022
Merit: 2296



View Profile WWW
August 08, 2025, 05:49:46 PM
 #14

Currently I am using Electrum and I used to have bitcoincore back a while ago without fully understanding what it is supposed to be and the curiosity woke up again after reading couple of threads here and there, am forcing myself again to have my own and explore it further. Also I barely use my data while paying for unlimited so an attempt to rip off my ISP. Grin

So if you plan to have your Core as a node and connect Electrum to it, you're gonna need an electrum server, but for this you need a non-pruned node.

If you wanna use it as a wallet, you can use a pruned node with the minimum size because any wallet you will create after the initial blockchain download, it will be perfectly fine.

The only reason why you need a pruned node (in general) is space limitation. If you don't have or don't wanna waste disk space. For any other reason, you won't see any difference between having 1GB pruning size or 100GB pruning size.

The only difference will be that you will be able to load wallets that you had created deeper in the past. But if you don't have old wallets, then literally just use the minimum size of pruning (or no pruning at all) depending on your disk limitations.

LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 08, 2025, 07:21:52 PM
 #15

Currently I am using Electrum and I used to have bitcoincore back a while ago without fully understanding what it is supposed to be and the curiosity woke up again after reading couple of threads here and there, am forcing myself again to have my own and explore it further. Also I barely use my data while paying for unlimited so an attempt to rip off my ISP. Grin

So if you plan to have your Core as a node and connect Electrum to it, you're gonna need an electrum server, but for this you need a non-pruned node.

Possibly in the future, but for now I want this mostly for learning and experimental purposes.

If you wanna use it as a wallet, you can use a pruned node with the minimum size because any wallet you will create after the initial blockchain download, it will be perfectly fine.

The only reason why you need a pruned node (in general) is space limitation. If you don't have or don't wanna waste disk space. For any other reason, you won't see any difference between having 1GB pruning size or 100GB pruning size.

The only difference will be that you will be able to load wallets that you had created deeper in the past. But if you don't have old wallets, then literally just use the minimum size of pruning (or no pruning at all) depending on your disk limitations.

Yes, it is only because of the disk limitation, my primary disk is 1TB nvme still I use my system for other things so I can't go for a full node with my current system unless I increase the primary disk. And a secondary disk is only possible through SATA ports and external disks, but I guess they're not suitable for the job so going with the pruned one now and maybe try to get a cheaper dedicated device to run 24/7.
LoyceV
Legendary
*
Offline Offline

Activity: 3906
Merit: 20769


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 09, 2025, 07:15:57 AM
 #16

Possibly in the future, but for now I want this mostly for learning and experimental purposes.
Why not use Testnet? Start Bitcoin Core with this option:
Code:
./bitcoin-qt -testnet4
It's much smaller to download, and meant for experimenting without risking any funds. See this post to get some testcoins.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
apogio
Legendary
*
Offline Offline

Activity: 1022
Merit: 2296



View Profile WWW
August 09, 2025, 02:53:18 PM
 #17

Yes, it is only because of the disk limitation, my primary disk is 1TB nvme still I use my system for other things so I can't go for a full node with my current system unless I increase the primary disk. And a secondary disk is only possible through SATA ports and external disks, but I guess they're not suitable for the job so going with the pruned one now and maybe try to get a cheaper dedicated device to run 24/7.

Ok, so I suggest you keep the minimum amount of memory, there is no reason for anything larger. Also, take into consideration LoyceV's suggestion. A testnet Core instance will give you all the features of a mainnet instance, but with the additional feature that you won't be able to screw anything up and you will also be able to test literally everything, without having to spend money to do your tests.

LucyFurr (OP)
Member
**
Offline Offline

Activity: 218
Merit: 62

Meowww...


View Profile
August 10, 2025, 05:24:35 PM
 #18

A testnet Core instance will give you all the features of a mainnet instance, but with the additional feature that you won't be able to screw anything up and you will also be able to test literally everything, without having to spend money to do your tests.

That should do the job even better, thanks for the suggestion guys. Since I already have the pruned mainnet, can I run testnet in parallel?

I read it is possible but one at a time not possible to have them simultaneously right?

A brief instruction can be helpful. Smiley
LoyceV
Legendary
*
Offline Offline

Activity: 3906
Merit: 20769


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 10, 2025, 06:57:59 PM
 #19

Since I already have the pruned mainnet, can I run testnet in parallel?
Yes, I've been doing that on my server for months.

Quote
I read it is possible but one at a time not possible to have them simultaneously right?
Just try it Smiley

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
Cricktor
Legendary
*
Offline Offline

Activity: 1358
Merit: 3360



View Profile
August 10, 2025, 08:51:53 PM
Merited by LoyceV (4)
 #20

If you want to run two Core instances, one for Mainnet and another for Testnet3 or Testnet4, you have to setup both Core to use separate ports or the Core started as second one will complain that some port is already in use.

IIRC, pretty hidden in the https://raspibolt.org instructions, funnily in the extras section of Lightning, there's a link to a description how to setup Mainnet and Testnet simultanously. It's not easy and isn't much for Windows users but it's possible to adapt once you understand the main details.

Here's the link: https://github.com/robclark56/RaspiBolt-Extras/blob/master/RB_extra_03.md

I will implement something like this for myself, too. As I've moved the Mainnet block storage of my non-pruned node to a second internal storage media, I've space again on the first internal SSD to have Testnet3 and/or Testnet4 in parallel. It's only that I need to find time to do it and spare time and mood to do it, is kind of a scarce thing. Don't hold your breath and I won't do it on Windows anyway...  Grin

BTW, while Mainnet, see https://fork.observer/, has only occasional block branching...


Testnet4 on the contrary is quite a block branching mess...


and because of the mining timestamp shenanigans it takes most of the time 20min for confirmations and until the PoW-strongest chain-branch is established. (I didn't play a lot with Testnet4, but when I did, it was a little bit annoying.)

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Pages: [1] 2 »  All
  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!