Questions tagged [pruning]
For questions about Bitcoin Core's pruning feature.
111
questions
1
vote
1
answer
169
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 ...
0
votes
0
answers
62
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 ...
5
votes
1
answer
147
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 ...
1
vote
1
answer
119
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 ...
5
votes
1
answer
498
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 ...
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 ...
2
votes
1
answer
101
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 ...
2
votes
1
answer
97
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:
&...
1
vote
1
answer
65
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 ...
1
vote
0
answers
60
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 ...
6
votes
3
answers
419
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=...
1
vote
1
answer
37
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?
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 ...
2
votes
1
answer
277
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 ...
0
votes
1
answer
96
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 ...
3
votes
2
answers
459
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 ...
1
vote
1
answer
142
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 ...
3
votes
1
answer
205
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 ...
1
vote
2
answers
103
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 ...
2
votes
1
answer
381
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 ...
0
votes
1
answer
154
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 ...
2
votes
0
answers
257
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
2
answers
178
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 ...
0
votes
2
answers
88
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)....
1
vote
0
answers
266
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-...
3
votes
1
answer
220
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 ...
2
votes
1
answer
408
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&...
4
votes
1
answer
592
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 &...
5
votes
2
answers
905
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 ...
0
votes
2
answers
512
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 ...
2
votes
1
answer
5k
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?
...
1
vote
1
answer
687
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
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 ...
1
vote
2
answers
173
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?
0
votes
1
answer
84
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 ...
3
votes
3
answers
2k
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 ...
3
votes
1
answer
111
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
1
answer
293
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 ...
5
votes
2
answers
273
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 ...
2
votes
1
answer
819
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 ...
0
votes
0
answers
155
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
0
answers
635
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
0
answers
88
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 ...
3
votes
1
answer
571
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 ...
0
votes
1
answer
374
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 ...
0
votes
1
answer
257
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. ...
1
vote
1
answer
82
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 ...
2
votes
1
answer
2k
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
0
answers
308
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 ...
2
votes
1
answer
205
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 ...