code: func newOutPointFromWire(op *wire.OutPoint) btcjson.OutPoint {
  	return btcjson.OutPoint{
  		Hash:  op.Hash.String(),
  		Index: op.Index,
  	}
  }
docs: // newOutPointFromWire constructs the btcjson representation of a transaction
  // outpoint from the wire type.