Questions tagged [pruning]

For questions about Bitcoin Core's pruning feature.

Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

How do I reduce the size of these pruned nodes?

I have these nodes pruned to their minimum (500MB and 2.2GB for Dogecoin) but as you can see they're still relatively large for their prune size. How can I reduce their size further? # du -shc /home/...
Shovas's user avatar
  • 185
1 vote
1 answer
53 views

Does a pruned node have the same chainstate/ as the unpruned one? Does not seeing historical data impact transacting?

Let's assume that I have two identical clearnet-only Bitcoin Core nodes on the same ethernet LAN. I then moved 1BTC on the same day of October of 2021 to the Core Lightning wallets connected to those ...
John Smith's user avatar
5 votes
1 answer
2k views

Why is a bitcoin node pruned to 550MB taking up 10GB+?

Why is a bitcoin node pruned to 550MB taking up 10GB+? $ du -smc blocks chainstate index | sort -g 0 index 849 blocks 10325 chainstate 11174 total
Shovas's user avatar
  • 185
1 vote
1 answer
87 views

Can I still use old wallets after pruning?

I want to move my node to a laptop with less than 70gb free space. Would pruning make wallets older than pruned blocks unusable? If that is not an issue, what files should I copy to my new node in ...
hashimov's user avatar
1 vote
1 answer
304 views

Blockchain pruned node still downloading old blocks

We are working on a Bitcoin project for which we need to have the bitcoin node. The point is that we do not need to have the entire bitcoin node downloaded but only from the moment we start the ...
SamYan's user avatar
  • 113
0 votes
0 answers
63 views

bitcoin.conf location on Mac with Bitcoin Core v25 ("Error: Prune mode is incompatible with -txindex") [duplicate]

TLDR: where can bitcoin.conf be found on Mac running Bitcoin Core v25? Context: I have Bitcoin Core v25 on Mac and run into a "Error: Prune mode is incompatible with -txindex" when opening ...
Will D's user avatar
  • 1
5 votes
1 answer
163 views

Testing pruning logic with bitcoind

I'd like to test pruning logic using bitcoind in regtest mode, however, given the nature of regtest, blocks are rather empty (if not fully). Is there any way of easily generating full blocks so the ...
sr_gi's user avatar
  • 3,220
1 vote
1 answer
158 views

Consequences of turning on pruning setting in Bitcoin core after initial block download

I have been running full node without specifying the pruning settings in bitcoin.conf. I was wondering if I need to re-download the entire blockchain if I restart my node after turning on pruning ...
mia_mhm's user avatar
  • 13
5 votes
1 answer
567 views

Can I delete blk*.dat files?

Since bitcoin validates blockchain by the hash of older blocks recursively; Can I just keep the last blk*.dat file and delete the rest while the bitcoin core is downloading and validating the ...
SReza S's user avatar
  • 65
14 votes
2 answers
1k views

Why is witness data downloaded during IBD in prune mode?

Why do pruned nodes download (segregated) witness data during IBD if much of that data is marked as Assumevalid? These nodes seem to be downloading witness data just to prune it. Since we already know ...
Son Kaos999's user avatar
2 votes
1 answer
129 views

Creating a pruned node from an archiving node

Suppose I have an archiving full node (i.e. a full node where all blocks are saved to disk forever) running on one of my computers. Now suppose I have another computer where I'd like to run a separate ...
edwargix's user avatar
3 votes
1 answer
136 views

Why is there a need to flush the UTXO set when you prune blk*.dat and rev*.dat files during ibd?

As I understand, when Bitcoin Core has pruning turned on, it will flush the dbcache when it prunes unnecessary blk*.dat and rev*.dat files during ibd. In https://bitcoincore.reviews/20827, it states: &...
kcalvinalvin's user avatar
1 vote
1 answer
82 views

Does pruning during IBD reduce the ability to utilize the dbcache fully?

I'm running IBD on a machine with 8GB ram with prune=550 and dbcache=7000 and noticing that memory usage is not going above ~880mb. Seems unusual and I assume it's related to pruning. I found a ...
John Cantrell's user avatar
1 vote
0 answers
85 views

What happens if I enable blockfilterindex on an already pruned and synced node?

What happens if I enable blockfilterindex on a pruned node that is already synced to tip? Am I able to do this? Does it essentially trigger another IBD to build the filters? Is the node usable / fully ...
John Cantrell's user avatar
8 votes
4 answers
525 views

Skip IBD on pruned node?

I'm trying to run a light bitcoind node for testing purposes on mainnet, with minimum startup time. ./bin/bitcoind \ -prune=550 \ -txindex=0 \ -assumevalid=...
Carlos's user avatar
  • 83
1 vote
1 answer
46 views

How to check NODE type in Bitcoin?

There is a Bitcoin node in my Lab, how can I check it is a Full node or not? there is any command to check node type?
Istiaque Ahmed's user avatar
0 votes
1 answer
60 views

Trusting only the proof of work to receive payments

I understand that a pruned node needs to download all the blockchain in order to verify the blocks and construct the UTXO set. But wouldn't be possible to download the headers only? Let's say if the ...
leslie's user avatar
  • 52
2 votes
1 answer
374 views

How to configure a testnet node to be pruned?

I have a testnet VM node running. As I have only limited resources, I did set pruned=1000 in the bitcoin.conf file, so the blockchain is pruned down to 1GB. But when I run bitcoind and it downloads ...
zerotobtc's user avatar
  • 323
0 votes
1 answer
110 views

Pruning Blockchain and creating multi wallets

I am trying to determine if I could use pruning blockchain option on my future bitcoin node or not. I will create a multiple wallets by RPC calls and I need to be able to check the history of ...
albaokilml's user avatar
3 votes
2 answers
550 views

How do I switch a pruned node to "neutrino mode"?

According to Lightning Lab's documentation, Bitcoin Core can be run in "neutrino mode" to serve block data without storing transactions. I've been running Bitcoin Core in pruning mode and ...
Martin Massera's user avatar
1 vote
1 answer
180 views

Does pruning reveal anything private such as one’s UTXOs?

I am writing a hardened Bitcoin node guide and I don’t fully understand the implications of pruning. My understanding is that when one has a full copy of the blockchain, the node itself doesn’t reveal ...
sunknudsen's user avatar
3 votes
1 answer
212 views

Removing stale blocks using prune=1TB

I'm running a block parser that reads blocks/*.dat and I've noticed it dumps the stale blocks as well as the main chain blocks. My project only needs the main chain blocks, and I noticed that Core's ...
Steve's user avatar
  • 99
1 vote
2 answers
131 views

mempool web app on pruned node

What would happen when running mempool web app on top a catched up pruned node and track back to old transactions no longer in persistent storage? Would it behave buggy? If so, would be in scope not ...
Mercedes's user avatar
  • 802
2 votes
1 answer
483 views

Connecting A Wallet To A Pruned Node

I’ve connected Sparrow Wallet to a pruned Bitcoin node but none of my UTXOs are showing. I would imagine that since I haven't spent them and since pruned nodes still keep the entire UTXO set, my ...
The-null-Pointer-'s user avatar
0 votes
1 answer
166 views

Does running full node in prune mode contribute to BTC network? [duplicate]

If I run current (v22.0.0) full node in prune mode will it contribute to the BTC network (better security, etc..)? In v11.x.x the relay was not working hence no contribution to the network at all (if ...
Erik Webr's user avatar
2 votes
0 answers
271 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 ...
Michael Tidwell's user avatar
1 vote
2 answers
187 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 ...
Cisco Mmu's user avatar
  • 335
0 votes
2 answers
93 views

Can Confidential Transaction in Liquid Network Blockchain be pruned

From a bitcoin full node, we can prune the blockchain from 350GB to 7GB (as of 30thJune2021) by storing the latest UTXO set plus maybe 120 latest block (for possible orphaning or block reorganization)....
Cisco Mmu's user avatar
  • 335
1 vote
0 answers
310 views

Can you prune blockchain without redownloading?

I've downloaded the whole blockchain now I want to run a pruned node on another device. But if I klick on prune block storage in bitcoin core, it tells me that reverting this setting requres re-...
taway's user avatar
  • 21
3 votes
1 answer
242 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 ...
Vizeet Srivastava's user avatar
3 votes
1 answer
483 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&...
sapakus's user avatar
  • 33
4 votes
1 answer
641 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 &...
T Kalpakoff's user avatar
5 votes
2 answers
1k 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 ...
John Smith's user avatar
0 votes
2 answers
564 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 ...
Pishi's user avatar
  • 13
2 votes
1 answer
6k 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? ...
Derek Hill's user avatar
1 vote
1 answer
881 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 ...
Sergei Tikhomirov's user avatar
0 votes
0 answers
33 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 ...
bitcoinomnivore's user avatar
1 vote
2 answers
189 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?
pisjatblin's user avatar
0 votes
1 answer
98 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 ...
cryptoKTM's user avatar
  • 554
3 votes
4 answers
3k 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 ...
Rohan's user avatar
  • 31
3 votes
1 answer
125 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 ...
Murch's user avatar
  • 75.2k
0 votes
1 answer
304 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 ...
Patoshi パトシ's user avatar
5 votes
2 answers
289 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 ...
Chris Chen's user avatar
3 votes
1 answer
945 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 ...
Johannes Rottenkolber's user avatar
0 votes
0 answers
160 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 ...
leshik's user avatar
  • 96
1 vote
0 answers
674 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 ...
MaXbeMan's user avatar
  • 125
0 votes
0 answers
98 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 ...
gocyrp's user avatar
  • 1
3 votes
1 answer
608 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 ...
Saxtheowl's user avatar
  • 2,800
0 votes
1 answer
402 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 ...
wowfactory's user avatar
0 votes
1 answer
266 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. ...
Sameh Ramzy Labib's user avatar