Questions tagged [pruning]

For questions about Bitcoin Core's pruning feature.

Filter by
Sorted by
Tagged with
48
votes
3answers
39k views

How can I run bitcoind in pruning mode?

I read this comment: You could consider running a pruning node, which is practically the same as a full node (including security), except it throws away some of the old history. Version 0.11 ...
15
votes
3answers
5k views

Can Bitcoin-Qt be configured to trim the blockchain?

I run Bitcoin-Qt and Bitcoin Armory on a laptop. I don't have the space to store the whole 20 GB (or however big it is now) blockchain. I understand the need to run through the entire thing for ...
15
votes
2answers
1k views

Why is pruning not considered already at the moment?

I understand that Bitcoin scales in several meanings (Scalability), and pruning is one important concept of it (SE Question). I also understand that a "Simplified Payment Verification" (SPV) needs to ...
13
votes
4answers
2k views

Is pruning transaction history implemented in Satoshi's bitcoin client?

The original bitcoin paper suggests a method to discard old transactions. One should compute the Merkle Tree of the entire transaction history, and store only part of the tree. However, I didn't ...
12
votes
3answers
6k views

How explicitly can the blockchain be pruned?

How can the blockchain be pruned? If the blockchain is tamper-proof thus cannot be changed, how can the data be removed? Please be as explicit as possible.
9
votes
2answers
2k views

Running lightning in prune mode

I am running lightning with the LND implementation and a full node. Nevertheless, I heard that it is possible to use Lighting in pruned mode. How is this possible? I read in the LND install ...
8
votes
3answers
2k views

Does running pruning node make the initial sync faster?

Does running bitcoind with -prune option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster? I keep reading conflicting information online - some ...
8
votes
2answers
3k views

What happens if you set prune=<n> to a value between 0 and 550?

Today I saw a question about what Bitcoin Core would do if you set prune=1. The documentation on bitcoin.org states: A value of 0 disables pruning. The minimal value above 0 is 550. Apparently, ...
7
votes
2answers
3k views

Do I need to keep all blocks when running Bitcoin Core?

Do I need to keep all blocks, from block 0 up to the current one, when running Bitcoin Core, either as a full node or not? Or can I just keep the more recent blocks to save space?
7
votes
3answers
2k views

Size of the blockchain after pruning

What is the size of the blockchain stored on a user harddrive after pruning has occurred?
6
votes
3answers
2k views

What is the meaning of the term "full-node"?

There seem to be some different interpretations of what the term "full-node" implies. E.g. there seems to be some disagreement whether a pruned node is still a full-node. So: What characteristics ...
6
votes
1answer
417 views

Running bitcoin core in a low storage system

I have a machine with ~40GB in storage. The Bitcoin block chain is ~75GB in size, is there any chance to run bitcoind in my system? I mean, can I somehow skip downloading some part of the block chain? ...
5
votes
1answer
1k views

How to operate bitcoin core .14 without downloading the entire blockchain with limited hard drive space of 50gb free?

I only have 50GB free on my main drive. I read that the bitcoin blockchain is 120gb and you have to first download the entire thing then you can downgrade it to something smaller. how can someone with ...
5
votes
3answers
532 views

Can you check if a node is pruning?

Is it possible to check if a specific node is running the full blockchain or a pruned one? Also if you can, is it possible to check exactly how many (or roughly) how many blocks they are distributing....
5
votes
2answers
233 views

Would moving a transaction from an old block to a new one allow more pruning?

At Pruning the branches in Merkle Tree Nick ODell writes "A leaf (transaction) can be pruned when all of its outputs have been spent." So I was thinking that if a transaction is one of the last few in ...
5
votes
1answer
526 views

Efficient way to migrate a pruned node

I would like to know what are the step to succefully migrate a pruned node. I have a Raspnode (rPi2B+) and it is so slow that it doesnt seem to sync the blockchain after several days... I want to ...
5
votes
4answers
2k views

Keeping old blocks on an external hard drive and latest blocks on an SSD

I would like to keep the latest 512 MB of blocks on my SSD (using pruning?) and the rest of the blockchain on an external non-SSD hard-drive. Is there a way to do this already, or do I need to write a ...
5
votes
1answer
170 views

Is Merkle tree pruning described in the whitepaper feasible/useful? If not, would there be any alternative?

When I was reading bitcoin-paper-errata-and-details.md written by David A. Harding, I realized that there's probably a common misunderstanding or over-simplification about Merkle tree pruning. What ...
4
votes
1answer
370 views

If pruning is so safe, why aren't 100% of the Bitcoin nodes pruning? Why keep the unnecessary data?

I have a fully synced, non-pruned Bitcoin Core on this computer. I have an almost-fully synced, pruned Bitcoin Core on another computer. What exactly is the motivation for keeping those 368.5 GB of &...
4
votes
1answer
317 views

Why is 550 (MiB) chosen for minimum storage size for prune mode?

As you know Bitcoind can run in pruned mode, thus not advertising blocks to other nodes. Even though it has some drawbacks, saving you storage space isn't a benefit you can ignore. My question is ...
4
votes
1answer
140 views

Will running a pruned node make my store less secure?

We run our own nodes to verify transactions for our store and I was wondering what will be the downsides to me running a pruned node? I read they can fully verify a transaction so I'm not too sure why ...
4
votes
3answers
2k views

What do pruning nodes contribute to the network?

Pruning nodes are described in the sourcecode thusly: -prune=<n>: Reduce storage requirements by pruning (deleting) old blocks. This mode is incompatible with -txindex and -rescan. I’ve ...
4
votes
2answers
1k views

Do you have to download the entire bitcoin blockchain for bitcoin core pruned mode to take effect?

I've read that you need to download the entire bitcoin blockchain before you can set it to bitcoin core pruned mode to reduce space. But what if I don't have 100gb+ free on my hard drive? Is there a "...
4
votes
1answer
1k views

What does "NODE_WITNESS (12)" mean as it is shown in bitnodes.21.co?

I'm running a pruned full node of bitcoin core version 0.14.0 and checking on https://bitnodes.21.co/nodes/ I can see that my node was labelled "NODE_WITNESS (12)" unlike of the others nodes shown, ...
4
votes
1answer
159 views

How big would the transaction history be if all spent transactions were pruned?

If the transaction history's Merkle tree were pruned to remove all transactions that have been completely spent, what would be the size of the transaction history in comparison to its current size? (...
3
votes
2answers
426 views

Does running a pruned node support the syncing of other nodes in the network?

I decided to prune my Bitcoin core node to 25 GB. With the blocks that the node has in its data directory (the ones that were not deleted), does such a node support the syncing of other nodes in the ...
3
votes
1answer
324 views

Downloading the pruned blockchain file directly from external source

Using the bitcoin client to have a pruned version of the blockchain can take a lot of time, I was wondering what would be the drawback to simply download an already pruned bitcoin blockchain file from ...
3
votes
1answer
118 views

If there are a significant number of pruned nodes on the network will it impact network security?

The size of the Bitcoin blockchain is reaching 350 MB and adding more than 60GB per year. I feel verification node centralization a risk if the cost of storage does not drop. My question 1: Is using ...
3
votes
1answer
2k views

How can a pruned node be classed a full node without the full blockchain?

A full node is a node with the whole blockchain and is able to verify any new incoming blocks. A pruned node, is a node with only some of the blockchain, namely it has removed some of the older ...
3
votes
1answer
70 views

Can pruned nodes perform fee estimation?

The fee estimation in Bitcoin Core is based on the previous blocks. Since the minimum pruning size for pruned nodes is 550 MB, a pruned node may actually not have the last 1,000 blocks, which is the ...
3
votes
1answer
3k views

How is the ledger stored on every node?

I read different sourcing claiming the size of the blockchain for bitcoin. Some says it's 8GB, some a 100GB and some 800GB. Now I'm wondering do all the miners computers (nodes) have to store it ...
3
votes
1answer
292 views

Does having a pruned node reduce its network score?

My node's network score (revealed by getnetworkinfo) is very low (<75). Most of the time there are no peers with incoming connections connected to the node. Is this because I'm running a pruned ...
3
votes
2answers
836 views

Does Armory work with a pruned copy of the blockchain?

I'm recovering a wallet from Armory and the blockchain is taking too much space. My HD is 500 GB big but none of my partitions have more then 70 GB left. The folder .bitcoin/blocks already uses 37 GB ...
3
votes
1answer
412 views

What are spent transactions?

Satoshi's paper says: Once the latest transaction in a coin is buried under enough blocks, the spent transactions before it can be discarded to save disk space. What are spent transactions?
3
votes
2answers
741 views

Can a blockchain be created that forgets transactions whose outputs have been spent?

Is it possible for a blockchain based currency to say, after all outputs have been spent from a transaction to "delete" it from the blockchain, or at least require the nodes not to download it, what ...
3
votes
0answers
148 views

Does anyone know how to enable "Massively Reduced Disk Usage for Wallets" feature in Bitcoin Core 0.12.0? [duplicate]

Based on the release note https://bitcoincore.org/en/2016/02/23/release-0.12.0/. Users will be able to run a full node while only storing around 2GB of data. What should I do to enable this feature ...
2
votes
2answers
538 views

How to make bitcoin-qt respect -prune?

I'm using Bitcoin Core 0.18.0-rc2 (64-bit) on Qt 5.9.7. How can I make it respect -prune=550? This is the minimum prune number, and should be approximately 550 MB. Yet, my client is downloading ...
2
votes
1answer
166 views

Bitcoin core v0.19.0.1 automatically prunes?

Just finished syncing the whole blockchain after days and I realize the bitcoin settings were "pruning", which means I cannot use it as a wallet. is it the normal behavior of bitcoin core v0.19.0.1 ...
2
votes
1answer
65 views

Is it possible to increase the prune size and get bitcoind to pull previous blocks?

for example, currently its: "size_on_disk": 32084546902, "pruned": true, "pruneheight": 650668, "automatic_pruning": true, "prune_target_size&...
2
votes
1answer
319 views

What is the current size of txindex folder when txindex=1 set? [duplicate]

Due to reputation limitations, I cannot ask for an update on this question: How much extra disk space does txindex=1 require? What is the current size of the txindex folder when txindex=1 is set in ...
2
votes
1answer
1k views

What will happen if a block is lost on a peer?

In the Bitcoin network, each peer maintains a full copy of the ledger (blockchain). What will happen if a peer losts one of its blocks in the blockchain (e.g. another process on the peer accidentally ...
2
votes
3answers
992 views

How can I import a private key into a pruned node?

I am trying to restore my Bitcoin Core wallet, but I only have the private key and passphrase, I don't have a wallet.dat file. I tried using importprivkey privatekey xxxxxxxxxxxxxxxxxxxx which gave ...
2
votes
1answer
62 views

Can a bad actor omit an unspent address from a pruned chain?

This isn't a problem today, because if I want to run a pruned node then I still have to download the whole chain, but it sure would be nice if I could just download a pruned chain instead and validate ...
2
votes
1answer
603 views

Is pruning of the merkle tree implemented in the bitcoin android wallet?

I know that satoshi's client doesn't prune, because we need to store all the transactions so that we can send them to other nodes. But does this android bitcoin wallet from de.schildbach prune? ...
2
votes
1answer
119 views

Pruned nodes update tip performance

If I run a node with prune=550 does the Bitcoin Daemon still receive update tips (mined blocks) just as fast as a full node?
2
votes
2answers
1k views

Understanding SPV, pruning and its downsides, as well

First of all, sorry by not asking an objective question, it's because I can't resume this one and I didn't find information even in the "mastering bitcoin" book. The large texts in this question are ...
2
votes
0answers
92 views

Pruned Bitcoind Backend for LND with txindex enabled for version > v0.13.0

I'm looking to prune a bitcoind node that will be used by LND. https://github.com/lightningnetwork/lnd/commit/410b30b9caaf59a78a29d8b924e14395b7daa59d From the LND commit recently by Kixunil. Note ...
1
vote
2answers
112 views

Prune full node recovery after 1 month of inactivity

Alice is running a prune full node (around 7GB) of storage for prune node. It was working fine Due to power outrages, Alice prune full node was shutdown for 1 month. can this full prune node recover ...
1
vote
1answer
50 views

Syncing blockchain with prune enabled

I'm syncing a node with prune enabled. Will it download the whole blockchain and then prune to my given settings after, or does it prune as it syncs? I'm currently 34.85% synced Blockchain directory ...
1
vote
2answers
135 views

Download the blockchain starting with a specific date

I am in the process of setting up lnd on a separate computer. The computer has less than 200GB available and the actual blockchain is more than 220GB, so I am gonna need to use pruned mode. What I ...