Author

Topic: corrupted wallets since 0.13 (Read 941 times)

full member
Activity: 246
Merit: 102
September 20, 2016, 08:30:41 PM
#10
Erased All Again....
From 0.

Quote
2016-09-21 01:23:30 UpdateTip: new best=00000000000000366f688d87e55fbc3efc420e0bdf4ae8154a4c754201e8bec5 height=234873 version=0x00000002 log2_work=69.960289 tx=17313745 date='2013-05-06 21:54:03' progress=0.056750 cache=259.0MiB(501847tx)
2016-09-21 01:23:30 UpdateTip: new best=0000000000000162f60577a7dab01442f7bfb6a2f64955b78d3e52bc1ad0fdaa height=234874 version=0x00000002 log2_work=69.960343 tx=17313750 date='2013-05-06 22:07:15' progress=0.056750 cache=259.1MiB(501854tx)
2016-09-21 01:23:30 UpdateTip: new best=0000000000000170048e03c1310c489688157b6a81ee881f295514954deee697 height=234875 version=0x00000002 log2_work=69.960397 tx=17313990 date='2013-05-06 22:17:20' progress=0.056751 cache=259.1MiB(501887tx)
2016-09-21 01:23:30 LevelDB read failure: Corruption: block checksum mismatch
2016-09-21 01:23:30 Corruption: block checksum mismatch
2016-09-21 01:27:21 Error reading from database: Database corrupted

&
Quote
2016-09-21 00:02:47 Bitcoin version v0.13.0
2016-09-21 00:02:47 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-09-21 00:02:48 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely..."
2016-09-21 00:02:48 Default data directory C:\Users\ThisPC\AppData\Roaming\Bitcoin
2016-09-21 00:02:48 Using data directory C:\Users\ThisPC\AppData\Roaming\Bitcoin
2016-09-21 00:02:48 Using config file C:\Users\ThisPC\AppData\Roaming\Bitcoin\bitcoin.conf
2016-09-21 00:02:48 Using at most 125 connections (2048 file descriptors available)
2016-09-21 00:02:48 Using 6 threads for script verification
2016-09-21 00:02:48 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-09-21 00:02:48 scheduler thread start
2016-09-21 00:02:48 Using wallet wallet.dat
2016-09-21 00:02:48 init message: Verifying wallet...
2016-09-21 00:02:48 CDBEnv::Open: LogDir=C:\Users\ThisPC\AppData\Roaming\Bitcoin\database ErrorFile=C:\Users\ThisPC\AppData\Roaming\Bitcoin\db.log
2016-09-21 00:02:48 Bound to [::]:8333
2016-09-21 00:02:48 Bound to 0.0.0.0:8333
2016-09-21 00:02:48 Cache configuration:
2016-09-21 00:02:48 * Using 2.0MiB for block index database
2016-09-21 00:02:48 * Using 8.0MiB for chain state database
2016-09-21 00:02:48 * Using 290.0MiB for in-memory UTXO set
2016-09-21 00:02:48 init message: Loading block index...
2016-09-21 00:02:48 Opening LevelDB in C:\Users\ThisPC\AppData\Roaming\Bitcoin\blocks\index
2016-09-21 00:02:48 Opened LevelDB successfully
2016-09-21 00:02:48 Using obfuscation key for C:\Users\ThisPC\AppData\Roaming\Bitcoin\blocks\index: 0000000000000000
2016-09-21 00:02:48 Opening LevelDB in C:\Users\ThisPC\AppData\Roaming\Bitcoin\chainstate
2016-09-21 00:02:48 Opened LevelDB successfully
2016-09-21 00:02:48 Wrote new obfuscate key for C:\Users\ThisPC\AppData\Roaming\Bitcoin\chainstate: 39e671f8ea6ebd68
2016-09-21 00:02:48 Using obfuscation key for C:\Users\ThisPC\AppData\Roaming\Bitcoin\chainstate: 39e671f8ea6ebd68
2016-09-21 00:02:48 LoadBlockIndexDB: last block file = 0
2016-09-21 00:02:48 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2016-09-21 00:02:48 Checking all blk files are present...
2016-09-21 00:02:48 LoadBlockIndexDB: transaction index disabled
2016-09-21 00:02:48 Initializing databases...
2016-09-21 00:02:48 Pre-allocating up to position 0x1000000 in blk00000.dat
2016-09-21 00:02:48 UpdateTip: new best=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f height=0 version=0x00000001 log2_work=32.000022 tx=1 date='2009-01-03 18:15:05' progress=0.000000 cache=0.0MiB(0tx)
2016-09-21 00:02:48 init message: Rewinding blocks...
2016-09-21 00:02:48 init message: Verifying blocks...
2016-09-21 00:02:48  block index             302ms
2016-09-21 00:02:48 init message: Loading wallet...
2016-09-21 00:02:48 nFileVersion = 130000
2016-09-21 00:02:48 Keys: 104 plaintext, 0 encrypted, 0 w/ metadata, 104 total
2016-09-21 00:02:48  wallet                  120ms
2016-09-21 00:02:48 mapBlockIndex.size() = 1
2016-09-21 00:02:48 nBestHeight = 0
2016-09-21 00:02:48 setKeyPool.size() = 100
2016-09-21 00:02:48 mapWallet.size() = 2
2016-09-21 00:02:48 mapAddressBook.size() = 2
2016-09-21 00:02:48 init message: Loading addresses...
2016-09-21 00:02:48 torcontrol thread start
2016-09-21 00:02:48 Loaded 23036 addresses from peers.dat  171ms
2016-09-21 00:02:48 init message: Loading banlist...
2016-09-21 00:02:48 dnsseed thread start
2016-09-21 00:02:48 init message: Done loading
2016-09-21 00:02:48 net thread start
2016-09-21 00:02:48 opencon thread start
2016-09-21 00:02:48 addcon thread start
2016-09-21 00:02:48 msghand thread start
2016-09-21 00:02:48 GUI: Platform customization: "windows"
2016-09-21 00:02:48 GUI: PaymentServer::LoadRootCAs: Loaded  35  root certificates
2016-09-21 00:02:59 receive version message: /Satoshi:0.12.1/: version 70012, blocks=430736, us=190.26.184.23:49416, peer=1
2016-09-21 00:02:59 Loading addresses from DNS seeds (could take a while)
2016-09-21 00:03:07 receive version message: /Satoshi:0.13.0/: version 70014, blocks=430736, us=190.26.184.23:49423, peer=2
2016-09-21 00:03:07 Pre-allocating up to position 0x100000 in rev00000.dat
2016-09-21 00:03:07 UpdateTip: new best=00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048 height=1 version=0x00000001 log2_work=33.000022 tx=2 date='2009-01-09 02:54:25' progress=0.000000 cache=0.0MiB(1tx)
2016-09-21 00:03:07 UpdateTip: new best=000000006a625f06636b8bb6ac7b960a8d03705d1ace08b1a19da3fdcc99ddbd height=2 version=0x00000001 log2_work=33.584985 tx=3 date='2009-01-09 02:55:44' progress=0.000000 cache=0.0MiB(2tx)
2016-09-21 00:03:08 UpdateTip: new best=0000000082b5015589a3fdf2d4baff403e6f0be035a5d9742c1cae6295464449 height=3 version=0x00000001 log2_work=34.000022 tx=4 date='2009-01-09 03:02:53' progress=0.000000 cache=0.0MiB(3tx)
2016-09-21 00:03:08 UpdateTip: new best=000000004ebadb55ee9096c9a2f8880e09da59c0d68b1c228da88e48844a1485 height=4 version=0x00000001 log2_work=34.32195 tx=5 date='2009-01-09 03:16:28' progress=0.000000 cache=0.0MiB(4tx)
2016-09-

-reindex again!
full member
Activity: 246
Merit: 102
September 20, 2016, 06:40:24 PM
#9
Well you've certainly got corrupt blocks.

Check your antivirus, both whatever you installed (if you have one) and Windows defender. Make sure that the Bitcoin data directory is on the exemptions list. The antivirus may be flagging some things in the blocks and removing them thus causing corruption.

Defender is disabled, that Sh!t is useless.
No other real time AV.
staff
Activity: 3458
Merit: 6793
Just writing some code
September 20, 2016, 06:36:01 PM
#8
Well you've certainly got corrupt blocks.

Check your antivirus, both whatever you installed (if you have one) and Windows defender. Make sure that the Bitcoin data directory is on the exemptions list. The antivirus may be flagging some things in the blocks and removing them thus causing corruption.
full member
Activity: 246
Merit: 102
September 20, 2016, 06:29:33 PM
#7
44,555 KB
of:
Quote
00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed
2016-09-20 23:27:30 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 23:27:30 ERROR: ConnectTip(): ConnectBlock 00000000000009f542857e50cc63861f4ebbb178b1f131b4407dcfb355e23e6e failed

&

Quote
onsensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324234700 -> 324234800)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324234800 -> 324234900)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324234900 -> 324235000)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235000 -> 324235100)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235100 -> 324235200)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235200 -> 324235300)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235300 -> 324235400)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235400 -> 324235500)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915 failed
2016-09-20 22:53:18 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot mismatch (code 16)
2016-09-20 22:53:18 Misbehaving: 149.210.205.174:8333 (324235500 -> 324235600)
2016-09-20 22:53:18 ERROR: ConnectTip(): ConnectBlock 0000000000000000e5d5779d8f895ed911d72ba1b7bc3810402c556a82abd915
staff
Activity: 3458
Merit: 6793
Just writing some code
September 20, 2016, 06:25:07 PM
#6
i´m not that stupid...
i have completely erased
C:\Users\ThisPC\AppData\Roaming\Bitcoin\

and also the
..\bitcoin-0.13.0-win64 folder

when i say Fresh, Clean install i mean Fresh Clean Install...

P.S. i´ve seen BitCoin 0.13 overwriting the dat files.
So why don't you post your debug.log? That way we can actually proceed in diagnosing the issue.
full member
Activity: 246
Merit: 102
September 20, 2016, 06:18:53 PM
#5
When you reindex, nothing is being redownloaded. When you uninstall and reinstall Bitcoin Core, none of the blockchain or wallet data is being deleted, so the new install will not have be redownloading anything. So, if you have a problem in the blockchain data, it will persist across installs unless you go and delete the blockchain.

i´m not that stupid...
i have completely erased
C:\Users\ThisPC\AppData\Roaming\Bitcoin\

and also the
..\bitcoin-0.13.0-win64 folder

when i say Fresh, Clean install i mean Fresh Clean Install...

P.S. i´ve seen BitCoin 0.13 overwriting the dat files.
staff
Activity: 3458
Merit: 6793
Just writing some code
September 20, 2016, 06:14:08 PM
#4
why i get so many corrupted blocks?

i have 340.000 blocks.... from complete 0, everything New, Fresh, Clean install..
got stuck, "no new blocks downloaded, waited lots of hours, no new blocks."

did a -reindex and when processing blocks were done, 0.13 started to download from 175.000,
Overwriting Previous Downloaded Blocks, like if they are not there, like if they are all corrupted....
Again, I need to see the debug.log file.

When you reindex, nothing is being redownloaded. When you uninstall and reinstall Bitcoin Core, none of the blockchain or wallet data is being deleted, so the new install will not have be redownloading anything. So, if you have a problem in the blockchain data, it will persist across installs unless you go and delete the blockchain.
full member
Activity: 246
Merit: 102
September 20, 2016, 06:10:41 PM
#3
why i get so many corrupted blocks?

i have 340.000 blocks.... from complete 0, everything New, Fresh, Clean install..
got stuck, "no new blocks downloaded, waited lots of hours, no new blocks."

did a -reindex and when processing blocks were done, 0.13 started to download from 175.000,
Overwriting Previous Downloaded Blocks, like if they are not there, like if they are all corrupted....

i decided to erase everything because older wallets have a very different file structure...
and not so old, have a 2GB blk.dat file size,

New blk.dat file size is around 130.000 KB

staff
Activity: 3458
Merit: 6793
Just writing some code
September 20, 2016, 06:03:45 PM
#2
First of all, it isn't the wallet that is corrupt but rather Bitcoin Core's databases. They are two different things and have two different meanings.

Can you please post the debug.log?

Also, you are reindexing, you are not redownloading anything. Nothing is being downloading, the blocks are already on your disk and being reprocessed. In fact, I suspect that you somehow got a corrupt block and that is causing the problem.
full member
Activity: 246
Merit: 102
September 20, 2016, 05:49:05 PM
#1
lots of people have corrupted wallets...
or someone is trying to pass a corrupted wallet... with lots of fake peers.

i have erased everything....
downloaded from 0

got stuck at:
1 Year 27 weeks behind 346753

-reindex
download started again.
...
got stuck again:
389154
39 weeks behind.

-reindex again.
BitCoin 0.13 started download from 4 years, 175.000.

This is CRAZY!
i have downloaded 10 times the wallet.

is not my hardware... all hardware tests pass ok.
is not a power loss, i have a on-line UPS.
is not a Network thing, All other websites work ok.

is only this network...

258205 3 years and 0 weeks behind
Stuck, AGAIN!

-reindex again
Jump to: