I have created a altcoin using the reference of LTC and already 170k blocks were formed. Now i want to change the conformation time as well as i want the difficulty to start from base difficulty.Basically i want to Hard fork the coin, & for that i recompiled the the code with new parameters and started the daemon.
And now i dont think the approach i took is leading me to proper direction as:
1)I am not at all able to bring the difficulty down to base difficulty. (according my new code,difficulty shoud get adjusted after each block) &
2) some of the new node could not even get the copy of ledger even after they are connected to pre existing healthy nodes.
2018-06-12 09:14:49 nActualTimespan = 0 before bounds 2018-06-12 09:14:49 GetNextWorkRequired RETARGET 2018-06-12 09:14:49 nTargetTimespan = 15 nActualTimespan = 3 2018-06-12 09:14:49 Before: 1e0ffff0 00000ffff0000000000000000000000000000000000000000000000000000000 2018-06-12 09:14:49 After: 1e033330 0000033330000000000000000000000000000000000000000000000000000000 2018-06-12 09:14:49 ERROR: AcceptBlock() : incorrect proof of work 2018-06-12 09:14:49 ERROR: ProcessBlock() : AcceptBlock FAILED
Can someone tell me is there other way by which i can Hardfork a altcoin. Or can someone suggest me what my next step could be