private Transaction deserializeTransaction(byte[] arg0) { Transaction rcvdTx = null; BitcoinSerializer bs = new BitcoinSerializer(params, false); try { rcvdTx = bs.makeTransaction(arg0); } catch (ProtocolException e) { e.printStackTrace(); } return rcvdTx; }
@Override public BitcoinSerializer getSerializer(boolean parseRetain) { return new BitcoinSerializer(this, parseRetain); }