ENT-11036 Additional parameter to enable recovery of IN_FLIGHT transactions (post ledger peer recovery) (#7546)

This commit is contained in:
Jose Coll 2023-10-26 09:38:52 +01:00 committed by GitHub
parent be515abd08
commit e52f086d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,12 +37,14 @@ data class LedgerRecoveryParameters(
val dryRun: Boolean = false,
val useTimeWindowNarrowing: Boolean = true,
val verboseLogging: Boolean = false,
val recoveryBatchSize: Int = 1000
val recoveryBatchSize: Int = 1000,
val alsoFinalize: Boolean = false
)
@CordaSerializable
data class LedgerRecoveryResult(
val totalRecoveredRecords: Long,
val totalRecoveredTransactions: Long,
val totalRecoveredInFlightTransactions: Long,
val totalErrors: Long
)