Set verboseLogging to false by default.

Override toString() for ReceiverDistributionRecord
This commit is contained in:
Jose Coll 2023-10-19 09:29:05 +01:00
parent a7d390038d
commit 39928563f6
2 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,7 @@ data class LedgerRecoveryParameters(
val useAllNetworkNodes: Boolean = false,
val dryRun: Boolean = false,
val useTimeWindowNarrowing: Boolean = true,
val verboseLogging: Boolean = true,
val verboseLogging: Boolean = false,
val recoveryBatchSize: Int = 1000
)

View File

@ -94,6 +94,10 @@ data class ReceiverDistributionRecord(
) : DistributionRecord() {
override val id: SecureHash
get() = this.txId
override fun toString(): String {
return "txId: $txId, peerPartyId: $peerPartyId, timestamp: $timestamp, timestampDiscriminator: $timestampDiscriminator, receiverStatesToRecord: $receiverStatesToRecord"
}
}
@CordaSerializable