INCIDENT: Peerunity fork

I have a R-pi running ppcoind. It has “Fail to reorg” in debug.log. How do I know it is on the right chain?

https://coinplorer.com/PPC and https://bitinfocharts.com/ppcoin/explorer/ are on the correct chain. If you run getinfo you can compare the block height.

https://coinplorer.com/PPC and https://bitinfocharts.com/ppcoin/explorer/ are on the correct chain. If you run getinfo you can compare the block height.[/quote]

coinplorer and bitinfocharts don’t agree with each other (for example check block 234618 on both ). bitinfocharts seems to have stopped updating after 234618.

I have downloaded the whole blockchain after upgraded to 0.2.1 perrunity. Now my client doesn’t agree with coinplorer.

When there was the fork, did all peerunity node go to the wrong fork? After downloading I find my client was on the same chain.

You have these issues due to bad connectivity to other nodes on the correct chain. Network connectivity will improve as more nodes update their software and get on the correct chain. On https://bitinfocharts.com/ppcoin/nodes-active/ you can get IP addresses for Peercoin 0.5.3 and Peerunity 0.2.1 nodes. Add ten of them to ppcoin.conf, with addnode= in front of the IP, to get good network connectivity. Now delete the local blockchain before you start the client. After this you should not have any issues.

It didn’t help. My two nodes are stuck on different block numbers: 234679 and 234699
I think the ppc network is broken right now. I decided to stop my pool until situation is solved.

Remember to delete everything in your datadir except wallet.dat and ppcoin.conf before you start re-downloading.

Put this node on the top line in your ppcoin.conf:

addnode=178.248.97.26

I know for a fact that it is synced and will stay online.

I myself have one staking node with version 0.5.3 running, that is connecting to a peer with old software version, but I do not have configured this peer in the ppcoin.conf file (there is a list with version 60006 peers). How can I hinder this peer to connect to me?

The “getpeerinfo” command is showing this information:

{ "addr" : "93.113.101.229:9901", "services" : "00000001", "lastsend" : 1462292713, "lastrecv" : 1462292705, "conntime" : 1462292702, "version" : 60004, "subver" : "/Satoshi:0.6.3/Peercoin:0.4.0/Peerunity:0.1.3(v0.1.3-RC1-2-gb53729b)/", "inbound" : false, "releasetime" : 0, "height" : 233918, "banscore" : 0 },

there are nodes on the network that are stuck on checkpoint 000000000000000259a871194d975abf447b34f688969f11b37da41028c96b6c and on block height 234721, what’s more strange is that they are reporting versions as Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta) and Satoshi:0.6.3/Peercoin:0.5.0/Peerunity:0.2.1(v0.2.1)

How can that be? Why don’t they get latest checkpoints of which there are plenty? don’t sync checkpoints travel from inbound connections as well?

Downloaded the Blockchain 4 times, made sure I was connected to nodes on the current block, stops at 234612, current block is 234769… how do you get this POS Peerunity wallet to come up to date?!? ::slight_smile: :angry:

Going to point my 55TH back at BTC until the developers figure out a fix…

[quote=“sandakersmann, post:27, topic:3875”]Put this node on the top line in your ppcoin.conf:

addnode=178.248.97.26

I know for a fact that it is synced and will stay online.[/quote]

Sadly it didn’t help. I re-downloaded blockchain. Issue is still there. Wallet stuck on block 234679

Ok so I have tried 10 times now without luck. My last attempt was 1 connection to only
[
{
“addr” : “178.248.97.26”,
“services” : “00000001”,
“lastsend” : 1462308757,
“lastrecv” : 1462308758,
“conntime” : 1462302764,
“version” : 60006,
“subver” : “/Satoshi:0.6.3/Peercoin:0.5.3(v0.5.3ppc-beta)/”,
“inbound” : false,
“releasetime” : 0,
“height” : 234873,
“banscore” : 0
}
]

That node has the full chain but I am constantly stopped at “blocks” : 234612,

I have deleted my content everytime I try and it never gets past that number no matter what I do. I have also installed both Peerunity and PPcoin from source and neither will make it past that block.

Can I please get some advice.

[quote=“sandakersmann, post:27, topic:3875”]Put this node on the top line in your ppcoin.conf:

addnode=178.248.97.26

I know for a fact that it is synced and will stay online.[/quote]

This did not help me either I am still stuck at 234612. Fresh download deleted everything just to make sure (wallet.dat backed up)

Add this to ppcoin.conf:

connect=31.178.239.144
connect=51.9.56.81
connect=62.163.212.157
connect=78.8.188.249
connect=93.80.182.24
connect=104.236.180.129
connect=107.170.43.92
connect=107.170.209.76
connect=113.17.90.227
connect=128.199.159.68
connect=142.4.218.174
connect=146.185.137.249
connect=149.210.215.250
connect=158.69.225.143
connect=176.9.16.102
connect=176.31.122.170
connect=178.62.105.210
connect=178.248.97.26
connect=192.95.56.199
connect=198.15.127.242
connect=198.245.63.205

Then delete addr.dat in the datadir and start the client.

In the console I checked the output of command “getpeerinfo” against fields “subver” and “height”, and added the corresponding nodes with entry “addnode=” into my ppcoin.conf file. Since I use 3 different IPs, I have connected to enough well working nodes now.

Adding those nodes to ppcoin.conf didn’t help.
My 3rd node is still stuck on block 234612

2016-05-03 21:10:54 UTC REORGANIZE
2016-05-03 21:10:54 UTC REORGANIZE: Disconnect 0 blocks; ac866f8336f7689c3ec7…ac866f8336f7689c3ec7
2016-05-03 21:10:54 UTC REORGANIZE: Connect 1 blocks; ac866f8336f7689c3ec7…e8bd8a656a00966eb873
2016-05-03 21:10:54 UTC ERROR: ConnectInputs() : 9c125157e9 VerifySignature failed
2016-05-03 21:10:54 UTC ERROR: Reorganize() : ConnectBlock e8bd8a656a00966eb873 failed
2016-05-03 21:10:54 UTC InvalidChainFound: invalid block=2f8ec7564d642bf9d78c height=234885 trust=8248336769480294
2016-05-03 21:10:54 UTC InvalidChainFound: current best=ac866f8336f7689c3ec7 height=234612 trust=8241480755813972
2016-05-03 21:10:54 UTC ERROR: SetBestChain() : Reorganize failed
2016-05-03 21:10:54 UTC ERROR: AcceptBlock() : AddToBlockIndex failed
2016-05-03 21:10:54 UTC ERROR: ProcessBlock() : AcceptBlock FAILED

Let it run for a while and see what happens. What system are you on?

Windows.
I build ppcoind from sources on github. I’m using is this version : https://github.com/ppcoin/ppcoin/commit/f01ccea4b515ce6e01f4a50cc6b50a4f3337c7ee
There were some commits after that. They seem to be cosmetic but maybe they introduced something important?

[quote=“sandakersmann, post:34, topic:3875”]Add this to ppcoin.conf:

connect=31.178.239.144
connect=51.9.56.81
connect=62.163.212.157
connect=78.8.188.249
connect=93.80.182.24
connect=104.236.180.129
connect=107.170.43.92
connect=107.170.209.76
connect=113.17.90.227
connect=128.199.159.68
connect=142.4.218.174
connect=146.185.137.249
connect=149.210.215.250
connect=158.69.225.143
connect=176.9.16.102
connect=176.31.122.170
connect=178.62.105.210
connect=178.248.97.26
connect=192.95.56.199
connect=198.15.127.242
connect=198.245.63.205

Then delete addr.dat in the datadir and start the client.[/quote]

Thanks sandakersmann I am downloading the blocks again Ill let you know how it goes

Good :slight_smile: