code: public TransactionInput addInput(TransactionInput input) {
          unCache();
          input.setParent(this);
          inputs.add(input);
          adjustLength(inputs.size(), input.length);
          return input;
      }
docs: Adds an input directly, with no checking that it's valid.
  @return the new input.