mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
ENT-6533 Update validating notary flow to be non-idempotent (#7030)
This commit is contained in:
@ -8,7 +8,6 @@ import net.corda.core.crypto.TransactionSignature
|
||||
import net.corda.core.crypto.toStringShort
|
||||
import net.corda.core.flows.*
|
||||
import net.corda.core.identity.Party
|
||||
import net.corda.core.internal.IdempotentFlow
|
||||
import net.corda.core.internal.PlatformVersionSwitches
|
||||
import net.corda.core.internal.checkParameterHash
|
||||
import net.corda.core.utilities.seconds
|
||||
@ -33,7 +32,7 @@ abstract class NotaryServiceFlow(
|
||||
val otherSideSession: FlowSession,
|
||||
val service: SinglePartyNotaryService,
|
||||
private val etaThreshold: Duration
|
||||
) : FlowLogic<Void?>(), IdempotentFlow {
|
||||
) : FlowLogic<Void?>() {
|
||||
companion object {
|
||||
// TODO: Determine an appropriate limit and also enforce in the network parameters and the transaction builder.
|
||||
private const val maxAllowedInputsAndReferences = 10_000
|
||||
|
Reference in New Issue
Block a user