CounterpartyChain
  • Home
  • Bitcoin
  • Cryptocurrency
    • Altcoin
    • Ethereum
    • Litecoin
  • Regulation
  • Blockchain
  • Market
  • Prices
  • ICO
  • Blog
  • Events
No Result
View All Result
  • Home
  • Bitcoin
  • Cryptocurrency
    • Altcoin
    • Ethereum
    • Litecoin
  • Regulation
  • Blockchain
  • Market
  • Prices
  • ICO
  • Blog
  • Events
No Result
View All Result
CounterpartyChain
No Result
View All Result
Home Bitcoin

block – Is every copy of the blockchain the same? If I have an error within file should I be able to copy this file from a backup and reindex chainstate?

admin by admin
November 27, 2020
in Bitcoin
0
0
SHARES
1
VIEWS
Share on FacebookShare on Twitter


I recently moved the first 2000 files of my blockchain from the SSD to a HDD. The HDD gets mounted in /mnt/ext.

A symlink per file is then put into blocks that points to the remote files. So my blocks folder is still on SSD, but the files are on HDD.

I tried a bitcoind -reindex-chainstate to be sure everything still works but now it is giving an error:

2020-11-26T12:52:24Z ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*): GetHash() doesn't match index for CBlockIndex(pprev=0x44288c0, nHeight=255, merkle=4309bfeed77a70f309da08bcf8948906b9cc26120c0b0ef86e0ac67284bbd79e, hashBlock=00000000d0a75c861fabf9ff7b92022f60e4afeed9331fe5aa073d8e4706fe3c) at FlatFilePos(nFile=0, nPos=58808)
2020-11-26T12:52:24Z *** Failed to read block

Now I have several questions. I think nFile=0 means that the block is in blk00000.dat and rev00000.dat. Am I right?

So I copied this file again from a backup of the blockchain. This is from a second node. But I would suspect the files are the same, right?

But I get the exact same error at the same position – even with a new -reindex-chainstate.

I can see in the log that all blocks up until number 254 get indexed but each time it fails on block with height 255.

I think those old files contain always the same blocks. How can it be 254 blocks are correct but it fails on the next one?

Could this simply be a problem of the mount?


EDIT: I am currently -reindexing. In this case the files I already have linked to from my blocks folder get used like this:

Reindexing block file blk00000.dat...
Loaded 119964 blocks from external file in 133291ms

Apparently, the first file contains 119,964 blocks. So when I have an error with height=255 it should definitely be in the first file.



Source link

admin

admin

Related Posts

Indian Central Bank Sees Cryptocurrencies Gaining Popularity, Exploring Digital Rupee – Regulation Bitcoin News
Bitcoin

Indian Central Bank Sees Cryptocurrencies Gaining Popularity, Exploring Digital Rupee – Regulation Bitcoin News

January 26, 2021
Ideaology Launches IEO Public Sale Today on Bitcoin.com Exchange – Press release Bitcoin News
Bitcoin

Ideaology Launches IEO Public Sale Today on Bitcoin.com Exchange – Press release Bitcoin News

January 26, 2021
Marathon Patent Group Buys $150 Million Worth of Bitcoin as a Reserve Asset – Mining Bitcoin News
Bitcoin

Marathon Patent Group Buys $150 Million Worth of Bitcoin as a Reserve Asset – Mining Bitcoin News

January 26, 2021
Next Post

Bitcoin Decoupling from Gold in Push for All-Time High

VeriTX chooses Algorand for aerospace digital supply chain

UCC Coffee Partners with Farmer Connect to Launch Blockchain Traced Coffee

UCC Coffee Partners with Farmer Connect to Launch Blockchain Traced Coffee

Recommended

Liquidators of South African Bitcoin Trading Club Request Greater Probe Powers

Liquidators of South African Bitcoin Trading Club Request Greater Probe Powers

2 weeks ago
Kentucky Bill Seeks to Lure Crypto Miners With Tax Breaks

Kentucky Bill Seeks to Lure Crypto Miners With Tax Breaks

2 weeks ago
SEC to Sue Ripple Over XRP Cryptocurrency — CEO Insists XRP Is Not a Security

SEC to Sue Ripple Over XRP Cryptocurrency — CEO Insists XRP Is Not a Security

1 month ago
Valid Points: Ethereum 2.0 Soars Past 1M ETH Staked

Valid Points: Ethereum 2.0 Soars Past 1M ETH Staked

2 months ago

Categories

  • Altcoin
  • Bitcoin
  • Cryptocurrency
  • Ethereum
  • Market
No Result
View All Result

Highlights

Philippines Issues Crypto Industry Guidelines to Guard Against Money Laundering

Indian Central Bank Sees Cryptocurrencies Gaining Popularity, Exploring Digital Rupee – Regulation Bitcoin News

Ideaology Launches IEO Public Sale Today on Bitcoin.com Exchange – Press release Bitcoin News

Gemini Exchange Adds Local Currency, DeFi Tokens in Singapore Expansion

What Is Guggenheim Partners? – CoinDesk

Marathon Patent Group Buys $150 Million Worth of Bitcoin as a Reserve Asset – Mining Bitcoin News

Trending

US Man Installs Crypto Mining Rig in Hybrid BMW Sportscar
Market

US Man Installs Crypto Mining Rig in Hybrid BMW Sportscar

by admin
January 26, 2021
0

While it can be powered by the hybrid car's battery, the boot needs to stay open...

South Korean Tax Agency Carries out Irregular Audit on Crypto Exchange Operator

South Korean Tax Agency Carries out Irregular Audit on Crypto Exchange Operator

January 26, 2021
Overstock Turns Medici Ventures Into a Fund to Reap Value of Blockchain Assets

Overstock Turns Medici Ventures Into a Fund to Reap Value of Blockchain Assets

January 26, 2021
Philippines Issues Crypto Industry Guidelines to Guard Against Money Laundering

Philippines Issues Crypto Industry Guidelines to Guard Against Money Laundering

January 26, 2021
Indian Central Bank Sees Cryptocurrencies Gaining Popularity, Exploring Digital Rupee – Regulation Bitcoin News

Indian Central Bank Sees Cryptocurrencies Gaining Popularity, Exploring Digital Rupee – Regulation Bitcoin News

January 26, 2021

Counterpartychain

We publish a comprehensive news feed covering all news relevant to the crypto user, covering main industry news, politics and regulation as well as consumer-level “news you can use” (practical stuff), including handy DIY tips, links to useful tools, unbiased reviews and opinions revolving around cryptocurrency. Simple logic and real-world examples are preferred before technical jargon and personal rants.

Learn more

Recent News

  • US Man Installs Crypto Mining Rig in Hybrid BMW Sportscar January 26, 2021
  • South Korean Tax Agency Carries out Irregular Audit on Crypto Exchange Operator January 26, 2021
  • Overstock Turns Medici Ventures Into a Fund to Reap Value of Blockchain Assets January 26, 2021
  • Home
  • Bitcoin
  • Cryptocurrency
    • Altcoin
    • Ethereum
    • Litecoin
  • Regulation
  • Blockchain
  • Market
  • Prices
  • ICO
  • Blog
  • Events

Sign Up For Our Newsletter

© 2020 counterpartychain.io

About Us | Advertise | Privacy Policy | Contact Us

No Result
View All Result
  • Home
  • Bitcoin
  • Cryptocurrency
    • Altcoin
    • Ethereum
    • Litecoin
  • Regulation
  • Blockchain
  • Market
  • Prices
  • ICO
  • Blog
  • Events

© 2020 counterpartychain.io