Pages:
Author

Topic: [ANN] [V] Version - Rare Desirable NO PREMINE Store of Value -->> v0.8.9.9 FIX - page 33. (Read 71663 times)

member
Activity: 70
Merit: 10
Crypto Craftsman
The hardcoded stake modifier checkpoints need to be updated.  I am doing that now.
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)
And I really can't do much of anything if I'm not on my developer workstation, where I can debug the code. And the problem is that I won't be able to get to it before a couple of hours...

I can read that the checksum is different that it was supposed to be, but I can't verify the cause without debugging it.
I'm raising hands and waiting for the developer.

Staycrypto, if there's anything I can do to help, pm me.
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)
and the community :-)

That goes without saying. I was just typing fast in order to get back to the code. I apologize if my post didn't look good.
hero member
Activity: 490
Merit: 500
0_0
I can't debug from where I am right now, but:

main.cpp
Code:
    if (!ComputeNextStakeModifier(pindexNew->pprev, nStakeModifier, fGeneratedStakeModifier))
        return error("AddToBlockIndex() : ComputeNextStakeModifier() failed");
    pindexNew->SetStakeModifier(nStakeModifier, fGeneratedStakeModifier);
    pindexNew->nStakeModifierChecksum = GetStakeModifierChecksum(pindexNew);
    if (!CheckStakeModifierCheckpoints(pindexNew->nHeight, pindexNew->nStakeModifierChecksum))
        return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindexNew->nHeight, nStakeModifier);


kernel.cpp
Code:
bool CheckStakeModifierCheckpoints(int nHeight, unsigned int nStakeModifierChecksum)
{
    if (fTestNet) return true; // Testnet has no checkpoints
    if (mapStakeModifierCheckpoints.count(nHeight))
        return nStakeModifierChecksum == mapStakeModifierCheckpoints[nHeight];
    return true;
}


In other words: The stakehash produced by the mined block is not what it should be, erroring out the code.
Didn't read again the code that generates that checksum, I'm doing it as I post this.
I will continue to examine the code in order to help the developer and the coin.
and the community :-)
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)
I can't debug from where I am right now, but:

main.cpp
Code:
    if (!ComputeNextStakeModifier(pindexNew->pprev, nStakeModifier, fGeneratedStakeModifier))
        return error("AddToBlockIndex() : ComputeNextStakeModifier() failed");
    pindexNew->SetStakeModifier(nStakeModifier, fGeneratedStakeModifier);
    pindexNew->nStakeModifierChecksum = GetStakeModifierChecksum(pindexNew);
    if (!CheckStakeModifierCheckpoints(pindexNew->nHeight, pindexNew->nStakeModifierChecksum))
        return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindexNew->nHeight, nStakeModifier);


kernel.cpp
Code:
bool CheckStakeModifierCheckpoints(int nHeight, unsigned int nStakeModifierChecksum)
{
    if (fTestNet) return true; // Testnet has no checkpoints
    if (mapStakeModifierCheckpoints.count(nHeight))
        return nStakeModifierChecksum == mapStakeModifierCheckpoints[nHeight];
    return true;
}


In other words: The stakehash produced by the mined block is not what it should be, erroring out the code.
Didn't read again the code that generates that checksum, I'm doing it as I post this.
I will continue to examine the code in order to help the developer and the coin.
member
Activity: 70
Merit: 10
Crypto Craftsman
mindfox, thank you, I believe you have identified a root cause.  I am turning around another patch now.

As far as checkpoints go, with a PPCoin based PoS coin, there are hard checkpoints with spacing that right now is 10 days.  It usually won't stop the network in its tracks but you will get the annoying message until the dev updates the code.  I will probably look at moving that out to something more manageable.

I also noticed that block 19080 is apparently quite a large block, probably because of all the transactions backing up into it.

I'm on it.
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)

But other coins don't stop block generation when they hit those checkpoints, requiring everybody to download new wallets/daemons in order for the blockchain to continue.

You still got it wrong. It's not the checkpoints that made it stop working. Even if it was due to that fact, the wallet should have start working since there are users (like zeuspool or other wallets) that have updated.
We should be able to go beyond that, but we're not.
The problem is elsewhere. Please let's give some space to the developer to fix this issue.
hero member
Activity: 490
Merit: 500
0_0

Will see, but I doubt that will help.  800 GH/s is more than enough to solve 1 block in 4 hours with the current diff of 33001.40430142.
I agree with sunofblast. He should be able to find blocks with his new client and the pools would have just rejected them. But he should be able to see the blocks
Something else is going on.

Here is where I think the problem lies:
Code:
  vMerkleTree:
2014-03-05 20:26:02 UTC generated 4.00
ProcessBlock: nHeight: 19080
Difficulty Retarget - Kimoto Gravity Well
PastRateAdjustmentRatio = 0.947312
Before: 1b01fc5f 000000000001fc5f000000000000000000000000000000000000000000000000
After: 1b01fc6e 000000000001fc6e25d42259675afabe930023cdc349fc308be220510e44c81a
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=19080, modifier=0xfa8e81623ecb5f87
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted

he didn't say he doesn't see the blocks. he said he doesn't solve them.
hero member
Activity: 700
Merit: 500

Why would you have hard-coded checkpoints that stop block generation?  Is this issue going to come up again?

This is not the issue, you got it wrong.

All coins have checkpoints, so the wallet can check blocks that are reliable (to avoid hard forking).
He did well to update the checkpoints. My previous post gives a heads-up to the developer what to check

But other coins don't stop block generation when they hit those checkpoints, requiring everybody to download new wallets/daemons in order for the blockchain to continue.
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)

Why would you have hard-coded checkpoints that stop block generation?  Is this issue going to come up again?

This is not the issue, you got it wrong.

All coins have checkpoints, so the wallet can check blocks that are reliable (to avoid hard forking).
He did well to update the checkpoints. My previous post gives a heads-up to the developer what to check
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)
From source code (main.cpp)

Code:
// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map mapStakeModifierCheckpoints =
    boost::assign::map_list_of
    ( 0, 0x0e00670bu )
    ( 19080, 0xad4e4d29u )
    ( 30583, 0xdc7bf136u )
    ;

My guess is that 19080 should be another kind of block, but it's normal so it's not accepted.
hero member
Activity: 700
Merit: 500
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

Why would you have hard-coded checkpoints that stop block generation?  Is this issue going to come up again?
sr. member
Activity: 280
Merit: 250
Donate to put a smile on my face :)

Will see, but I doubt that will help.  800 GH/s is more than enough to solve 1 block in 4 hours with the current diff of 33001.40430142.
I agree with sunofblast. He should be able to find blocks with his new client and the pools would have just rejected them. But he should be able to see the blocks
Something else is going on.

Here is where I think the problem lies:
Code:
  vMerkleTree:
2014-03-05 20:26:02 UTC generated 4.00
ProcessBlock: nHeight: 19080
Difficulty Retarget - Kimoto Gravity Well
PastRateAdjustmentRatio = 0.947312
Before: 1b01fc5f 000000000001fc5f000000000000000000000000000000000000000000000000
After: 1b01fc6e 000000000001fc6e25d42259675afabe930023cdc349fc308be220510e44c81a
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=19080, modifier=0xfa8e81623ecb5f87
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted
hero member
Activity: 490
Merit: 500
0_0
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

I would say there is another problem here.  I had 800 GH pointed at this solo mining and previous to block 19079 I was solving a block every 4 to 5 minutes.  And now, nothing for several hours, humm?
I think you should wait too, until pools update so everything will be able to move


Will see, but I doubt that will help.  800 GH/s is more than enough to solve 1 block in 4 hours with the current diff of 33001.40430142.
that must be a problem with the whole network (including you) :-)
full member
Activity: 151
Merit: 100
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

I would say there is another problem here.  I had 800 GH pointed at this solo mining and previous to block 19079 I was solving a block every 4 to 5 minutes.  And now, nothing for several hours, humm?
I think you should wait too, until pools update so everything will be able to move


Will see, but I doubt that will help.  800 GH/s is more than enough to solve 1 block in 4 hours with the current diff of 33001.40430142.
hero member
Activity: 490
Merit: 500
0_0
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

I would say there is another problem here.  I had 800 GH pointed at this solo mining and previous to block 19079 I was solving a block every 4 to 5 minutes.  And now, nothing for several hours, humm?
I think you should wait too, until pools update so everything will be able to move
full member
Activity: 151
Merit: 100
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

I would say there is another problem here.  I had 800 GH pointed at this solo mining and previous to block 19079 I was solving a block every 4 to 5 minutes.  And now, nothing for several hours, humm?
hero member
Activity: 490
Merit: 500
0_0
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.
if a pool doesn't update a coin stays blocked for ever?
sr. member
Activity: 448
Merit: 250
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.

Zeuspool is doing this now.

member
Activity: 70
Merit: 10
Crypto Craftsman
I have posted the updated wallet v0.8.1 with updated checkpoints and Qt color tweaks:

https://mega.co.nz/#!lYUVlLoZ!TT5qM7oM1vt9D3bxb6tNfVsIvx2zVMiWWyHHfGGaMp8

Source code is also updated in github, please pull, build and update with the latest:

https://github.com/staycrypto/version


still on block 19079
Pools need to update so the network gets moving again.
Pages:
Jump to: