bitcoin core – Can I delete blk*.dat recordsdata?

on

|

views

and

comments


Bitcoin Core already has the performance to do precisely this: pruning. You may allow pruning by setting prune=<n> in your bitcoin.conf file or by passing -prune=<n> to bitcoind on startup.

Verify bitcoind -h for extra data, however briefly:

  • prune=1 permits for manually deleting blocks utilizing the pruneblockchain rpc
  • prune=<some quantity >= 550> allows your node to robotically delete blocks to maintain the dimensions, measured in MiB, lower than the quantity specified

Just a few issues to bear in mind when pruning:

  • You can’t run txindex whereas pruning, so you will not be capable to use your node to lookup particular transactions
  • When you ever wish to flip pruning off, you have to to re-download the complete blockchain
Share this
Tags

Must-read

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

US robotaxis bear coaching for London’s quirks earlier than deliberate rollout this yr | London

American robotaxis as a consequence of be unleashed on London’s streets earlier than the tip of the yr have been quietly present process...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here