code: public TransactionConfidence getConfidence(TxConfidenceTable table) {
          if (confidence == null)
              confidence = table.getOrCreate(getTxId()) ;
          return confidence;
      }
docs: Returns the confidence object for this transaction from the {@link TxConfidenceTable}