38
votes
Accepted
How can I run bitcoind in pruning mode?
By setting the -prune option.
-prune=
Reduce storage requirements by enabling pruning (deleting) of old
blocks. This allows the pruneblockchain RPC to be called to
delete ...
18
votes
Can Bitcoin-Qt be configured to trim the blockchain?
Since Bitcoin-Core 0.11.0 you can prune (trim) the blockchain in Bitcoin-Qt.
But not from the UI.
You need to add prune=550 to your bitcoin.conf file and restart Bitcoin-Qt.
Explanation:
-prune=<...
18
votes
How can I run bitcoind in pruning mode?
There are more details in the release notes.
To enable block pruning set prune=<N> on the command line or in bitcoin.conf, where N is the number of MiB to allot for raw block & undo data.
A ...
11
votes
Accepted
Does running pruning node make the initial sync faster?
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more ...
9
votes
Accepted
Running bitcoin core in a low storage system
You cannot skip downloading the blockchain, but you can skip storing it.
If you run Bitcoin Core with the -prune=N or put prune=N in the bitcoin.conf file, only at most N megabytes worth of blocks ...
7
votes
Accepted
What is the meaning of the term "full-node"?
Fully validating nodes ("full nodes") are clients that have validated the whole blockchain self-sufficiently and enforce all of the rules of Bitcoin on any data they receive. Therefore, they cannot be ...
7
votes
Accepted
Do I need to keep all blocks when running Bitcoin Core?
Full nodes keep all blocks by default, but this is not necessary to achieve full node security. Full nodes validate the complete blockchain and enforce all consensus rules regardless of whether a full ...
7
votes
Size of the blockchain after pruning
You can set a limit for blockchain data by starting your node with -prune=<n>.
-prune=<n> gives the target size in MiB to use for block files
This limit will only include the blocks and ...
7
votes
Accepted
How to operate bitcoin core .14 without downloading the entire blockchain with limited hard drive space of 50gb free?
If pruning is enabled, old blocks are deleted on the fly while new ones are being downloaded.
With -prune=550 (the minimum value), you're able to run Bitcoin Core v0.12+ with just a few GB of disk ...
7
votes
Accepted
Why is 550 (MiB) chosen for minimum storage size for prune mode?
Just got help from someone at BitcoinTalk forum, who directed me to bitcoind 0.11.0 changelog (Which pruning was introduced/implemented for the first time in bitcoind)
As indicated there, Block ...
6
votes
Does running a pruned node support the syncing of other nodes in the network?
does such a node support the syncing of other nodes in the network?
Nodes that are pruned unset the NODE_NETWORK flag, which means that they don't advertise themselves as a potential source for block ...
6
votes
If pruning is so safe, why aren't 100% of the Bitcoin nodes pruning? Why keep the unnecessary data?
There are three things pruned Bitcoin Core nodes (as of version 0.21.0) cannot do:
Serve historical blocks to new nodes that are trying to bootstrap.
Rescan for old wallet transactions after ...
5
votes
What happens if you set prune=<n> to a value between 0 and 550?
It turns out that prune=1 is a new special case which enables manual pruning. For values of N from 2 to 549, prune=N shows an error.
Bitcoin Core parses configuration arguments in the init.cpp. ...
5
votes
Accepted
How can I prune my Bitcoin Core correctly? The other way did not work for me. Have I done any unnoticed mistake?
From your description it sounds to me that you may have edited your configuration file while Bitcoin Core was already running.
prune=1100 is a startup parameter. It will take effect once you restart ...
5
votes
Accepted
Will running a pruned node make my store less secure?
Will running a pruned node make my store less secure?
No, not at all.
I was wondering what will be the downsides to me running a pruned node?
With a pruned node you cannot:
Handle (extremely) ...
5
votes
Running lightning in prune mode
Update(2021): Since version 0.13 pruned nodes are officially supported although they cause performance penalty and higher network usage.
It is possible to run Lightning (both LND and c-lightning) with ...
5
votes
How to make bitcoin-qt respect -prune?
prune allows you to set the size of blockchain data stored, not downloaded. Therefore prune does not affect bandwidth usage.
5
votes
Accepted
Syncing blockchain with prune enabled
It will prune as it synchronizes. Disk usage shouldn't ever reach more than a few GB plus what you configured the pruning limit to.
5
votes
Accepted
Bitcoin core v0.19.0.1 automatically prunes?
No, the default behavior of bitcoin core v0.19.0.1 is still the non pruning mod.
You should check your bitcoin.conf file depending on your operating system there is a line about pruning which should ...
5
votes
Accepted
Downloading the pruned blockchain file directly from external source
It introduces too much trust into the download source. It's the same thing as just uploading a datadir. You aren't verifying any of the blockchain history; what you download could be a fork of the ...
5
votes
Accepted
Pruning Blockchain, what does it remove?
Pruning Blockchain, what does it remove?
What
Raw block data for blocks older than a given height.
If we look at https://bitcoincore.org/en/releases/0.11.0/, it says
This release supports running a ...
Community wiki
4
votes
Would moving a transaction from an old block to a new one allow more pruning?
This seems a lot of effort for absolutely no benefit.
In the Bitcoin pruning model you discard ALL those old blocks anyway, and JUST keep the utxo set. It doesn't matter whether a utxo is in an old ...
4
votes
Accepted
Efficient way to migrate a pruned node
Copying .bitcoin folder should work. Make sure bitcoind is not running (try ps -ef | grep bitcoin) before you attempt to copy. Also make sure bitcoin.conf is same in both places
Also, change the ...
4
votes
Accepted
What happens if you set prune=<n> to a value between 0 and 550?
From the Bitcoin Core v0.14.0 release notes:
Bitcoin Core has supported automatically pruning the blockchain since 0.11. Pruning the blockchain allows for significant storage space savings as the ...
4
votes
Do I need to keep all blocks when running Bitcoin Core?
This is called pruning.
From here:
Since Bitcoin-Core 0.11.0 you can prune (trim) the blockchain in
Bitcoin-Qt. But not from the UI. You need to add -prune=550 to your
bitcoin.conf file and ...
4
votes
Accepted
Changing prune size in working bitcoin daemon
The prune value merely sets the limit of how much block data is kept.
If you increase the value and restart, no block data will be deleted for a while. New blocks will be received and validated and ...
4
votes
Accepted
Do you have to download the entire bitcoin blockchain for bitcoin core pruned mode to take effect?
Pruning saves disk space, but you still need to download the whole blockchain, prune mode works on the fly, once your node has downloaded the block data and validated the blocks/transactions in it, it ...
4
votes
Accepted
How can a pruned node be classed a full node without the full blockchain?
Pruned nodes will verify new blocks and they are classified as full nodes
They keep the complete database of all UTXOs. This is enough to verify new blocks. What is required for validation is that ...
4
votes
Does running pruning node make the initial sync faster?
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download ...
4
votes
Accepted
Can I use blockfilterindex in pruned mode?
The block filter index is build asynchronously from block downloading and validation. It is possible that the thread handing block storage and pruning could be enough ahead of the thread building the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pruning × 96bitcoin-core × 34
bitcoind × 21
blockchain × 16
full-node × 16
synchronization × 7
storage-footprint × 7
wallet × 6
transactions × 5
client × 5
nodes × 5
storage × 5
lightning-network × 4
merkle-tree × 4
txindex × 4
node-services × 4
security × 3
spv × 3
block × 2
segregated-witness × 2
network × 2
privacy × 2
lightning-network-daemon × 2
decentralization × 2
blocks × 2