ported to ppcoin