Peercoin time grinding

Interesting reading on NXT forum about peercoin security:

https://nxtforum.org/general-discussion/neucoin’s-40-page-white-paper-rebuts-all-nothing-at-stake-objections/msg174466/#msg174466

Could someone explain koubiac’s answer below more in details, specifically the second point? Why would nodes work on another blockchain fork rather the one they just accepted? I understand that a fork with 6 blocks will win over one with just one block.

Let's take Peercoin's example to study this possibility.

If the block generated has a timestamp that is larger than current adjusted time + max clock drift (max clock drift =2h in Peercoin) then the block is rejected by the node. ( github.com/ppcoin/ppcoin/blob/master/src/main.cpp#L1889 )

Now let’s suppose the attacker only shifts his timestamp and finds a valid proof only 1 hour in the future. He broadcasts this block which gets accepted by the network. However, in average, the rest of the network will be finding ~6 blocks within one hour so users can continue working on the previous block and the attacker’s block will get orphaned.

Thanx in advance.

I think it was already discussed in this thread: https://www.peercointalk.org/index.php?topic=3931.0

Thanx for the link ppcman, I’ll have to re-read that thread because it’s still not perfectly clear in my head yet :wink:

We should try to write down a detailed attack scenario and see how it goes. The wiki should be a perfect fit for that.

EDIT: wiki page here: https://wiki.peercointalk.org/index.php?title=Timedrift_exploit_scenario