I’m running ZecFull Node and haven’t updated my computer in a while.
I stated my wallet and it wouldn’t sync with the network.
I copied my wallet.dat into a safe place, and updated the zec wallet.
When I try to open the wallet with the old wallet.dat file it’s refuses to work.
I get these errors:
CWallet::GenerateNewKey(): AddKey failed
CDB: Error -30972, can’t open database
This is the debug file:
Oct 09 20:49:26.288 INFO main: Zcash version v4.0.0-9786156 (2020-09-09 18:26:02 -0700)
Oct 09 20:49:26.296 INFO Init: main: Using OpenSSL version OpenSSL 1.1.1a 20 Nov 2018
Oct 09 20:49:26.296 INFO Init: main: Using BerkeleyDB version Berkeley DB 6.2.23: (March 28, 2016)
Oct 09 20:49:26.296 INFO Init: main: Default data directory C:\Users\AppData\Roaming\Zcash
Oct 09 20:49:26.296 INFO Init: main: Using data directory C:\Users\AppData\Roaming\Zcash
Oct 09 20:49:26.296 INFO Init: main: Using config file C:\Users\AppData\Roaming\Zcash\zcash.conf
Oct 09 20:49:26.296 INFO Init: main: Using at most 125 connections (2048 file descriptors available)
Oct 09 20:49:26.296 INFO Init: main: Using 4 threads for script verification
Oct 09 20:49:26.296 INFO main: scheduler thread start
Oct 09 20:49:26.297 INFO Init: main: Loading Sapling (Spend) parameters from C:\Users\AppData\Roaming\ZcashParams\sapling-spend.params
Oct 09 20:49:26.297 INFO Init: main: Loading Sapling (Output) parameters from C:\Users\AppData\Roaming\ZcashParams\sapling-output.params
Oct 09 20:49:26.297 INFO Init: main: Loading Sapling (Sprout Groth16) parameters from C:\Users\AppData\Roaming\ZcashParams\sprout-groth16.params
Oct 09 20:49:27.353 INFO Init: main: Loaded Sapling parameters in 1.056153s seconds.
Oct 09 20:49:27.356 INFO Init: main: HTTP: creating work queue of depth 16
Oct 09 20:49:27.356 INFO Init: main: Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation.
Oct 09 20:49:27.356 INFO Init: main: HTTP: starting 4 worker threads
Oct 09 20:49:27.357 INFO Init: main: Using wallet wallet.dat
Oct 09 20:49:27.357 INFO Init: main: init message: Verifying wallet…
Oct 09 20:49:27.357 INFO Init: main: CDBEnv::Open: LogDir=C:\Users\AppData\Roaming\Zcash\database ErrorFile=C:\Users\joshu\AppData\Roaming\Zcash\db.log
Oct 09 20:49:27.360 INFO Init: main: Bound to [::]:8233
Oct 09 20:49:27.360 INFO Init: main: Bound to 0.0.0.0:8233
Oct 09 20:49:27.360 INFO Init: main: Cache configuration:
Oct 09 20:49:27.360 INFO Init: main: * Using 2.0MiB for block index database
Oct 09 20:49:27.360 INFO Init: main: * Using 120.0MiB for chain state database
Oct 09 20:49:27.360 INFO Init: main: * Using 328.0MiB for in-memory UTXO set
Oct 09 20:49:27.360 INFO Init: main: init message: Loading block index…
Oct 09 20:49:27.361 INFO Init: main: Opening LevelDB in C:\Users\AppData\Roaming\Zcash\blocks\index
Oct 09 20:49:27.393 INFO Init: main: Opened LevelDB successfully
Oct 09 20:49:27.393 INFO Init: main: Opening LevelDB in C:\Users\AppData\Roaming\Zcash\chainstate
Oct 09 20:49:28.091 INFO Init: main: Opened LevelDB successfully
Oct 09 20:49:31.267 INFO Init: main: LoadBlockIndexDB: last block file = 24
Oct 09 20:49:31.267 INFO Init: main: LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=381, size=110056132, heights=107754…108470, time=2017-05-03…2017-05-04)
Oct 09 20:49:31.267 INFO Init: main: Checking all blk files are present…
Oct 09 20:49:31.280 INFO Init: main: LoadBlockIndexDB: transaction index disabled
Oct 09 20:49:31.280 INFO Init: main: LoadBlockIndexDB: insight explorer disabled
Oct 09 20:49:31.280 INFO Init: main: LoadBlockIndexDB: light wallet daemon disabled
Oct 09 20:49:31.313 INFO Init: main: LoadBlockIndexDB: hashBestChain=0000000052f3ab593e92d43f09a793bfa2d5f9df8f3d27a3a43d7f970cdb487f height=108359 date=2017-05-04 19:06:54 progress=0.031257
Oct 09 20:49:31.313 INFO Init: main: init message: Rewinding blocks if needed…
Oct 09 20:49:33.706 INFO Init: main: init message: Verifying blocks…
Oct 09 20:49:33.706 INFO Init: main: Verifying last 288 blocks at level 3
Oct 09 20:49:36.379 INFO Init: main: No coin database inconsistencies in last 27 blocks (363 transactions)
Oct 09 20:49:36.794 INFO Init: main: block index 9434ms
Oct 09 20:49:36.794 INFO Init: main: init message: Loading wallet…
Oct 09 20:49:36.803 INFO Init: main: nFileVersion = 2010250
Oct 09 20:49:36.803 INFO Init: main: Keys: 103 plaintext, 0 encrypted, 103 w/ metadata, 103 total
Oct 09 20:49:36.803 INFO Init: main: ZKeys: 1 plaintext, 0 encrypted, 1 w/metadata, 1 total
Oct 09 20:49:36.807 INFO Init: main: wallet 13ms
Oct 09 20:49:36.808 INFO Init: main: init message: Rescanning…
Oct 09 20:49:36.808 INFO Init: main: Rescanning last 108359 blocks (from block 0)…
Oct 09 20:49:36.822 INFO Init: main: rescan 14ms
Oct 09 20:49:36.822 INFO Init: main: SetBestChain(): Couldn’t start atomic write
Oct 09 20:49:36.823 INFO Init: main: init message: Activating best chain…
Oct 09 20:49:36.823 INFO Init: main: mapBlockIndex.size() = 108360
Oct 09 20:49:36.823 INFO Init: main: nBestHeight = 108359
Oct 09 20:49:36.823 INFO Init: main: setKeyPool.size() = 101
Oct 09 20:49:36.823 INFO Init: main: mapWallet.size() = 2
Oct 09 20:49:36.823 INFO Init: main: mapAddressBook.size() = 1
Oct 09 20:49:36.823 INFO main: txnotify thread start
Oct 09 20:49:36.824 INFO Init: main: init message: Loading addresses…
Oct 09 20:49:36.824 INFO main: torcontrol thread start
Oct 09 20:49:36.852 INFO Init: main: Loaded 11025 addresses from peers.dat 28ms
Oct 09 20:49:36.860 INFO Init: main: AddLocal([2001:1970:55e6:0:ca09:a8ff:fe96:fb36]:8233,1)
Oct 09 20:49:36.860 INFO Init: main: Discover: DESKTOP-4BF5STN - 2001:1970:55e6:0:ca09:a8ff:fe96:fb36
Oct 09 20:49:36.860 INFO Init: main: AddLocal([2001:1970:55e6:0:829:6d09:af34:6fa]:8233,1)
Oct 09 20:49:36.860 INFO Init: main: Discover: DESKTOP-4BF5STN - 2001:1970:55e6:0:829:6d09:af34:6fa
Oct 09 20:49:36.860 INFO Init: main: AddLocal([2001:1970:55e6:0:ac44:deef:1efd:4b78]:8233,1)
Oct 09 20:49:36.860 INFO Init: main: Discover: DESKTOP-4BF5STN - 2001:1970:55e6:0:ac44:deef:1efd:4b78
Oct 09 20:49:36.860 INFO Init: main: init message: Done loading
Oct 09 20:49:36.860 INFO main: dnsseed thread start
Oct 09 20:49:36.860 ERROR Init: main: ContextualCheckTransaction(): overwinter is not active yet
Oct 09 20:49:36.860 ERROR Init: main: AcceptToMemoryPool: ContextualCheckTransaction failed
Oct 09 20:49:36.860 ERROR Init: main: ContextualCheckTransaction(): overwinter is not active yet
Oct 09 20:49:36.860 ERROR Init: main: AcceptToMemoryPool: ContextualCheckTransaction failed
Oct 09 20:49:36.860 INFO main: net thread start
Oct 09 20:49:36.861 INFO main: opencon thread start
Oct 09 20:49:36.861 INFO main: msghand thread start
Oct 09 20:49:36.861 INFO main: addcon thread start
Oct 09 20:49:47.874 INFO main: Loading addresses from DNS seeds (could take a while)
Oct 09 20:49:48.621 INFO main: 139 addresses found from DNS seeds
Oct 09 20:49:48.621 INFO main: dnsseed thread exit
Oct 09 20:49:48.825 INFO main: receive version message: /MagicBean:4.0.0/: version 170013, blocks=1001157, us=0.0.0.0:0, peer=1
Oct 09 20:49:48.825 INFO main: Added time data, samples 1, offset +0 (+0 minutes)
Oct 09 20:49:49.758 INFO main: receive version message: /MagicBean:4.0.0/: version 170013, blocks=1001157, us=[2001:1970:55e6:0:829:6d09:af34:6fa]:59370, peer=2
Oct 09 20:49:49.758 INFO main: Added time data, samples 2, offset +0 (+0 minutes)
Oct 09 20:49:53.251 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000006482c356758d4ba84c13bf7ad7f39aee53cfbed782877f775667cdcb height=108360 bits=486573628 log2_work=49.464423 tx=566381 date=2017-05-04 19:10:28 progress=0.031258 cache=0.1MiB(24tx)
Oct 09 20:49:53.272 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000098ec784e61ac7ba7e569fd10149ed7aefbe920357e639e7a434bf8b height=108361 bits=486573252 log2_work=49.464439 tx=566382 date=2017-05-04 19:10:47 progress=0.031258 cache=0.1MiB(25tx)
Oct 09 20:49:53.293 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000027d703cec0307fe2d29b7a43b40bdf786c57c7b0ed09edb71e201ab4 height=108362 bits=486573295 log2_work=49.464454 tx=566390 date=2017-05-04 19:13:45 progress=0.031258 cache=0.2MiB(41tx)
Oct 09 20:49:53.529 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000028ba7d1dc760f8cb539aaa73ff017d31a8e698b630863129930fda21 height=108363 bits=478134380 log2_work=49.46447 tx=566404 date=2017-05-04 19:17:04 progress=0.031259 cache=9.8MiB(598tx)
Oct 09 20:49:53.545 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000166b68cff6a04ff930de5728abee21081ff82a1d402371a436245382 height=108364 bits=478012627 log2_work=49.464486 tx=566413 date=2017-05-04 19:20:51 progress=0.031260 cache=10.0MiB(620tx)
Oct 09 20:49:53.557 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000001e284e5336b4ac654578ff3a7f0eea602c85a80d8fe42857c2415ef0 height=108365 bits=477969412 log2_work=49.464502 tx=566416 date=2017-05-04 19:22:20 progress=0.031260 cache=10.0MiB(625tx)
Oct 09 20:49:54.565 INFO ProcessNewBlock: main: Pre-allocating up to position 0xc00000 in rev00024.dat
Oct 09 20:49:54.812 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000074f7dbeecbdf2d635833ee5d40b39137121b38829364cf0a63f9d55d height=108366 bits=478072211 log2_work=49.464519 tx=566477 date=2017-05-04 19:24:58 progress=0.031263 cache=183.3MiB(11114tx)
Oct 09 20:49:54.924 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000003b2f2bebe166746ff8bc401b470eebb897537d536a20b4d76e8d6319 height=108367 bits=478008371 log2_work=49.464535 tx=566495 date=2017-05-04 19:33:26 progress=0.031264 cache=189.5MiB(11517tx)
Oct 09 20:49:55.022 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000001ad48933a6b1d62de7ceeafe86b7ca1726d5f3d508bb2ee65af8b2d5 height=108368 bits=477997181 log2_work=49.464551 tx=566502 date=2017-05-04 19:34:24 progress=0.031265 cache=194.9MiB(11865tx)
Oct 09 20:49:55.105 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000003b4bf406797a93333ae312f221d16823bda22e675bfcb97e202a759d height=108369 bits=477860874 log2_work=49.464568 tx=566505 date=2017-05-04 19:34:35 progress=0.031265 cache=199.8MiB(12176tx)
Oct 09 20:49:55.131 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000054bad6983de3f9398f790d403b8a21cd781deaa31bdb2387f5b3f1e0 height=108370 bits=477835700 log2_work=49.464584 tx=566510 date=2017-05-04 19:36:40 progress=0.031265 cache=199.9MiB(12181tx)
Oct 09 20:49:55.146 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000128dc2087f3e8567c9cb7f09d34073d87a68b3034c1e7d35d713784c height=108371 bits=477673449 log2_work=49.464601 tx=566511 date=2017-05-04 19:38:30 progress=0.031265 cache=199.9MiB(12182tx)
Oct 09 20:49:55.223 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000747b2f80d95947753df5f6c835e6584463250eb3f6d1c73398e599e3 height=108372 bits=477730622 log2_work=49.464618 tx=566514 date=2017-05-04 19:38:47 progress=0.031265 cache=204.7MiB(12483tx)
Oct 09 20:49:55.237 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000003cd405ec801c7b39f0675e9a2a8765e7bf3ed66ff36a1a7cb49c8cfc height=108373 bits=478073041 log2_work=49.464634 tx=566516 date=2017-05-04 19:40:24 progress=0.031265 cache=204.7MiB(12486tx)
Oct 09 20:49:55.310 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000006538db4e874a00b49ae31817db46ec30f9558111abc02059b85d5c9a height=108374 bits=477951334 log2_work=49.46465 tx=566520 date=2017-05-04 19:40:36 progress=0.031266 cache=209.4MiB(12799tx)
Oct 09 20:49:55.419 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000700b468d59837c3a83be6ef61ca88d22129856eb0bd09cf69469cb40 height=108375 bits=477925582 log2_work=49.464667 tx=566530 date=2017-05-04 19:43:13 progress=0.031266 cache=214.4MiB(13111tx)
Oct 09 20:49:55.534 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000005fab56d75e519f60dae28e33f0bce95d842af69a1e42bbe99b048ffa height=108376 bits=477975554 log2_work=49.464683 tx=566536 date=2017-05-04 19:43:42 progress=0.031266 cache=219.8MiB(13451tx)
Oct 09 20:49:55.553 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000004895abd83e866d022c8843159c693cc68a0c2c0c86e6fc1fc0439700 height=108377 bits=477957724 log2_work=49.464699 tx=566539 date=2017-05-04 19:47:42 progress=0.031267 cache=219.9MiB(13457tx)
Oct 09 20:49:55.712 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000004ad8cc009f5defda02e03c91492c6f8e089cb4b66e62dc5066054013 height=108378 bits=477925935 log2_work=49.464716 tx=566541 date=2017-05-04 19:49:24 progress=0.031267 cache=219.9MiB(13459tx)
Oct 09 20:49:55.774 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000007c1bb4d5fd5fc88113d6dee0333a31672f7464e35f8a8993b537fb00 height=108379 bits=477901096 log2_work=49.464732 tx=566548 date=2017-05-04 19:50:06 progress=0.031267 cache=225.0MiB(13784tx)
Oct 09 20:49:55.798 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000009426c975bf349a9e5f2d3fc63b4f2d5f60d45d3ed21b2de6f187c21 height=108380 bits=477838832 log2_work=49.464749 tx=566558 date=2017-05-04 19:52:23 progress=0.031268 cache=225.1MiB(13802tx)
Oct 09 20:49:55.814 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000067484c2bfd37da6536b5231e6ea300eea3b14a9f212656d9e28e171f height=108381 bits=477655223 log2_work=49.464766 tx=566560 date=2017-05-04 19:53:55 progress=0.031268 cache=225.1MiB(13804tx)
Oct 09 20:49:56.901 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000003cd787d9795d391841eeb41e397c29544bffe94df29afafc77eb485 height=108382 bits=477631699 log2_work=49.464783 tx=566615 date=2017-05-04 19:54:03 progress=0.031271 cache=324.2MiB(20524tx)
Oct 09 20:49:58.239 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000003c2755f7d05bf494f6b624639e46d2fa36d7f1f713b8deaa1df1827f height=108383 bits=477631605 log2_work=49.4648 tx=566620 date=2017-05-04 19:55:30 progress=0.031271 cache=8.8MiB(508tx)
Oct 09 20:49:58.292 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000290092b51dcc89a18d8f28fb62967f46d5508c761a1494427cd96191 height=108384 bits=477673156 log2_work=49.464817 tx=566633 date=2017-05-04 19:57:55 progress=0.031272 cache=16.5MiB(1013tx)
Oct 09 20:49:58.310 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000006c6cc692d00e3acb0ce52bf4383b3f4e49d8a2f6fe0b981dc03b3129 height=108385 bits=477546213 log2_work=49.464834 tx=566635 date=2017-05-04 19:59:50 progress=0.031272 cache=16.5MiB(1016tx)
Oct 09 20:49:58.319 INFO main: receive version message: /MagicBean:4.0.0/: version 170013, blocks=1001157, us=24.150.179.254:59373, peer=3
Oct 09 20:49:58.319 INFO main: Added time data, samples 3, offset -1 (+0 minutes)
Oct 09 20:49:59.082 INFO ProcessNewBlock: main: Pre-allocating up to position 0xd00000 in rev00024.dat
Oct 09 20:49:59.288 INFO ProcessNewBlock: main: UpdateTip: new best hash=000000006cc604d4b3837eeaf9c21fdb47f27c597886aaed43d5e0c28335ff34 height=108386 bits=477473295 log2_work=49.464851 tx=566697 date=2017-05-04 20:03:33 progress=0.031275 cache=183.3MiB(11542tx)
Oct 09 20:49:59.302 INFO ProcessNewBlock: main: Pre-allocating up to position 0x8000000 in blk00024.dat
Oct 09 20:49:59.319 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000427ae0bcd35690d45ffc81d002d43bca9863ef6e56482898b7bd6b72 height=108387 bits=477344437 log2_work=49.464869 tx=566703 date=2017-05-04 20:04:53 progress=0.031276 cache=183.4MiB(11552tx)
Oct 09 20:49:59.392 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000603999f370bbe7d92d75ab115cfcaedf41488df63b7212bdfed4f6de height=108388 bits=477254413 log2_work=49.464887 tx=566707 date=2017-05-04 20:05:46 progress=0.031276 cache=188.1MiB(11854tx)
Oct 09 20:49:59.408 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000040001e0ab562e35a889667eae2c83f182c5b1ad9caad0f5dfe01c977 height=108389 bits=477175043 log2_work=49.464905 tx=566708 date=2017-05-04 20:06:09 progress=0.031276 cache=188.1MiB(11855tx)
Oct 09 20:49:59.635 INFO ProcessNewBlock: main: UpdateTip: new best hash=0000000019f2c46c5afcbb70dcabb1577b6a56e6d4e300c3ce140683aaa2e046 height=108390 bits=476861308 log2_work=49.464923 tx=566712 date=2017-05-04 20:06:40 progress=0.031276 cache=193.2MiB(12194tx)
Oct 09 20:50:00.520 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000169e85e6c8bc7d6f0661a35c52a85ed85437df79aa121e4295802953 height=108391 bits=476840778 log2_work=49.464942 tx=566769 date=2017-05-04 20:08:00 progress=0.031279 cache=298.4MiB(19164tx)
Oct 09 20:50:01.460 INFO main: tor: Thread interrupt
Oct 09 20:50:01.460 INFO main: torcontrol thread exit
Oct 09 20:50:01.460 INFO main: scheduler thread interrupt
Oct 09 20:50:01.460 INFO main: addcon thread interrupt
Oct 09 20:50:01.522 INFO main: net thread interrupt
Oct 09 20:50:01.604 INFO main: msghand thread interrupt
Oct 09 20:50:01.941 INFO main: txnotify thread interrupt
Oct 09 20:50:03.707 INFO main: opencon thread interrupt
Oct 09 20:50:03.708 INFO Shutdown: main: StopRPC: waiting for async rpc workers to stop
Oct 09 20:50:03.709 INFO Shutdown: main: StopNode()