Questions tagged [reindex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 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 ...
0
votes
0answers
14 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 ...
2
votes
1answer
346 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 (...
7
votes
2answers
801 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 ...
0
votes
1answer
862 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
1answer
84 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?
0
votes
0answers
33 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. ...
1
vote
0answers
16 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 ...
1
vote
1answer
380 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 ...
3
votes
1answer
98 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....
1
vote
1answer
241 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
2answers
67 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
0answers
103 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 ...
31
votes
2answers
15k 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?
1
vote
1answer
214 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 ...
1
vote
1answer
38 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/...
2
votes
1answer
312 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 ...
2
votes
1answer
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 ...
1
vote
1answer
634 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 ...
3
votes
1answer
85 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?...
0
votes
1answer
27 views

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

If so is there a way to prevent this from happening?
5
votes
1answer
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
0answers
399 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. ...
4
votes
1answer
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 ...
1
vote
0answers
181 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
1answer
469 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
1answer
687 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 ...
-1
votes
1answer
512 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 ...
4
votes
0answers
5k 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 ...
1
vote
0answers
144 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 (...
1
vote
0answers
656 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-...
1
vote
1answer
295 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 ...
1
vote
0answers
295 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 ...
10
votes
1answer
9k 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/...