and something is wrong, because i cannot resync the blockchain, i got error for a valid blocks, i dunno why.
I appreciate you tending to this matter with the pool!
What error are you getting?
Anything that sticks out in the debug.log?
Also, you are welcome to collaborate with the entire DEV team at slack in real time to get this resolved as quickly as possible: https://roicoin.slack.com/
2017-12-18 15:54:12 GetInterest: chainHeight: 25107 lockHeight: 25108 principal: 658937511102 interest: 599999999999999999 pos: 599999999999999999 deposit: 0 matureblock: -1
2017-12-18 14:59:06 ERROR: ConnectBlock(): coinbase pays too much (actual=12000026295 vs limit=-8247046041092357871)
2017-12-18 14:59:06 Misbehaving: 52.211.179.241:3377 (0 -> 100) BAN THRESHOLD EXCEEDED
2017-12-18 14:59:06 InvalidChainFound: invalid block=000002de5d8936b2d20e57afff2a751eb4b688c370bff0f79f6d28c16853971d height=25108 log2_work=38.786675 date=2017-12-18 14:59:00
2017-12-18 14:59:06 InvalidChainFound: current best=000001238bc5ca1da36953a946b5be09763bbcaa2280cbff19ece5513f21f378 height=25107 log2_work=38.786658 date=2017-12-18 14:43:04
2017-12-18 14:59:06 ERROR: ConnectTip(): ConnectBlock 000002de5d8936b2d20e57afff2a751eb4b688c370bff0f79f6d28c16853971d failed
2017-12-18 14:59:06 InvalidChainFound: invalid block=000002de5d8936b2d20e57afff2a751eb4b688c370bff0f79f6d28c16853971d height=25108 log2_work=38.786675 date=2017-12-18 14:59:00
2017-12-18 14:59:06 InvalidChainFound: current best=000001238bc5ca1da36953a946b5be09763bbcaa2280cbff19ece5513f21f378 height=25107 log2_work=38.786658 date=2017-12-18 14:43:04
limit is always different, looks like a variable is uninitialized somewhere.
edit: found it:
https://github.com/ROIcoin/ROIcoin/blob/master/src/primitives/transaction.cpp#L210-L221
the for loop doesnt make sense. result is always overwritten by new value. and if periods == 0, no loop running, so result variable is uninitialized.