docs: public void clearOutputs() {
          unCache();
          for (TransactionOutput output : outputs) {
              output.setParent(null);
          }
          outputs.clear();
          // You wanted to reserialize, right?
          this.length = this.unsafeBitcoinSerialize().length;
      }