Questions tagged [pruning]

For questions about Bitcoin Core's pruning feature.

Filter by
Sorted by
Tagged with
1
vote
1answer
301 views

Does pruning affect a node's security or consensus ability?

An SPV node certainly is a compromise of security because the full set of consensus rules are not verified by the node (for example block size or subsidy rules). A pruned node seems like a win-win, ...
3
votes
1answer
57 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 ...
1
vote
3answers
487 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 ...
0
votes
1answer
27 views

Is it possible to forward signed transaction using bitcoind prune mode?

Summary: Is it possible to perform createrawtranscation , signrawtransaction and sendrawtransaction rpc call using bitcoin in prune mode? Detail : I want to implement an API that performs p2p BTC ...
4
votes
1answer
106 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 ...
1
vote
1answer
24 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&...
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
284 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 &...
3
votes
2answers
302 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 ...
1
vote
1answer
89 views

How could the Bitcoin protocol be modified so that pruned nodes could still participate in BIP 37 SPV?

According to Jameson Lopp (https://www.coindesk.com/spv-support-billion-bitcoin-users-sizing-scaling-claim/), allowing pruned nodes to advertise that they support BIP 37 would be impossible without "...
0
votes
2answers
108 views

Retrieving Old Transaction in Bitcoin Core's console -getrawtransactions returns “no such mempool transaction” error

I'm new to running a full bitcoin node. After almost a week I could download the entire blockchain. My computer is running 24/7 to support the cause. When I tried to verify some old transactions that ...
0
votes
1answer
424 views

Pruning Blockchain, what does it remove?

I am trying to determine if I want to prune but I'm trying to figure out if it would interfere with anything. Would it interfere with rpc calls to show info on a transaction/block? A full explorer? ...
0
votes
0answers
22 views

Upgrading Bitcoin Core (from a rather old version) and pruning at the same time? [duplicate]

I have an old Bitcoin Core wallet (v0.15.1) with 500 GB of blockchain on my computer (A new-ish mac - stupidly just copied the same bitcoin core version over when I upgraded my computer rather than ...
1
vote
1answer
148 views

Can I use blockfilterindex in pruned mode?

I run a node in pruned mode. I want to enable blockfilterindex. What I expected the node to do was: start downloading blocks from the very beginning; create the block filter as it goes through the ...
0
votes
0answers
16 views

How can I install Bitcoin Core without having a 350GB harddrive? [duplicate]

I would like to run Bitcoin Core on my laptop with approx 100 Gb of HDD available. From the installation instructions I understand that a full node must initially download the full approx. 350 Gb ...
1
vote
2answers
64 views

Shutdown bitcoin-qt during reindexing?

I started bitcoin-qt with --reindex and pruning on. Can I safely shutdown and restart? If yes how? Do I have to pass --reindex again or will bitcoin-qt remember and continue from where it stopped?
3
votes
1answer
55 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 ...
0
votes
1answer
173 views

Do I need a Bitcoin full node in order to use BTC RPC Explorer?

I'm thinking of using https://github.com/janoside/btc-rpc-explorer as my json explorer, but I run a pruned bitcoin node. Will this cause issues when running btc-rpc-explorer if I wanted to query old ...
2
votes
1answer
165 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 ...
1
vote
1answer
44 views

Receiving transactions in prune mode

I am new to Bitcoin. I have downloaded the whole blockchain but I still can't access my wallets because I get a popup telling me to use prune mode. My question is: I know that I have received ...
0
votes
0answers
64 views

How to make pruned node download an arbitrary block?

I want to importprunedfunds for addresses related to the wallet (with the help of scantxoutset) on a pruned node. The problem is raw transactions are needed for this. I found there were some attempts ...
1
vote
0answers
234 views

Pruning Blockstore has been running for days

After activating the core (Testnet - Pruned) with the command bitcoin-qt i received the following error: Corrupt Block Database I restarted the synchronization always using the Pruned mode. The core ...
0
votes
0answers
31 views

How can I seamlessly extend disk for bitcoin-core full node?

I'm running a bitcoin-core full node and serve customers wallet service (e.g. creating a wallet, sending tx). I set the chain data disk size to 400GB when first setting the node up and the disk is ...
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 "...
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?
5
votes
4answers
1k 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 ...
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 ...
3
votes
1answer
260 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 ...
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 ...
0
votes
1answer
114 views

Is it possible to skip verification of blockchain data when using bitcoin core?

Because I need bitcoin core client only for JSON-RPC requests. Will I need pruned initialization or normal initialization of bitcoin core client for successfully running such requests? (I guess client ...
5
votes
3answers
1k 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 ...
0
votes
1answer
122 views

Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this?

Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this? I went into preferences and I de-selected the pruning. I also added the line prune=0 to bitcoin.conf. ...
2
votes
1answer
151 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 ...
0
votes
1answer
200 views

Bitcoin full node - how to run a pruned node, explaining pruning?

can you explain please how I can run a "pruned" node instead of storing all 300GB of data? Is there a difference how you turn your btc client into "pruning" mode among the different clients, bitcoin ...
0
votes
0answers
151 views

How can I use backup up chain data from pruned node to set up (archivial) node without IBD?

My setup is an old (~2012) laptop + small SSD and a NAS with HDDs. I noticed that trying to sync Bitcoin Core (v0.18) on the NAS was slow, but on SSD was very fast. (Everything is connected via ...
1
vote
1answer
45 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 ...
0
votes
1answer
1k views

How to import address to a wallet which runs in pruned mode [closed]

I am running Bitcoin Cash node with prune=99000 mode enabled. So, I tried to import addresses of BCH from another BCH wallet by using importprivkey method and I am getting an error: Rescan is disabled ...
4
votes
1answer
235 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 ...
2
votes
2answers
98 views

download the bitcoin chain begining from a certain date

I am building a bitcoin lightning network using lnd on a separate computer this computer has less than 200G avaible and the actual blockchain is more than 220G, so I am gonna need to use prude mod ...
1
vote
2answers
167 views

Background information on warning, when closing wallet in pruned mode

What are the implications and reasons behind this warning on gui popup, when closing the wallet: "bitcoin closing the wallet for too long can result in having to resync the entire chain if ...
0
votes
2answers
390 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 ...
0
votes
1answer
396 views

Bitcoin core node is not starting after -prune is applied in bitcoin.config file

I have a bitcoin core full node version 0.17.1 running on my machine. I want to enable prune on the node to save space on the disk. When I apply -prune=15000 in bitcoin.config file and restart bitcoin ...
46
votes
3answers
36k 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 ...
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 ...
1
vote
1answer
272 views

What are the issues of running lightning daemon with pruning node?

Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind?
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.
2
votes
1answer
103 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?
0
votes
1answer
573 views

Cant start bitcoind - “Block files have previously been pruned”

I installed bitcoin, following this instructions. I mostly used it with bitcoin-qt -testnet options, even made a few transactions in testnet. I am using the pruned mode. Now I want to run the ...
0
votes
1answer
87 views

VPS with 80 GB Space, can't download the whole blockchain?

I am using an application and WordPress that allows people to pay with Bitcoin in a small multi vendor marketplace for trading hobby items. The plugin that I'm using is recommending that I run a ...
0
votes
3answers
654 views

Increase the fee for hanged transaction

So I made the transfer from my wallet’ address to other wallet. I use Bitcoin Core 0.14.2. And I read "Would replace by fee increase the fee on my transaction?" I apologize, was mistaken and ...