adaseb:
Enable "issues" feature on github repository (done via "repository settings").
To all:
Guys, instead of spamming blockchain, please, create issues on github. It is more appropriate place where we all can discuss technical details, features and fixes.
This forum is a way uncomfortable to talk about code.
xiphonCan you explain how to reproduce the bug on your issue report on github, seems orig pascal dev is blind. We can make pascal lite better. Your stash is enough i think. Its now time to fix this bug.
First, to reproduce that your hashrate need to be as tenths of percents of total network hashrate (even with 20-30% you will have good chances to reproduce).
1. Sync blockchain with the network
2. Stop receiving blockchain updates from the network (this can be done manually or by mistake or by bad connection etc.)
3. Mine continuous bunch of blocks (2, 3 .. 10 how much you want)
4. At the timepoint when you see that your personal blockchain is higher than network blockchain start announcing to other nodes that you are having bigger block index than they have
5. Other nodes will download your blockchain making original blockchain orphaned
6. Now you are replaced ("injected") your blocks
So it is basically the same 51% problem.
I don't think that anyone had produced that situation deliberately. Miners that were able to do that had to have really big hashrate and a bad connection (?) (or some other sync issues) was more than enough.
As for timestamps that are equal to previous block's timestamp. Inspected the code. Yeah, as PascalCoin dev said, it is just a fun, nothing else. Someone used custom mining software that producing blocks in a such way. And forging blocks in a such manner will lead to difficulty increase more roughly. So no profit here at all.