Questions tagged [reindex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
39 views

Bitcoin core syncing txindex stalls

Bitcoin core bugging out since what I assume was a bad shutdown. Mostly fixed (I think) but stalling trying to resync txindex. Here's the history: Core wouldn't connect to peers or load the latest ...
JDX's user avatar
  • 21
0 votes
1 answer
61 views

A few of my addresses that have funds show empty through my node

I have recently connected sparrow wallet to my own node to get away from using a private electrum server. But some of the addresses I have bitcoin in are not being recognized. I know they have funds ...
Tom's user avatar
  • 9
0 votes
0 answers
44 views

How can I tell if bitcoind is done reindexing?

I started reindexing yesterday and I've read around online. Some people claim it only takes a few hours, others say it takes a few days. How can I verify when it is done?
bitcoinluvr6969's user avatar
1 vote
0 answers
103 views

Rolling forward [hash-of-the-block]

can somebody explain me what's the meaning of a Rolling forward after a reindex of the chain in the log of bitcoind? Thanks in advance
nico's user avatar
  • 89
0 votes
1 answer
62 views

weird block check after a reindex

is it normal that after a reindex the block check restarts strangely fast up to a certain point? My node was already synced. The GIF is not speeded up. It's the real speed of the sync... Thanks in ...
nico's user avatar
  • 89
1 vote
0 answers
64 views

New resync after a complete reindex

After an error with LevelDB (corrupted) I did a reindex and after that bitcoind automatically start a new synchronization. This seems much faster some times, it started from genesis and in 1 hour it ...
nico's user avatar
  • 89
1 vote
1 answer
602 views

How to use -reindex

I am working on creating a Pathing Guide for macOS Installation. The IN: ./bitcoind OUT: 2023-01-02T01:26:12Z : You need to rebuild the database using -reindex to go back to unpruned mode. This will ...
BSH180_44's user avatar
3 votes
1 answer
62 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,...
Lee's user avatar
  • 458
2 votes
1 answer
144 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-...
Rogue_Dave's user avatar
0 votes
2 answers
266 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 ...
jubel's user avatar
  • 1
0 votes
1 answer
69 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 ...
javierMarquez's user avatar
1 vote
1 answer
968 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?
Bhavesh's user avatar
  • 11
2 votes
1 answer
2k views

Does Bitcoin Core automatically reindex when you enable txindex on a synced full node?

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 configuration file via the GUI to include txindex=...
lollercoaster's user avatar
4 votes
1 answer
443 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....
D R's user avatar
  • 143
1 vote
1 answer
680 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 ...
Sergei Tikhomirov's user avatar
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?
pisjatblin's user avatar
1 vote
1 answer
552 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 ...
Shadouts's user avatar
  • 141
1 vote
1 answer
52 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/...
Sun's user avatar
  • 175
2 votes
1 answer
522 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 ...
MountainMan's user avatar
3 votes
1 answer
117 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?...
Abdussamad's user avatar
  • 2,669
0 votes
1 answer
50 views

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

If so is there a way to prevent this from happening?
Jon Aird's 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 ...
Kipp Watson's user avatar
1 vote
1 answer
931 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 ...
Carl's user avatar
  • 11
2 votes
2 answers
479 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 (...
Jeans5's user avatar
  • 41
2 votes
0 answers
546 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. ...
Patoshi パトシ's user avatar
1 vote
0 answers
228 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 ...
Patoshi パトシ's user avatar
2 votes
1 answer
816 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 ...
Daniel McNally's user avatar
4 votes
1 answer
901 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 ...
Hans Dampf's user avatar
4 votes
1 answer
3k 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 ...
masterq's user avatar
  • 327
11 votes
1 answer
7k 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 ...
Denja's user avatar
  • 250
1 vote
0 answers
174 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 (...
user149797's user avatar
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 ...
benice's user avatar
  • 63
41 votes
2 answers
21k 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?
amanusk's user avatar
  • 583
-1 votes
1 answer
548 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 ...
Thamer Mazzuca Martins's user avatar
6 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 ...
Thamer Mazzuca Martins's user avatar
1 vote
0 answers
687 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-...
pinhead's user avatar
  • 4,992
1 vote
1 answer
353 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 ...
Shabahat M. Ayubi's user avatar
2 votes
0 answers
335 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 ...
Shadouts's user avatar
  • 141
9 votes
3 answers
1k 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 ...
pinhead's user avatar
  • 4,992
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/...
Derek Kaknes's user avatar