Hello, I recently updated to 2.0.0 and it ran fine for a day then the next day I keep getting this when i run zcashd.
zcashd: wallet/wallet.cpp:2004: int CWallet::ScanForWalletTransactions(CBlockIndex*, bool): Assertion `pcoinsTip->GetSproutAnchorAt(pindex->hashSproutAnchor, sproutTree)’ failed.
Aborted (core dumped)
Looking in the debug.log I get this…
2018-10-02 03:26:11 Zcash version v2.0.0 (2018-08-16 01:26:25 -0700)
2018-10-02 03:26:11 Using OpenSSL version OpenSSL 1.1.0h 27 Mar 2018
2018-10-02 03:26:11 Using BerkeleyDB version Berkeley DB 6.2.23: (March 28, 2016)
2018-10-02 03:26:11 Default data directory /home/john/.zcash
2018-10-02 03:26:11 Using data directory /home/john/.zcash
2018-10-02 03:26:11 Using config file /home/john/.zcash/zcash.conf
2018-10-02 03:26:11 Using at most 125 connections (1024 file descriptors available)
2018-10-02 03:26:11 Using 4 threads for script verification
2018-10-02 03:26:11 scheduler thread start
2018-10-02 03:26:11 Loading verifying key from /home/john/.zcash-params/sprout-verifying.key
2018-10-02 03:26:11 Loaded verifying key in 0.005948s seconds.
2018-10-02 03:26:11 Loading Sapling (Spend) parameters from /home/john/.zcash-params/sapling-spend.params
2018-10-02 03:26:11 Loading Sapling (Output) parameters from /home/john/.zcash-params/sapling-output.params
2018-10-02 03:26:11 Loading Sapling (Sprout Groth16) parameters from /home/john/.zcash-params/sprout-groth16.params
2018-10-02 03:26:13 Loaded Sapling parameters in 2.265466s seconds.
2018-10-02 03:26:13 HTTP: creating work queue of depth 16
2018-10-02 03:26:13 HTTP: starting 4 worker threads
2018-10-02 03:26:13 Using wallet wallet.dat
2018-10-02 03:26:13 CDBEnv::Open: LogDir=/home/john/.zcash/database ErrorFile=/home/john/.zcash/db.log
2018-10-02 03:26:13 Bound to [::]:8233
2018-10-02 03:26:13 Bound to 0.0.0.0:8233
2018-10-02 03:26:13 Cache configuration:
2018-10-02 03:26:13 * Using 2.0MiB for block index database
2018-10-02 03:26:13 * Using 120.0MiB for chain state database
2018-10-02 03:26:13 * Using 328.0MiB for in-memory UTXO set
2018-10-02 03:26:13 Opening LevelDB in /home/john/.zcash/blocks/index
2018-10-02 03:26:13 Opened LevelDB successfully
2018-10-02 03:26:13 Opening LevelDB in /home/john/.zcash/chainstate
2018-10-02 03:26:13 Opened LevelDB successfully
2018-10-02 03:26:25 LoadBlockIndexDB: last block file = 85
2018-10-02 03:26:25 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=2567, size=124826191, heights=294045…296843, time=2018-03-24…2018-03-29)
2018-10-02 03:26:25 Checking all blk files are present…
2018-10-02 03:26:25 LoadBlockIndexDB: transaction index disabled
2018-10-02 03:26:25 LoadBlockIndexDB: hashBestChain=00000000106f7addacb2a305d2e4f075e7344f247f40d44dfb9e216f142591bd height=296759 date=2018-03-29 11:56:52 progress=0.369123
2018-10-02 03:26:26 Verifying last 288 blocks at level 3
2018-10-02 03:26:31 No coin database inconsistencies in last 1 blocks (33 transactions)
2018-10-02 03:26:31 block index 17610ms
2018-10-02 03:26:31 nFileVersion = 2000050
2018-10-02 03:26:31 Keys: 111 plaintext, 0 encrypted, 111 w/ metadata, 111 total
2018-10-02 03:26:31 ZKeys: 1 plaintext, 0 encrypted, 1 w/metadata, 1 total
2018-10-02 03:26:31 wallet 443ms
2018-10-02 03:26:31 Rescanning last 438 blocks (from block 296321)…
No specific errors, it just stops. Any help would be appreciated, thanks.