Peercoin v0.5.0 RC1 builds ready for testing

http://sourceforge.net/projects/ppcoin/files/0.5.0%20RC1/

Testnet protocol switch to v0.5 is scheduled for Monday Nov 16.

Note these builds are for v0.5 testnet deployment only, not intended for production yet. Also it DOES NOT address the blockchain fork issue that we are currently working on. If you are impacted by blockchain fork issue on the mainnet, please wait for our announcement on v0.4.1 release in the general forum.

Nice! Thanks for it SunnyKing! I will be following this project very closer! ;D

I am glad finally development is moving on again. Will now probably be here more frequently again ;).

Testnet protocol is switching to v0.5 today. If you are running testnet node, please upgrade to v0.5.0 RC1.

Testnet protocol has switched. Please report any issue in this thread.

bin/ppcoind -testnet getinfo

{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,

“blocks” : 181569,
“moneysupply” : 190482055.99040201,

}

bin/ppcoind -testnet getblockhash 181569

9be7dee248fc2c78c0ddde08659b60b9009c55d9c4d1a4bec65fbdd6169ebd39

[quote=“Sunny King, post:6, topic:3692”]# bin/ppcoind -testnet getinfo
{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,

“blocks” : 181569,
“moneysupply” : 190482055.99040201,

}

bin/ppcoind -testnet getblockhash 181569

9be7dee248fc2c78c0ddde08659b60b9009c55d9c4d1a4bec65fbdd6169ebd39[/quote]


{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“blocks” : 181667,
“moneysupply” : 190694952.85040200,
“connections” : 6,
“difficulty” : 1.10451006,
“testnet” : true,
“keypoololdest” : 1447797984,
“keypoolsize” : 101,
“paytxfee” : 0.00000000,
“errors” : “”
}
getblockhash 181569
9be7dee248fc2c78c0ddde08659b60b9009c55d9c4d1a4bec65fbdd6169ebd39

getblockhash 181667
1311902b307cbfa33f77a5e752cfc2c3f2f9174d1cc49c902265c9d6aea2e288

on windows 7 machine looks like same chain and all good so far :slight_smile:

Fuzzybear

Here on Win7 looks the same as SK.

getblockhash 181677
fdda8111165f519106207e854fec2404eeb3517cddead54d4eb65cab62bfe51f
getblockhash 181569
9be7dee248fc2c78c0ddde08659b60b9009c55d9c4d1a4bec65fbdd6169ebd39

On my Raspberry Pi.

{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“balance” : xxx,
“newmint” : 0.00000000,
“stake” : 0.00000000,
“blocks” : 117811,
“moneysupply” : 136080198.38375801,
“connections” : 6,
“proxy” : “”,
“ip” : “xxx”,
“difficulty” : 0.06523843,
“testnet” : true,
“keypoololdest” : 1398527065,
“keypoolsize” : 101,
“paytxfee” : 0.01000000,
“errors” : “WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline.”
}

Since it is just a warning, i will try not to redownload the full b-chain.

Also on Win7. Looks all good from here. Minting also works as expected.

16:11:55
{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“balance” : xxx,
“newmint” : 0.00000000,
“stake” : xxx
“blocks” : 182011,
“moneysupply” : 191405984.93040201,
“connections” : 3,
“proxy” : “”,
“ip” : “xxx”,
“difficulty” : 0.87447626,
“testnet” : true,
“keypoololdest” : 1447575863,
“keypoolsize” : 201,
“paytxfee” : 0.01000000,
“unlocked_until” : 1457560434,
“errors” : “”
}

16:13:51 getblockhash 181677

16:13:51 fdda8111165f519106207e854fec2404eeb3517cddead54d4eb65cab62bfe51f

16:14:08 getblockhash 181569

16:14:08 9be7dee248fc2c78c0ddde08659b60b9009c55d9c4d1a4bec65fbdd6169ebd39

[quote=“mhps, post:9, topic:3692”]On my Raspberry Pi.

{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“balance” : xxx,
“newmint” : 0.00000000,
“stake” : 0.00000000,
“blocks” : 117811,
“moneysupply” : 136080198.38375801,
“connections” : 6,
“proxy” : “”,
“ip” : “xxx”,
“difficulty” : 0.06523843,
“testnet” : true,
“keypoololdest” : 1398527065,
“keypoolsize” : 101,
“paytxfee” : 0.01000000,
“errors” : “WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline.”
}

Since it is just a warning, i will try not to redownload the full b-chain.[/quote]

i had same problem with client running 0.5 code for a week before the switch, problem with this warning is that it means you are running in safe mode, which in turn means you won’t be able to run many rpc commands. I am not sure whether this warning will disappear by itself, judging by code, it’s triggered when some transaction in your database is not version 0.5

can anyone shed some light into the matter? will the warning go away by itself? why do we have to redownload blockchain?

[quote=“backpacker69, post:11, topic:3692”][quote=“mhps, post:9, topic:3692”]On my Raspberry Pi.

{
“version” : “v0.5.0ppc.rc1-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“balance” : xxx,
“newmint” : 0.00000000,
“stake” : 0.00000000,
“blocks” : 117811,
“moneysupply” : 136080198.38375801,
“connections” : 6,
“proxy” : “”,
“ip” : “xxx”,
“difficulty” : 0.06523843,
“testnet” : true,
“keypoololdest” : 1398527065,
“keypoolsize” : 101,
“paytxfee” : 0.01000000,
“errors” : “WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline.”
}

Since it is just a warning, i will try not to redownload the full b-chain.[/quote]

i had same problem with client running 0.5 code for a week before the switch, problem with this warning is that it means you are running in safe mode, which in turn means you won’t be able to run many rpc commands. I am not sure whether this warning will disappear by itself, judging by code, it’s triggered when some transaction in your database is not version 0.5

can anyone shed some light into the matter? will the warning go away by itself? why do we have to redownload blockchain?[/quote]
It will be because you have not fully downloaded the blockchain yet… look at …

blocks" : 117811

compared to the blockcount of 181667 that I was giving.

Download the whole blockchain, restart client if needed once complete or if it hangs on a block and stops downloading. If still error / warning message then yes port here, otherwise this is a false positive error message.

Fuzzybear

[quote=“FuzzyBear, post:12, topic:3692”]It will be because you have not fully downloaded the blockchain yet… look at …

blocks" : 117811

compared to the blockcount of 181667 that I was giving.

Download the whole blockchain, restart client if needed once complete or if it hangs on a block and stops downloading. If still error / warning message then yes port here, otherwise this is a false positive error message.[/quote]

I downloaded the full b-chain and everything seemed OK until I tried to run “ppcoind getblockhash 181677” , when all I got was the error message above.

So I redownloaded the full b-chain and now I can get the hash fdda…

But the debug.log has this almost 30% of the time

sending getdata: block 2288fbfa9cb14ca78230
received block 2288fbfa9cb14ca78230
ERROR: CheckProofOfStake() : INFO: check kernel failed on coinstake 4b11d04764b3
68bda2255cadb4380257dc6815b96492385a62156d2c0cd1c2b3, hashProof=bd0db884df199849
57f522b3526c7b7560a9cc558fd433cafed8de75a3191b84
WARNING: ProcessBlock(): check proof-of-stake failed for block 2288fbfa9cb14ca78
23020876c687596078bc3b9287c52cd1f6b66803111c097

Do others get this?

xxx@debian:~/ppcoin-master/src$ ./ppcoind  getinfo
{
    "version" : "v0.5.0ppc.rc1-dirty-beta",
    "protocolversion" : 60005,
    "walletversion" : 60000,
    "balance" : 76385.72000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 182426,
    "moneysupply" : 192535714.50040200,
    "connections" : 8,
    "proxy" : "",
    "ip" : "xxxx",
    "difficulty" : 0.78643258,
    "testnet" : true,
    "keypoololdest" : 1446812257,
    "keypoolsize" : 102,
    "paytxfee" : 0.01000000,
    "errors" : "WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline."
}
xxx@debian:~/ppcoin-master/src$ ./ppcoind getblockhash 181677
error: {"code":-2,"message":"Safe mode: WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline."}

i’ve restarted couple of times, but still stuck in safe mode.

i’ll leave it on, but it doesn’t seem like the message is going away… question is why

[quote=“mhps, post:13, topic:3692”]…
So I redownloaded the full b-chain and now I can get the hash fdda…

But the debug.log has this almost 30% of the time

sending getdata: block 2288fbfa9cb14ca78230
received block 2288fbfa9cb14ca78230
ERROR: CheckProofOfStake() : INFO: check kernel failed on coinstake 4b11d04764b3
68bda2255cadb4380257dc6815b96492385a62156d2c0cd1c2b3, hashProof=bd0db884df199849
57f522b3526c7b7560a9cc558fd433cafed8de75a3191b84
WARNING: ProcessBlock(): check proof-of-stake failed for block 2288fbfa9cb14ca78
23020876c687596078bc3b9287c52cd1f6b66803111c097

Do others get this?[/quote]

of course i get that as well, that’s because many people still haven’t upgraded from 0.4.0 and every now and then you get their blocks. I wonder if that’s what causing the stall of the synchronisation of blockchain. shouldn’t we retry getting the blocks from other peers?

[quote=“backpacker69, post:14, topic:3692”] xxx@debian:~/ppcoin-master/src$ ./ppcoind getblockhash 181677 error: {"code":-2,"message":"Safe mode: WARNING: Blockchain redownload recommended approaching or past v0.5 upgrade deadline."}

i’ve restarted couple of times, but still stuck in safe mode.

i’ll leave it on, but it doesn’t seem like the message is going away… question is why[/quote]

I solved the problem by deleting blk* database/* and redownloading teh blockchain.

Please tell me how to transfer newmint to balance amount

“version” : “v0.5.1ppc.rc2-beta”,
“protocolversion” : 60005,
“walletversion” : 60000,
“balance” : 0.00000000,
“newmint” : 68.14000000,
“stake” : 0.00000000,
“blocks” : 222517,
“moneysupply” : 23000627.09415700,
“connections” : 8,
“proxy” : “”,
“ip” : “xx.xx.xx.xx”,
“difficulty” : 462137220.19456118,
“testnet” : false,
“keypoololdest” : 1455620454,
“keypoolsize” : 101,
“paytxfee” : 0.01000000,
“errors” : “”

wait for 520 blocks.