Questions tagged [reindex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
16 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-...
user avatar
0 votes
0 answers
24 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 ...
user avatar
0 votes
2 answers
96 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 ...
user avatar
  • 1
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
31 views

How does `getbalance` behave during a reindex?

Rich Remer asked in a comment on another topic: Should getbalance work before the full reindex is complete? For example, if my imported private key received Bitcoin in 2010 and Bitcoin Core has ...
user avatar
  • 62.4k
1 vote
1 answer
267 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?
user avatar
  • 11
0 votes
0 answers
89 views

LevelDB checksum mismatch. How to start reindex from corrupted .ldb again?

I faced the problem twice in 2020 and the reindexing takes 2-3 weeks without stopping. I got the same error on another hard drive when it reindexed about 50% and got an error in the last .ldb file. ...
user avatar
0 votes
0 answers
22 views

flushstate to disk Ubuntu

I was reindexing blockchain and I got this message: Unable to open file /home/ki/.bitcoin/rev00502.dat ERROR: Flush: fail to open file 502 *** Flushing undo file to disk failed. This is likely the ...
user avatar
1 vote
1 answer
656 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 ...
user avatar
4 votes
1 answer
242 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....
user avatar
  • 143
1 vote
1 answer
374 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 ...
user avatar
1 vote
2 answers
97 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?
user avatar
0 votes
0 answers
137 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 ...
user avatar
  • 176
1 vote
1 answer
289 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 ...
user avatar
  • 141
1 vote
1 answer
46 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/...
user avatar
  • 175
2 votes
1 answer
420 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 ...
user avatar
3 votes
1 answer
108 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?...
user avatar
  • 2,530
0 votes
1 answer
34 views

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

If so is there a way to prevent this from happening?
user avatar
  • 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 ...
user avatar
1 vote
1 answer
734 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 ...
user avatar
  • 11
2 votes
1 answer
396 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 (...
user avatar
  • 41
1 vote
0 answers
469 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. ...
user avatar
1 vote
0 answers
200 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 ...
user avatar
2 votes
1 answer
578 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 ...
user avatar
3 votes
1 answer
739 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 ...
user avatar
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 ...
user avatar
  • 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 ...
user avatar
  • 210
1 vote
0 answers
152 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 (...
user avatar
2 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 ...
user avatar
  • 53
37 votes
2 answers
17k 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?
user avatar
  • 533
-1 votes
1 answer
523 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 ...
user avatar
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 ...
user avatar
1 vote
0 answers
674 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-...
user avatar
  • 4,646
1 vote
1 answer
311 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 ...
user avatar
2 votes
0 answers
315 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 ...
user avatar
  • 141
8 votes
3 answers
929 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 ...
user avatar
  • 4,646
10 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/...
user avatar