Questions tagged [reindex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
45 views

What Lightning Network transaction information is usable to provide a verifiable public index of received payments?

I have in mind a protocol architecture that includes value transfer, where BTC is the unit of account. To make the protocol scalable I could specify use of the Lightning Network protocol. In this case,...
  • 244
1 vote
1 answer
39 views

Unprune & Re-Download Failed. Core asks for a "-reindex" due to chainstate, then fails

I was attempting to return from pruned to unpruned chainstate. Unchecked the pruned box. Core cautioned this would require re-download of the blockchain in its entirety. OK, fine. Shutdown Core to re-...
0 votes
0 answers
39 views

Bitcoin Core txindex not completing successfully

I am running a full node on Ubuntu (20.04), Core version 22.0.0, which is fully synced up to around 72500 blocks at this time. I am wanting to completely index the full chain however this has not ...
0 votes
2 answers
130 views

How can I -abort ./bitcoind -reindex-chainstate?

I made files re-accessible. Now we could return to a later, already synchronized state with the files. I tried to put ./bitcoind -reindex-chainstate=0, also in a bitcoin.conf, also directly calling ...
  • 1
0 votes
1 answer
51 views

Why is the rate of reindexing chainstate not constant?

What determines the speed of the reindexing-chainstate in the different times? I spend a few days (2 week) for reindexing locally on my new HDD, and I noticed one thing: the speed of reindexing is ...
1 vote
1 answer
379 views

`reindex-chainstate` configuration in bitcoin.conf?

Is there a specific flag I can place in bitcoin.conf to reindex the chainstate (not command line)? Ie: reindex=1 does a full reindex is there a flag like reindex-chainstate=1 or similar?
  • 11
1 vote
1 answer
820 views

does Bitcoin Core automatically use reindex when you specify txindex=1 with existing sync'd chain?

I sync'd a bitcoin node with Bitcoin Core Qt GUI. Hundreds of GB, naturally. I realized I needed txindex on for Lightning node stuff, so I changed the conf file via the GUI to include txindex=1. I ...
4 votes
1 answer
281 views

Which blk*.dat file contains a particular block?

Is there a way to find out which blk*.dat file contains a particular block? For example, it would be useful to know which *.dat file contains block 478558, which is the point where BCH forked from BTC....
  • 143
1 vote
1 answer
433 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 ...
1 vote
2 answers
109 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
0 answers
150 views

using -reindex-chainstate in the cmd

I have a problem with my full node bitcoin core, it was working fine, and after restarting my computer, it shows an error with reindex So to solve the problem i usedreindex-chainstate Is it normal if ...
  • 176
1 vote
1 answer
347 views

Re-index/Re-download from specific height?

I seem to have discovered corrupt blocks on one of my nodes. The node is on all the time to keep up to sync and the rest of my nodes connect to it to retrieve block data when they need to sync. The ...
  • 141
1 vote
1 answer
47 views

If I am on a fork, can the reindex parameter fix this?

I've been reading confusing information online about what the --reindex startup parameter does. This link is not clear to me. https://github.com/bitcoin/bitcoin/blob/...
  • 175
2 votes
1 answer
449 views

Does bitcoind ERROR "Disk space is too low!" refer to RAM or actual harddrive?

After having finished the "Initial Block Download" I needed to reindex: [BTC_Core_Expmnt]# bitcoind -reindex -datadir=/mnt/BTC_Core_Expmnt The debug.log showed everything starting up ok; and the ...
3 votes
1 answer
110 views

Can bitcoin core verify a third party blockchain download?

If you were to obtain a copy of the bitcoin blockchain, i.e. a copy of someone's data dir excluding his wallet files on a removable drive or other storage medium, could bitcoin core verify that or not?...
  • 2,570
0 votes
1 answer
37 views

Does bitcoind re-index or reverify downloaded blocks upon startup?

If so is there a way to prevent this from happening?
  • 115
0 votes
1 answer
1k views

Bitcoin Core 'unable to open file' causes reindexing to fail

I recently struggled to send bitcoin from my Armory wallet (0.96.5) to another account. Sending bitcoin did not work because the wallet could not synchronize with the blockchain. Since Armory relies ...
1 vote
1 answer
772 views

Txindex=1: how to recognise the blockchain with this option?

This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted ...
  • 11
2 votes
1 answer
414 views

LoadBlockIndexDB: transaction index disabled

I'm trying to run bitcoind on a Raspberry Pi 3 but I'm stuck on an error. The raspberry has a Hdd for storage with a fully indexed blockchain that was synced on my laptop and than copied to the Hdd (...
  • 41
2 votes
0 answers
489 views

Even with dbcache=7000 and 16 core processor. Why does -reindex-chainstate take more than 24+ hours?

My computer got shut off due to a power outage and when I rebooted my bitcoin core it was stuck on connecting to peers. I was told to do a -reindex-chainstate with dbcache set as high as possible. ...
1 vote
0 answers
207 views

It's October 2018. ./bitcoin-qt -reindex-chainstate takes forever. Is there a way to speed this up?

Current version: Bitcoin Core 0.16.3 I think I have a corrupted blockchain download as my VM box was shut down in the middle of syncing. Which is why I'm doing a -reindex-chainstate I have the ...
2 votes
1 answer
635 views

Fixing "Block not found on disk" rpc error

I have a full node with txindex enabled that I've been trying to use for an electrum server. However, whether I use ElectrumX or Electrs, I hit the same error on initial indexing of "Block not found ...
3 votes
1 answer
770 views

Issue with getrawtransaction txindex and reindex

I am running Bitcoin Core Deamon version v0.16.0.0 on Ubuntu and need to call the getrawtransaction command for some TX. To use the getrawtransaction I need to run bitcoin core with txindex=1. But ...
4 votes
1 answer
2k views

Bitcoin Core - Go back to a specific block?

I have a full node of Bitcoin Core wallet. I would like to know if it's possible to delete data after a certain block. For example Bitcoin is currently at block 504385. There was a fork around block ...
  • 317
7 votes
0 answers
6k views

How to recover corrupted Bitcoin-Core blockchain?

I recently experienced a I/O error resulting in data block corruption or index corruption cause bitcoin-qt wasn't quitting so I forced bitcoin core to shutdown without killin it properly. I checked ...
  • 210
1 vote
0 answers
154 views

Bitcoin Core on SD card

Running out of hard drive space, I bought a 256 GB SD card formatted with the FAT filesystem and moved my Bitcoin directory to it. After getting error messages I decided to delete it and redownload (...
3 votes
1 answer
3k views

Bitcoind --reindex vs starting allover again

I setup a Bitcoin Daemon on a VM hosted on an OpenStack cloud. VM has 8 Cores and 32GB of Ram and 20GB of storage. I mounted a 1TB volume into the .Bitcoin/blocks folder. I started bitcoind and it ...
  • 63
41 votes
2 answers
18k views

When should I use -reindex-chainstate and when -reindex

What is the difference between the options -reindex and -reindex-chainstate? Is one of the options faster? When should each option be used?
  • 573
-1 votes
1 answer
529 views

How long to -reindex -dbcache=2048 with txindex = 1?

i have fullnode with lastest block 130GB. I want txindex=1 and i need run with -reindex and -dbcache=2048 for speed reindex. How long duration of process ? My server is jelastic 10/250, now 18 MHz. I ...
5 votes
1 answer
3k views

Bitcoind, change to txindex=1

I have a fullnode without txindex. Some transactions of mine related to my wallet are not being found by fullnode, only in blockchain.info. My HD is around 130GB, and it's fully synced to the last ...
1 vote
0 answers
676 views

Why does "pre-allocating..." still happen during -reindex?

I thought -reindex read blocks from disk to rebuild the index, without downloading the chain from the network. If that's so, why is bitcoind allocating memory in the files on disk? Like this: Pre-...
  • 4,696
1 vote
1 answer
322 views

Is txindex=1 necessary in the latest versions?

A few months back when I wanted to use getrawtransaction API call on any txid other than my bitcoin core wallet it would return an error. The error was resolved by adding txindex=1 to the conf file ...
2 votes
0 answers
320 views

Bitcoin-qt requesting reindex on already indexed blockchain data directory

To save time, I synced the blockchain on my laptop for import to my Raspberry Pi node. I had set txindex=1. When setting txindex=1 on my Raspberry Pi and pointing the data directory to my previously ...
  • 141
9 votes
3 answers
988 views

How much extra disk space does txindex=1 require?

For example for a 1 MB block, does the extra Tx index database take up another 100 kB on average? And a follow-up: once my node has completed -reindex after setting txindex=1 can I COPY the ...
  • 4,696
11 votes
1 answer
10k views

What exactly did `Bitcoin-Qt -rescan -reindex` do?

I spent a ton of time today trying to get Bitcoin-Qt to sync using the bootstrap.dat file and could not get it to work. I found an answer on this forum saying to use: /Applications/Bitcoin-Qt.app/...