Reset pblocktree before deleting LevelDB file
Reset pblocktree before deleting LevelDB file

Github-Pull: #12401
Rebased-From: a8b5d20f4f171828b2bd70ab2405c42b1e452e5b
Tree-SHA512: 3a87b6113283c3588f46bb5c725ec33ac639e2f91c589b5c0eb4375e3d23bd6c18e7ba96faf70be2afea86d8e6252bf4dbcf9c9ed166ce2d49846ff947a36d2e

deeponion/deeponion,GroestlCoin/bitcoin,vertcoin/vertcoin,peercoin/peercoin,particl/particl-core,DigitalPandacoin/pandacoin,myriadcoin/myriadcoin,vertcoin/vertcoin,gjhiggins/vcoincore,myriadcoin/myriadcoin,1185/starwels,1185/starwels,vertcoin/vertcoin,particl/particl-core,MazaCoin/maza,MazaCoin/maza,GroestlCoin/bitcoin,GroestlCoin/GroestlCoin,1185/starwels,tecnovert/particl-core,MazaCoin/maza,particl/particl-core,myriadteam/myriadcoin,DigitalPandacoin/pandacoin,MazaCoin/maza,ahmedbodi/vertcoin,particl/particl-core,myriadcoin/myriadcoin,tecnovert/particl-core,DigitalPandacoin/pandacoin,digibyte/digibyte,qtumproject/qtum,tecnovert/particl-core,myriadteam/myriadcoin,MazaCoin/maza,DigitalPandacoin/pandacoin,viacoin/viacoin,MazaCoin/maza,ahmedbodi/vertcoin,peercoin/peercoin,myriadteam/myriadcoin,deeponion/deeponion,particl/particl-core,1185/starwels,peercoin/peercoin,ppcoin/ppcoin,DigitalPandacoin/pandacoin,GroestlCoin/bitcoin,digibyte/digibyte,GroestlCoin/GroestlCoin,peercoin/peercoin,viacoin/viacoin,GroestlCoin/bitcoin,myriadcoin/myriadcoin,ppcoin/ppcoin,GroestlCoin/GroestlCoin,qtumproject/qtum,qtumproject/qtum,vertcoin/vertcoin,starwels/starwels,GroestlCoin/GroestlCoin,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,myriadteam/myriadcoin,gjhiggins/vcoincore,viacoin/viacoin,myriadteam/myriadcoin,myriadcoin/myriadcoin,ahmedbodi/vertcoin,ahmedbodi/vertcoin,starwels/starwels,vertcoin/vertcoin,particl/particl-core,myriadteam/myriadcoin,viacoin/viacoin,tecnovert/particl-core,starwels/starwels,gjhiggins/vcoincore,ahmedbodi/vertcoin,viacoin/viacoin,DigitalPandacoin/pandacoin,1185/starwels,gjhiggins/vcoincore,deeponion/deeponion,qtumproject/qtum,ppcoin/ppcoin,starwels/starwels,qtumproject/qtum,peercoin/peercoin,ppcoin/ppcoin,vertcoin/vertcoin,tecnovert/particl-core,deeponion/deeponion,starwels/starwels,deeponion/deeponion,digibyte/digibyte,1185/starwels,gjhiggins/vcoincore,ahmedbodi/vertcoin,tecnovert/particl-core,gjhiggins/vcoincore,GroestlCoin/GroestlCoin,digibyte/digibyte,deeponion/deeponion,digibyte/digibyte,qtumproject/qtum,myriadcoin/myriadcoin,qtumproject/qtum,peercoin/peercoin,GroestlCoin/bitcoin,viacoin/viacoin,digibyte/digibyte,starwels/starwels