Bitcoin Forum
May 05, 2024, 07:10:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 ... 291 »
  Print  
Author Topic: Gridcoin (GRC) - first coin utilizing BOINC - Official Thread  (Read 597303 times)
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 01:35:34 AM
 #421

Ok, I tried "upgrade" on both of my clients (which were both already using version 29).

The upgrades said that they completed successfully but when the clients restarted each client was still showing a different hash number for the current block. Attempting a clean re-install from the latest MSI to see if that fixes the issue.

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
1714893047
Hero Member
*
Offline Offline

Posts: 1714893047

View Profile Personal Message (Offline)

Ignore
1714893047
Reply with quote  #2

1714893047
Report to moderator
1714893047
Hero Member
*
Offline Offline

Posts: 1714893047

View Profile Personal Message (Offline)

Ignore
1714893047
Reply with quote  #2

1714893047
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714893047
Hero Member
*
Offline Offline

Posts: 1714893047

View Profile Personal Message (Offline)

Ignore
1714893047
Reply with quote  #2

1714893047
Report to moderator
Inrideo
Full Member
***
Offline Offline

Activity: 130
Merit: 100


View Profile
December 08, 2013, 01:38:02 AM
 #422

1.1.3.9-g71-prod here now Smiley Yay!

Gridcoin :: GGEijprFRgB8LFVDLbdKQK9CcysFXAXRop
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
December 08, 2013, 01:40:45 AM
 #423

First time using upgrade, but it says "Upgrade Failed. An exception occurred during a WebClient request."


Nevermind, I fixed it by changing the security settings on the \Program Files(x86)\Gridcoin folder

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
Gridcoin (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 252


View Profile WWW
December 08, 2013, 01:41:26 AM
 #424

Ok, I tried "upgrade" on both of my clients (which were both already using version 29).

The upgrades said that they completed successfully but when the clients restarted each client was still showing a different hash number for the current block. Attempting a clean re-install from the latest MSI to see if that fixes the issue.
Cool--
I think it "might" have recovered Bob, because it takes it a long time to sort out peers as misbehaving (thats what it considers an obsolete peer) but then who knows.  I guess we'll find out after we have 24 hours of stability.

@Andrew, I havent read the doc yet, but thanks for putting it together.  I'll be reading it.

Rob H.



Gridcoin: scientia humana libertas
Ardolafat
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
December 08, 2013, 01:43:05 AM
 #425

What is the current block?
traderman
Legendary
*
Offline Offline

Activity: 1260
Merit: 1001



View Profile
December 08, 2013, 01:54:04 AM
 #426

if you are not running the gridcoin-qt as Administrator, then it will crash when you try to upgrade.

First time using upgrade, but it says "Upgrade Failed. An exception occurred during a WebClient request."


Nevermind, I fixed it by changing the security settings on the \Program Files(x86)\Gridcoin folder
Gridcoin (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 252


View Profile WWW
December 08, 2013, 01:56:26 AM
 #427

First time using upgrade, but it says "Upgrade Failed. An exception occurred during a WebClient request."


Nevermind, I fixed it by changing the security settings on the \Program Files(x86)\Gridcoin folder
Oh ok, I was going to ask to see if it occurs every time, or how I can reproduce.  Im glad you figured that part out, because one other user had that problem!

Rob H.

Gridcoin: scientia humana libertas
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
December 08, 2013, 01:57:19 AM
 #428

Yea that makes sense then as changing the security settings technically gave it admin rights to changes when ran.

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
December 08, 2013, 01:59:06 AM
 #429

Oh, and for you guys on Cryptocoin talk, vote on which abbreviation you think we should use/keep while we aren't on an exchange yet

XGR or GRC

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 02:02:30 AM
 #430

Ok, I have one client fully updated and running fine, but when I try to re-install the other from the latest MSI using my old wallet.dat I am receiving:



Code:
System Error: CDB() : Can't open database file wallet.dat, error -30974

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
traderman
Legendary
*
Offline Offline

Activity: 1260
Merit: 1001



View Profile
December 08, 2013, 02:10:59 AM
 #431

do -salvagewallet command

Ok, I have one client fully updated and running fine, but when I try to re-install the other from the latest MSI using my old wallet.dat I am receiving:



Code:
System Error: CDB() : Can't open database file wallet.dat, error -30974
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 02:29:11 AM
 #432

do -salvagewallet command

Ok, I have one client fully updated and running fine, but when I try to re-install the other from the latest MSI using my old wallet.dat I am receiving:



Code:
System Error: CDB() : Can't open database file wallet.dat, error -30974

That seems to have done the trick, thanks m8! Forgot about the "-salvagewallet" flag (never had to use it).


So, now both clients are running, both clients are the latest version (version 30) both say they are synced, but they are on completely different blockchains.

One block chain is currently 27,865 blocks long with a difficulty of 1.17921727 and the other is on a blockchain that is 27,881 blocks long with a difficulty of 1.44197764.

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
December 08, 2013, 02:36:28 AM
 #433

do -salvagewallet command

Ok, I have one client fully updated and running fine, but when I try to re-install the other from the latest MSI using my old wallet.dat I am receiving:



Code:
System Error: CDB() : Can't open database file wallet.dat, error -30974

That seems to have done the trick, thanks m8! Forgot about the "-salvagewallet" flag (never had to use it).


So, now both clients are running, both clients are the latest version (version 30) both say they are synced, but they are on completely different blockchains.

One block chain is currently 27,865 blocks long with a difficulty of 1.17921727 and the other is on a blockchain that is 27,881 blocks long with a difficulty of 1.44197764.


I was about to post the same thing. I have one chain at 27,865 and two at 27,881 and neither have them have moved since updating. Is the chain playing catchup or something before it starts moving again?

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 02:42:30 AM
 #434

The stall right now is because the new client requires people to be upgraded to the latest version so anyone who has not yet seen this thread is pretty much still mining on an out of date blockchain, there are probably only a handful of us at the moment who are on the latest version and the difficulty is still set from the old chain so the chain thinks there is a whole network f miners when there is actually only a handful of us.

It will start moving again either when we reach the next re-target or when the other miners catch up with their upgrades.

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 02:46:12 AM
 #435

Question for the dev:

Could the fact that I have multiple projects running in BOINC that aren't in the project list be somehow placing me on a separate blockchain...?

I have been using BOINC for a while now and I am signed up to almost every project...

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 03:24:29 AM
 #436

In main.cpp I see where nBestChain is set, but I don't see any definition really as to HOW nBestChain is set. I looked through main.cpp, alert.h, alert.cpp, protocol.cpp and protocol.h, didn't see anything in those places, maybe there was some where I missed...?

Is there anywhere in the code that tells it to look for the longest blockchain (blockchain with the most confirmations for all included transactions) or how exactly does the client determine how nBestChain is defined...?

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
Gridcoin (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 252


View Profile WWW
December 08, 2013, 04:05:10 AM
 #437

In main.cpp I see where nBestChain is set, but I don't see any definition really as to HOW nBestChain is set. I looked through main.cpp, alert.h, alert.cpp, protocol.cpp and protocol.h, didn't see anything in those places, maybe there was some where I missed...?

Is there anywhere in the code that tells it to look for the longest blockchain (blockchain with the most confirmations for all included transactions) or how exactly does the client determine how nBestChain is defined...?
It has not been changed from litecoin's code.

The longest chain ends up being chosen.

Main.cpp 1887 (Disconnect shorter branch)

Gridcoin: scientia humana libertas
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 04:21:05 AM
 #438

In main.cpp I see where nBestChain is set, but I don't see any definition really as to HOW nBestChain is set. I looked through main.cpp, alert.h, alert.cpp, protocol.cpp and protocol.h, didn't see anything in those places, maybe there was some where I missed...?

Is there anywhere in the code that tells it to look for the longest blockchain (blockchain with the most confirmations for all included transactions) or how exactly does the client determine how nBestChain is defined...?
It has not been changed from litecoin's code.

The longest chain ends up being chosen.

Main.cpp 1887 (Disconnect shorter branch)


Ah ok, I see it now. Thanks!

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
Gridcoin (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 252


View Profile WWW
December 08, 2013, 04:50:19 AM
 #439

I feel better about this upgrade; I think we have to wait for the supermajority rule to kick in.  Now that we are almost over 51% upgraded, Im pretty sure its about to kick in, because my bad node is now counting backwards and blocks are being taken off the chain; that didnt happen yesterday.....  I think the wallet corruption was due to constant closing while the client had a lock on the file.

Rob H.

Gridcoin: scientia humana libertas
TribalBob
Sr. Member
****
Offline Offline

Activity: 1288
Merit: 257


Chainjoes.com


View Profile
December 08, 2013, 05:27:48 AM
 #440

Ok,

So I just renamed both of my data directories for both of my clients to "Gridcoin OLD". I re-launched the application and let it build new directories on both machines.

Both wallets started up and synced to the same block chain.

I re-started Gridcoin and used "-datadir=Gridcoin OLD" to get back into my old wallets and sent the coins from those wallets to my new primary address.

I have received the coins from both wallets and both machines are currently on the same blockchain. Now just need to see if my machines stay on the same blockchain this time, lol...

█▀▀▀










█▄▄▄
CHAIN JOES
▀▀▀█










▄▄▄█
█▀▀▀










█▄▄▄
|
▀▀▀█










▄▄▄█
📝
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 ... 291 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!