Author

Topic: Gridcoin (GRC) - first coin utilizing BOINC - Official Thread - page 236. (Read 597413 times)

sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
Ok, I used the backup wallet I had made from a few days ago, it syncs up to block 40319 then I get "system error:CDB():can't open database file wallet.dat, error -30974" and then it crashes and I get "A fatal error has occured.  Gridcoin can no longer continue safely and will quit.  
EXCEPTION: St13 runtime_error  
CDB():can't open database file wallet.dat, error -30974
c:\Program Files (x86)\Gridcoin\gridcoin-qt.exe in Runaway exception"

I was doing a resync and an update a few days back and got these same error messages.  I then restarted the client and they went away so I wrote it off as a fluke.  I think a fresh install and new wallet would be in order, I would love to recover those 6K though.

Re-try launching with that wallet but use the "-salvagewallet" flag on launch...

***Edit***
I see this has been covered already... man, I am slacking today...
full member
Activity: 150
Merit: 100
Just when I thought things were settling down; by checking the other forum I thought we were past the 50% problem.

I'm running 3 versions of boinc without a problem; old; newest and 7.0.0.64, (64 bit version), and I can't reproduce any problems with the newest version of gridcoin.

Have you tried deleting "c:\programdata\boinc\gridcoin.dat" and restarting gridcoin?
Have we tried removing some projects and testing Wcg + malaria?  Also press "Update" on the project?

I believe the only remaining issue may be a non-compatible stamp in the file above.  Please let me know.

Rob H.


Upgraded to latest version last night (I have been mining from a week old version) and lost all my BOINC average daily credits.  Deleted the gridcoin.dat per above instructions and rebooted machine.  The credits showed up again like magic!
legendary
Activity: 1260
Merit: 1001
That command always worked for me. I don't know what to tell you.

Start gridcoin with a -salvagewallet command, using the backup wallet.

Ok, I used the backup wallet I had made from a few days ago, it syncs up to block 40319 then I get "system error:CDB():can't open database file wallet.dat, error -30974" and then it crashes and I get "A fatal error has occured.  Gridcoin can no longer continue safely and will quit. 
EXCEPTION: St13 runtime_error 
CDB():can't open database file wallet.dat, error -30974
c:\Program Files (x86)\Gridcoin\gridcoin-qt.exe in Runaway exception"

I was doing a resync and an update a few days back and got these same error messages.  I then restarted the client and they went away so I wrote it off as a fluke.  I think a fresh install and new wallet would be in order, I would love to recover those 6K though.

Qt just freezes and shuts down
sr. member
Activity: 462
Merit: 250
Start gridcoin with a -salvagewallet command, using the backup wallet.

Ok, I used the backup wallet I had made from a few days ago, it syncs up to block 40319 then I get "system error:CDB():can't open database file wallet.dat, error -30974" and then it crashes and I get "A fatal error has occured.  Gridcoin can no longer continue safely and will quit.  
EXCEPTION: St13 runtime_error  
CDB():can't open database file wallet.dat, error -30974
c:\Program Files (x86)\Gridcoin\gridcoin-qt.exe in Runaway exception"

I was doing a resync and an update a few days back and got these same error messages.  I then restarted the client and they went away so I wrote it off as a fluke.  I think a fresh install and new wallet would be in order, I would love to recover those 6K though.

Qt just freezes and shuts down
legendary
Activity: 1260
Merit: 1001
Start gridcoin with a -salvagewallet command, using the backup wallet.

Ok, I used the backup wallet I had made from a few days ago, it syncs up to block 40319 then I get "system error:CDB():can't open database file wallet.dat, error -30974" and then it crashes and I get "A fatal error has occured.  Gridcoin can no longer continue safely and will quit.  
EXCEPTION: St13 runtime_error  
CDB():can't open database file wallet.dat, error -30974
c:\Program Files (x86)\Gridcoin\gridcoin-qt.exe in Runaway exception"

I was doing a resync and an update a few days back and got these same error messages.  I then restarted the client and they went away so I wrote it off as a fluke.  I think a fresh install and new wallet would be in order, I would love to recover those 6K though.
sr. member
Activity: 308
Merit: 250
You could do that , but that is only you! Other people need a financial incentive to use Boinc. So by participating in the network yourself, you are giving incentive to the people that would otherwise not run Boinc at all, to actually Run Boinc. Do you see what I am getting at? Also mining secures the blockcahin and makes the network more resistant to any kind of attack, so the hashing by itself has it's uses.

I hate to say it, but everything in our current world is run by Greed. Here we can use that Greed and divert a portion of it, maybe not all of it, but a portion to something good.

Look at @ our team on the WCG http://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=BBNGDQS832

If it wasn't for Gridcoin none of that work would have been done in the first place. Hell, I only found out about Boinc because of Gridcon. Prior to that it was not even known to me.
Even a lot of people that start using Boinc, over time they either loose interest or the everyday stresses of life just make them forget. So by adding the crypto aspect it makes it a lot more fun to participate in.


Good points, i guess we have to start somewhere and this seems the best incentive atm for people to start using their cpu towards scientific endeavours.

This is also just for the moment. Rob, the dev, is coming up with an algo to make CGminer sleep half the time and then the rest of the time run in BOINC. Those who decide to run BOINC during the "sleep" time as opposed to mining something else get rewarded more than those who don't.
sr. member
Activity: 462
Merit: 250
Ok, I used the backup wallet I had made from a few days ago, it syncs up to block 40319 then I get "system error:CDB():can't open database file wallet.dat, error -30974" and then it crashes and I get "A fatal error has occured.  Gridcoin can no longer continue safely and will quit. 
EXCEPTION: St13 runtime_error 
CDB():can't open database file wallet.dat, error -30974
c:\Program Files (x86)\Gridcoin\gridcoin-qt.exe in Runaway exception"

I was doing a resync and an update a few days back and got these same error messages.  I then restarted the client and they went away so I wrote it off as a fluke.  I think a fresh install and new wallet would be in order, I would love to recover those 6K though.
hero member
Activity: 644
Merit: 500
P2P The Planet!
You could do that , but that is only you! Other people need a financial incentive to use Boinc. So by participating in the network yourself, you are giving incentive to the people that would otherwise not run Boinc at all, to actually Run Boinc. Do you see what I am getting at? Also mining secures the blockcahin and makes the network more resistant to any kind of attack, so the hashing by itself has it's uses.

I hate to say it, but everything in our current world is run by Greed. Here we can use that Greed and divert a portion of it, maybe not all of it, but a portion to something good.

Look at @ our team on the WCG http://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=BBNGDQS832

If it wasn't for Gridcoin none of that work would have been done in the first place. Hell, I only found out about Boinc because of Gridcon. Prior to that it was not even known to me.
Even a lot of people that start using Boinc, over time they either loose interest or the everyday stresses of life just make them forget. So by adding the crypto aspect it makes it a lot more fun to participate in.


Good points, i guess we have to start somewhere and this seems the best incentive atm for people to start using their cpu towards scientific endeavours.

However i do think gridcoins statements about the crypto-currency is very misleading.

"large percentage of the computational power towards BOINC research - instead of generating unecessary heat and wasted power for the proof of work algorithms required to keep the coin network running."
sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
Another question. Do i have to check the box "Use GPU while computer in use" in the BOINC manager? Or does the mining module on the qt client do all the work?

You do not want to have the box for "Use GPU While Computer is in Use" checked. The way Gridcoin works is you dedicate your CPU cycles to BOINC and you mine Gridcoins with your GPU.

Gridcoin also has it's own version of cpu mining which should be re-implemented soon (hopefully). When cpu mining is brought back you will be able to fill in some information on your projects console and you will be rewarded additional GRC based on the amount of work your cpu does for BOINC.

So basically i am not dedicating any GPU power towards BOINC. Only my cpu is contributing to BOINC projects??

If that's the case then this coin is not energy efficient at all, its just forcing you to use your cpu for boinc while wasting gpu power on gridcoins, i could be dedicating gpu and cpu power to boinc instead of mining for gridcoins.

The idea behind the coin is to add an incentive for using BOINC, a handful of people dedicating their GPU's to BOINC is nowhere near as effective as a large network of cpu's dedicating their cycles to BOINC.

Gridcoin is intended to attract people to use BOINC who wouldn't otherwise be interested if there was no personal gain for themselves.
legendary
Activity: 1260
Merit: 1001
You could do that , but that is only you! Other people need a financial incentive to use Boinc. So by participating in the network yourself, you are giving incentive to the people that would otherwise not run Boinc at all, to actually Run Boinc. Do you see what I am getting at? Also mining secures the blockcahin and makes the network more resistant to any kind of attack, so the hashing by itself has it's uses.

I hate to say it, but everything in our current world is run by Greed. Here we can use that Greed and divert a portion of it, maybe not all of it, but a portion to something good.

Look at @ our team on the WCG http://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=BBNGDQS832

If it wasn't for Gridcoin none of that work would have been done in the first place. Hell, I only found out about Boinc because of Gridcon. Prior to that it was not even known to me.
Even a lot of people that start using Boinc, over time they either loose interest or the everyday stresses of life just make them forget. So by adding the crypto aspect it makes it a lot more fun to participate in.


Another question. Do i have to check the box "Use GPU while computer in use" in the BOINC manager? Or does the mining module on the qt client do all the work?

You do not want to have the box for "Use GPU While Computer is in Use" checked. The way Gridcoin works is you dedicate your CPU cycles to BOINC and you mine Gridcoins with your GPU.

Gridcoin also has it's own version of cpu mining which should be re-implemented soon (hopefully). When cpu mining is brought back you will be able to fill in some information on your projects console and you will be rewarded additional GRC based on the amount of work your cpu does for BOINC.

So basically i am not dedicating any GPU power towards BOINC. Only my cpu is contributing to BOINC projects??

If that's the case then this coin is not energy efficient at all, its just forcing you to use your cpu for boinc while wasting gpu power on gridcoins, i could be dedicating gpu and cpu power to boinc instead of mining for gridcoins.
hero member
Activity: 644
Merit: 500
P2P The Planet!
Another question. Do i have to check the box "Use GPU while computer in use" in the BOINC manager? Or does the mining module on the qt client do all the work?

You do not want to have the box for "Use GPU While Computer is in Use" checked. The way Gridcoin works is you dedicate your CPU cycles to BOINC and you mine Gridcoins with your GPU.

Gridcoin also has it's own version of cpu mining which should be re-implemented soon (hopefully). When cpu mining is brought back you will be able to fill in some information on your projects console and you will be rewarded additional GRC based on the amount of work your cpu does for BOINC.

So basically i am not dedicating any GPU power towards BOINC. Only my cpu is contributing to BOINC projects??

If that's the case then this coin is not energy efficient at all, its just forcing you to use your cpu for boinc while wasting gpu power on gridcoins, i could be dedicating gpu and cpu power to boinc instead of mining for gridcoins.
legendary
Activity: 1260
Merit: 1001
Use the backup and rebuild the blockchain from the start and see what happens.

Do you have any backups of your wallet files? I backup once per month.

I had the same thing happen to me once, when I used my backup everything re synched and was back to normal.

Btw what is your hasing speed? over the last 36-48 hours.

I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.
Yes use your backup and rebuild the blockchain from the start and see what happens.


Hashing speed was around 2400Khs.  I do have a backup from a few days ago.  This is something I SHOULD know by now, but I have never dealt with it before, is it okay to use a wallet backup from before I mined those blocks?
sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
Do you have any backups of your wallet files? I backup once per month.

I had the same thing happen to me once, when I used my backup everything re synched and was back to normal.

Btw what is your hasing speed? over the last 36-48 hours.

I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.

Hashing speed was around 2400Khs.  I do have a backup from a few days ago.  This is something I SHOULD know by now, but I have never dealt with it before, is it okay to use a wallet backup from before I mined those blocks?

Absolutely, in fact it would be preferable to using the one that might be corrupted.
sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
WTF?!?!?  I fell out of sync with the block chain so I started rebuilding it, and now all of a sudden the ~6K GRC I had in that wallet is gone.  I did a -reindex and it didn't help.  I went to my roaming/appdata directory to see if my wallet was missing or something and now I have a wallet.(longstringofnumbers).bak file and a wallet.dat file.  What is that .bak file?  Never seen that before.

.bak is a backup file, the long string of numbers is an epoch (unix) timestamp.

Likely your old wallet was corrupted and a new wallet.dat was created and your corrupted wallet was moved to a .bak file.

It sounds like you hit a hard fork of the blockchain (likely you lost connection to the internet and you have more than wallet so you you were mining on your own personal network) then when you regained internet connection the wallet realized it was out of sync with the main blockchain.

There should be a way to restore your old wallet from the .bak file but I don't have any personal experience with this so i can't give you the details, but even if you restore the wallet I wouldn't count on your coins being there because it really sounds like you hit a hard fork.

Yeah, but I shutdown gridcoin and rebuilt the block chain multiple times over the past few days.  Was I continually mining on a forked chain for days?  And like I said I was checking the block explorer to be sure I was synced.  If that is the case I can't be the only one who found themselves on the forked chain, and apparently the block explorer was following it on and off as well.

Yeah, sorry I hadn't seen the post where you said that when i typed that, I edited my OP as such...

If you were on the correct block-chain then you should be able to restore your wallet from the .bak file but I am not certain how to do so since I have no personal experience. I would assume it is probably as simple as opening a CMD, navigating to Program Files (x86)\Gridcoin and running "gridcoin-qt.exe -restorewallet timestamp.bak" or something along those lines.
sr. member
Activity: 462
Merit: 250
Do you have any backups of your wallet files? I backup once per month.

I had the same thing happen to me once, when I used my backup everything re synched and was back to normal.

Btw what is your hasing speed? over the last 36-48 hours.

I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.

Hashing speed was around 2400Khs.  I do have a backup from a few days ago.  This is something I SHOULD know by now, but I have never dealt with it before, is it okay to use a wallet backup from before I mined those blocks?
sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.

You can have the wallet do what you are doing automatically at a set interval by setting "restartwallet=" in your gridcoin.conf

Setting the interval with that flag will shut-down the gridcoin client, restart the wallet and re-build the blockchain, just be sure to also set "closemineronexit=false".
sr. member
Activity: 462
Merit: 250
WTF?!?!?  I fell out of sync with the block chain so I started rebuilding it, and now all of a sudden the ~6K GRC I had in that wallet is gone.  I did a -reindex and it didn't help.  I went to my roaming/appdata directory to see if my wallet was missing or something and now I have a wallet.(longstringofnumbers).bak file and a wallet.dat file.  What is that .bak file?  Never seen that before.

.bak is a backup file, the long string of numbers is an epoch (unix) timestamp.

Likely your old wallet was corrupted and a new wallet.dat was created and your corrupted wallet was moved to a .bak file.

It sounds like you hit a hard fork of the blockchain (likely you lost connection to the internet and you have more than wallet so you you were mining on your own personal network) then when you regained internet connection the wallet realized it was out of sync with the main blockchain.

There should be a way to restore your old wallet from the .bak file but I don't have any personal experience with this so i can't give you the details, but even if you restore the wallet I wouldn't count on your coins being there because it really sounds like you hit a hard fork.

Yeah, but I shutdown gridcoin and rebuilt the block chain multiple times over the past few days.  Was I continually mining on a forked chain for days?  And like I said I was checking the block explorer to be sure I was synced.  If that is the case I can't be the only one who found themselves on the forked chain, and apparently the block explorer was following it on and off as well.
legendary
Activity: 1260
Merit: 1001
Do you have any backups of your wallet files? I backup once per month.

I had the same thing happen to me once, when I used my backup everything re synched and was back to normal.

Btw what is your hasing speed? over the last 36-48 hours.

I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.
sr. member
Activity: 1288
Merit: 257
DGbet.fun - Crypto Sportsbook
WTF?!?!?  I fell out of sync with the block chain so I started rebuilding it, and now all of a sudden the ~6K GRC I had in that wallet is gone.  I did a -reindex and it didn't help.  I went to my roaming/appdata directory to see if my wallet was missing or something and now I have a wallet.(longstringofnumbers).bak file and a wallet.dat file.  What is that .bak file?  Never seen that before.

.bak is a backup file, the long string of numbers is an epoch (unix) timestamp.

Likely your old wallet was corrupted and a new wallet.dat was created and your corrupted wallet was moved to a .bak file.

It sounds like you hit a hard fork of the blockchain (likely you lost connection to the internet and you have more than wallet so you you were mining on your own personal network) then when you regained internet connection the wallet realized it was out of sync with the main blockchain.

There should be a way to restore your old wallet from the .bak file but I don't have any personal experience with this so i can't give you the details, but even if you restore the wallet I wouldn't count on your coins being there because it really sounds like you hit a hard fork.

***Edit***
Just saw your post above mine, I hadn't realized this was over a two day period, I assumed it was something that had happened overnight. My apologies. If you weren't forked for the past few days and you can get your wallet restored then your coins should be there.
sr. member
Activity: 462
Merit: 250
I fall out of sync 1-2 times a day, that 6K was mined over the last 36-48 hrs or so, I was periodically checking the block explorer and rebuilding the block chain as needed, so I know I wasn't forked for 2 days or something.
Jump to: