docs: @Nullable
      TransactionOutput getConnectedOutput(Map<Sha256Hash, Transaction> transactions) {
          Transaction tx = transactions.get(outpoint.getHash());
          if (tx == null)
              return null;
          return tx.getOutputs().get((int) outpoint.getIndex());
      }