Author

Topic: Forks confuse QT wallet (Read 705 times)

full member
Activity: 168
Merit: 100
July 31, 2013, 10:46:12 AM
#6
Not sure about this, but afaik in theory you could, in reality you don't. Havent really looked in dephts of stratum, but pools tend to hide some of data, to prevent ppl cheating. as you could otherwise submit hashes which find blocks, solo.

You can tho mine on backup pool while downloading personal blockchain tho.
full member
Activity: 150
Merit: 100
July 31, 2013, 09:18:51 AM
#5
A secondary question:  If the client has been restarted and is legitimately catching up blocks can it still add a new block to the chain?

Nope, as you don't have all the parameters required.

Thanks again Minerapia that's pretty much what I thought.  If I could just test your patience finalise this.  When mining I use a stratum pool as a failover pool to my solo client on cgminer.  Cgminer is pretty smart and even if the startum pool is not active it still uses the pool stratum to detect new blocks.  I've noticed that if I restart the client and it is the active pool but still catching up blocks that new block notifications from the stratum pool are logged.  Do the new block notifications from the stratum contain the required parameters for cgminer to solve blocks and add them?
full member
Activity: 168
Merit: 100
July 31, 2013, 08:08:25 AM
#4
A secondary question:  If the client has been restarted and is legitimately catching up blocks can it still add a new block to the chain?

Nope, as you don't have all the parameters required.
full member
Activity: 150
Merit: 100
July 31, 2013, 07:36:05 AM
#3
I presume the client update was to steer ppl back onto same chain (using checkpoints) or something other that forked the chain.
Youre client receives message from bad node saying it has more blocks that you, but because of the checkpoints your client wont download those blocks.
Thats why you are out of sync (or actually youre wallet only thinks it is because someone says he has more blocks than you have in youre chain).
Out of sync condition removes after shorter chain passes the longer one.

It doesnt affect mining at all (if you are on the right chain).


Thanks.  You're right - there was a new client released which I installed.

A secondary question:  If the client has been restarted and is legitimately catching up blocks can it still add a new block to the chain?
full member
Activity: 168
Merit: 100
July 31, 2013, 06:44:18 AM
#2
I presume the client update was to steer ppl back onto same chain (using checkpoints) or something other that forked the chain.
Youre client receives message from bad node saying it has more blocks that you, but because of the checkpoints your client wont download those blocks.
Thats why you are out of sync (or actually youre wallet only thinks it is because someone says he has more blocks than you have in youre chain).
Out of sync condition removes after shorter chain passes the longer one.

It doesnt affect mining at all (if you are on the right chain).
full member
Activity: 150
Merit: 100
July 31, 2013, 04:25:32 AM
#1
I've been searching posts and have read the "Satoshi Client Operation" posts but cannot find the answer to my question.  I have experienced the recent Terracoin attack and one of the symptoms after the fork was fixed was that the network had clients that still were on the wrong blockchain which confused the wallet I was using for mining.  In the debug window it showed "Last block time" as always being up to date but it was seeing higher block numbers from clients on the wrong blockchain and so was reporting "Out of Sync" in the main window.

This condition would come and go with the wallet going in and out of sync (but the "Last block time" was always current).  There was a recent post that suggested shutting down connections with the clients on the wrong chain based on startingheight which only worked temporarily for me as the client eventually found bad nodes again.  I've started mining on digitalcoin and have noticed the same thing.

Am I correct that wallets get confused by nodes on bad forks?   

Also, as I use the wallet for solo mining then If I solve a block then will the wallet add it to the blockchain if it is out of sync?
Jump to: