interface UniquenessProvider
A service that records input states of the given transaction and provides conflict information if any of the inputs have already been used in another transaction
Conflict |
data class Conflict Specifies the consuming transaction for every conflicting state |
ConsumingTx |
data class ConsumingTx Specifies the transaction id, the position of the consumed state in the inputs, and the caller identity requesting the commit |
commit |
abstract fun commit(tx: WireTransaction, callerIdentity: Party): Unit Commits all input states of the given transaction |
InMemoryUniquenessProvider |
class InMemoryUniquenessProvider : UniquenessProvider A dummy Uniqueness provider that stores the whole history of consumed states in memory |