-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaxCoin 0.9.2.x wont synchronize #47
Comments
There is still something I cannot explain with 79659c8. If I stop the wallet then restart, it stops syncing. The error looks like this (I have extended the log message a little):
The block is coming from another known node running the same version. This means that for stored blocks 603559 and below KGW returns nBits 453887681 while running nodes have it at 454510829. I have checked stored blockchain on restarted node for 5-6 steps in depth and blocks match those on running nodes, so active chain must be stored correctly. |
I am experiencing the same issue with my wallet. I stopped it at 603553, where it was syncing correctly, restarted and got an incorrect proof of work error on 603554. The block was accepted by other nodes as seen at http://maxcoin.co.uk:2750/block/00000000000aa676f0b1d47a6f0eaed649a3b1b0c6afc189e2c8b839180bcd40
|
After running some more tests I have found this:
This is alarming as it seems to suggest that 30s blocks are being accepted when reindexing and that 30s is used as the requisite interval. The nBits for the previous block, the last one accepted by my client, here, also has the 30s nBits value.
|
This makes no sense to me tbh:
The prevblock height is well above BLOCK_HEIGHT_FORK3 and GetNextWorkRequired_V2 should have called KGW with 60 seconds target anyway? |
Does this line looking like a noop have any special meaning? https://github.com/Max-Coin/maxcoin/blob/master/src/main.cpp#L1216 |
Does that mean we'll have to --reindex on every reboot ?? Le 06/09/2014 21:32, Luke a écrit :
|
@repsorp no, we'll find a fix! @reorder I don't think so (see Megacoin code here). The KGW code is pretty messy and there's a few places that commonly are unused. The As for your first comment, it makes no sense to me either. As you can see from my KGW port I set the target time based upon the block height (above or below 600k) so I have no idea why 30s blocks are being accepted beyond it. I'm reindexing once more with some more debugging information to try and track down the problem. I guess what I'll have to do is hard fork again with the next release and set all blocks past that point to 60s, ensuring that the rule is followed this time. |
I think the |
Very likely to be true. In fact, default |
Yeah I have done. If the reindex stops at block 600k then I'll know this is the reason. I think what's happening is the value is being determined the first time it is seen - at 60s for any node started above 600k and at 30s for any node below, including one reindexing. |
Indeed! Great find Luke! It was right there in our face all this time :) |
0.9.2 nodes still cannot communicate with 0.9.3. This is the error message on 0.9.2 side:
|
@reorder 0.9.3.1 has just been released, it solves this problem |
@lukem512 Sorry, still the same error (only message len is 106 bytes now) |
Are you testing this on your 0.9.2 wallet? I have connections to several from 0.9.3.1
|
I was connecting to 0.9.2 (not .1) - the version that the pool is running. I have now added 203.67.219.15 and it works with 0.9.3.1 indeed. |
Great to hear. Has 1gh.com updated then? |
Not yet, I have to ensure it synchronizes and then works properly first. |
Okay then. I hope it all goes smoothly |
Actually I now get the same error for version message from mentioned host on my side:
|
Eventually 0.9.3 nodes are found and provide sync source, so I have upgraded nodes successfully. 0.9.2 still appears to be incompatible with 0.9.3, but this is probably not so important at this point. |
0.9.2.x wallets will synchronize and continue to do so if the steps at http://maxcoinnews.net/maxcoin-0-9-2-1-release/ are followed; stopping and restarting the wallet will leave it stuck, however.
The text was updated successfully, but these errors were encountered: