modified for supporting MediterraneanCoin and HybridScryptHash256 PoW algorithm