0
I accidentally deleted all the files that the standard bitcoin client stores to disk, except blk*.dat files. When I run bitcoind, he write that he doing sync. This sync is very very slow. What does bitcoind doing with this blk*.dat files while sync? And why there is need to connect to the internet during sync (it did not work without internet)?
but why
bitcoinddownload again all raw data from the network? – D L – 2017-07-03T20:08:41.753Because it does not know you already have it. – Pieter Wuille – 2017-07-03T20:22:25.180
the blockchain is linking each new block to a previous block (with the transactions). Hence the chain. When the client doesn't know the structure, it will reload the blockchain. And it verifies not only the blocks, it verifies also the transactions inside the blocks, to be sure your local copy of the block chain has valid data. This requires a connection to the network. More on this in Andreas Antonopolus book "Mastering Bitcoin", or on the bitcoin.org webpages, in the developper section. – pebwindkraft – 2017-07-04T06:24:53.867