After my computer accidentally shut down I kept receiving the following message when I tried to open the wallet application "Error Loading blkindex.dat". The program would then crash. I would uninstall and reinstall the application and still be met with the same error. I found the blkindex.dat file in my roaming profile and renamed it to blkindex.old, uninstalled the application and reinstalled it, thinking it would see the file is missing during install and recreate it, but it didn't. I then removed the entire folder (my wallet was empty anyway), uninstalled and reinstalled. I noticed it will not create those files in my roaming profile folder. What am I doing wrong?
Thanks
Issues with Namecoin 3.8.0 - Not creating files
Re: Issues with Namecoin 3.8.0 - Not creating files
A few questions:
1) Which operating system?
2) Where did you download this "Namecoin 3.8.0" software from? It sounds as if you either compiled it yourself, or you downloaded it from an untrustworthy place. The official version from namecoin.org or namecoin.info is 0.3.80 or 0.3.81.
3) Could you post the last 50+ lines of the file debug.log here or at pastebin or similar? Or let us know if there is anything suspicious somewhere else in debug.log.
1) Which operating system?
2) Where did you download this "Namecoin 3.8.0" software from? It sounds as if you either compiled it yourself, or you downloaded it from an untrustworthy place. The official version from namecoin.org or namecoin.info is 0.3.80 or 0.3.81.
3) Could you post the last 50+ lines of the file debug.log here or at pastebin or similar? Or let us know if there is anything suspicious somewhere else in debug.log.
Re: Issues with Namecoin 3.8.0 - Not creating files
Looks like it finally did recreate the folders in AppData\Roaming.
1.) Microsoft Windows 8.1
2.) Downloaded and using the official installer from Namecoin.info (Namecoin_v0.3.80_setup)
3.) See Below
namecoin version 0.3.80
Default data directory C:\Users\kb1lx_000\AppData\Roaming\Namecoin
Bound to port 8334
Setup namecoin genesis block 000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770
Loading addresses...
dbenv.open strLogDir=C:\Users\kb1lx_000\AppData\Roaming\Namecoin/database strErrorFile=C:\Users\kb1lx_000\AppData\Roaming\Namecoin/db.log
Loaded 196 addresses
addresses 554ms
Loading block index...
LoadBlockIndex(): hashBestChain=db693184b5d05e3f33d4 height=72414
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckProofOfWork() : proof of work failed
ERROR: CBlock::ReadFromDisk() : errors in block header
ERROR: LoadBlockIndex() : block.ReadFromDisk failed
block index 1553ms
Loading wallet...
nFileVersion = 38000
wallet 623ms
Done loading
mapBlockIndex.size() = 72415
nBestHeight = 72414
mapKeys.size() = 101
mapCryptedKeys.size() = 0
setKeyPool.size() = 100
mapPubKeys.size() = 101
mapWallet.size() = 0
mapAddressBook.size() = 1
1.) Microsoft Windows 8.1
2.) Downloaded and using the official installer from Namecoin.info (Namecoin_v0.3.80_setup)
3.) See Below
namecoin version 0.3.80
Default data directory C:\Users\kb1lx_000\AppData\Roaming\Namecoin
Bound to port 8334
Setup namecoin genesis block 000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770
Loading addresses...
dbenv.open strLogDir=C:\Users\kb1lx_000\AppData\Roaming\Namecoin/database strErrorFile=C:\Users\kb1lx_000\AppData\Roaming\Namecoin/db.log
Loaded 196 addresses
addresses 554ms
Loading block index...
LoadBlockIndex(): hashBestChain=db693184b5d05e3f33d4 height=72414
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckProofOfWork() : proof of work failed
ERROR: CBlock::ReadFromDisk() : errors in block header
ERROR: LoadBlockIndex() : block.ReadFromDisk failed
block index 1553ms
Loading wallet...
nFileVersion = 38000
wallet 623ms
Done loading
mapBlockIndex.size() = 72415
nBestHeight = 72414
mapKeys.size() = 101
mapCryptedKeys.size() = 0
setKeyPool.size() = 100
mapPubKeys.size() = 101
mapWallet.size() = 0
mapAddressBook.size() = 1
Re: Issues with Namecoin 3.8.0 - Not creating files
is it possible there are problems with your hard drive ?
try to check your drive for errors or install in a different computer.
i am checking right now a brand new install of 0.3.8 and it sure it's slow to sync, the new version it's faster.
**Beta**
https://www.reddit.com/r/Namecoin/comme ... _binaries/
Use
namecoin-0.12.99-win64-setup-unsigned.exe
try to check your drive for errors or install in a different computer.
i am checking right now a brand new install of 0.3.8 and it sure it's slow to sync, the new version it's faster.
**Beta**
https://www.reddit.com/r/Namecoin/comme ... _binaries/
Use
namecoin-0.12.99-win64-setup-unsigned.exe
Re: Issues with Namecoin 3.8.0 - Not creating files
A chkdsk came up clear and I don't see any other issues with the hard drive. It was working fine until I shut my laptop, which for some reason caused an unplanned shutdown. From that point on I would get the blkindex.dat error.
Re: Issues with Namecoin 3.8.0 - Not creating files
I can only advice you to try the new version and make periodic backups of your wallet.dat .
With 0.3.80 you will take forever to download the blockchain and it uses an old format to store it anyway, so it's better to just scrap these old blkindexes and start again.
have you tried opening with the -rescan parameter?
With 0.3.80 you will take forever to download the blockchain and it uses an old format to store it anyway, so it's better to just scrap these old blkindexes and start again.
have you tried opening with the -rescan parameter?
Re: Issues with Namecoin 3.8.0 - Not creating files
So I renamed blkindex.dat and blk0001.dat to .old and ran namecoin-qt /rescan and the wallet now works but seems to be stuck at 246 weeks behind. This sync is going to take awhile right?
Re: Issues with Namecoin 3.8.0 - Not creating files
actually you should try to -rescan first and it should fix the errors in the file.
if that doesn't work you can rename the file that is giving you an error.
if it get stuck just close it and open it again... this is happening to me with 0.3.80
if that doesn't work you can rename the file that is giving you an error.
if it get stuck just close it and open it again... this is happening to me with 0.3.80
Re: Issues with Namecoin 3.8.0 - Not creating files
I seem to be stuck on one particular block, it's been on Block 141 for almost 20 hours. I do see the total number of blocks increasing and I have 8 connections. How do I view the those connections on the QT client?
Re: Issues with Namecoin 3.8.0 - Not creating files
if you want more connections you can redirect the port 8334 from your router to your ip if upnp is not active. Do you have the upnp option activated?
keep in mind that you cannot have 2 namecoin wallets in the same LAN with the same port at the same time.
you can't see the peer connections details on 0.3.80 like you can see them on the 0.12.99 pre-release version.
Add the commands -printtoconsole -dbcache=400 when you start the program for faster sync.
create a namecoin.conf text file on the appdata folder of namecoin and add the following
# Use as many addnode= settings as you like to connect to specific peers
addnode=195.154.209.63:8334
addnode=107.170.2.241:8334
addnode=88.198.2.197.8334
keep in mind that you cannot have 2 namecoin wallets in the same LAN with the same port at the same time.
you can't see the peer connections details on 0.3.80 like you can see them on the 0.12.99 pre-release version.
Add the commands -printtoconsole -dbcache=400 when you start the program for faster sync.
create a namecoin.conf text file on the appdata folder of namecoin and add the following
# Use as many addnode= settings as you like to connect to specific peers
addnode=195.154.209.63:8334
addnode=107.170.2.241:8334
addnode=88.198.2.197.8334