bitcoinj port for MagCoin