Questions tagged [reindex]

39 questions
41
votes
2 answers

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
  • 583
  • 1
  • 4
  • 10
11
votes
1 answer

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 the harddisk.. when I restarted Bitcoin-qt it asked…
Denja
  • 250
  • 2
  • 13
11
votes
1 answer

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/Contents/MacOS/Bitcoin-Qt -rescan -reindex Which…
Derek Kaknes
  • 211
  • 2
  • 4
9
votes
3 answers

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 blockchain AND the TX index database together to other…
pinhead
  • 4,932
  • 2
  • 23
  • 38
6
votes
1 answer

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 block. I would like to know, if using txindex = 1,…
4
votes
1 answer

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 if I am running with txindex=1 it says that I have…
Hans Dampf
  • 43
  • 2
4
votes
1 answer

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 500000 and I would delete all block data after…
masterq
  • 327
  • 2
  • 8
4
votes
1 answer

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. As both share all the prior blocks, when…
D R
  • 143
  • 3
3
votes
1 answer

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? This would be useful in developing countries…
Abdussamad
  • 2,649
  • 12
  • 19
3
votes
1 answer

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 downloaded about 139GB of the chain. I was working…
benice
  • 63
  • 2
  • 7
3
votes
1 answer

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, I'd like all payment transactions sent to a…
2
votes
1 answer

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 process beginning: [2020-01-20T07:43:41Z Loaded…
MountainMan
  • 121
  • 2
2
votes
1 answer

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 (txindex=1). When calling the log file I get this…
Jeans5
  • 41
  • 2
2
votes
0 answers

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. Even with these high settings of dbcache=7000 and 16…
Patoshi パトシ
  • 10,956
  • 18
  • 80
  • 151
2
votes
1 answer

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 on disk". With a bit of digging, I found out this…
1
2 3