fromBob({ src, format }) {
    if (format !== 'bob') throw 'The src tx is not a valid BOB object';
    const ins = src.in.map(this.inputFromBob)
    const outs = src.out.map(this.outputFromBob)

    const txo = { ...src, in: ins, out: outs }
    delete txo._id
    return txo
  }
/**
   * Creates a new TXO serialized transaction from the given Shapeshifter.
   *
   * @param {Shapeshifter} shapeshifter
   * @returns {Object}
   */
Creates a new TXO serialized transaction from the given Shapeshifter.
@param {Shapeshifter} shapeshifter
@returns {Object}
Creates a new TXO serialized transaction from the given Shapeshifter . @param { Shapeshifter } shapeshifter @returns { Object }
fromBob({ src, format }) {
    if (format !== 'bob') throw 'The src tx is not a valid BOB object';
    const ins = src.in.map(this.inputFromBob)
    const outs = src.out.map(this.outputFromBob)
    const txo = { ...src, in: ins, out: outs }
    delete txo._id
    return txo
  }
fromBob ( { src , format } ) { if ( format !== 'bob' ) throw 'The src tx is not a valid BOB object' ; const ins = src . in . map ( this . inputFromBob ) const outs = src . out . map ( this . outputFromBob ) const txo = { ... src , in : ins , out : outs } delete txo . _id return txo }
Creates a new TXO serialized transaction from the given Shapeshifter.
Creates a new TXO serialized transaction from the given Shapeshifter .