public class InMemoryUniquenessProvider implements UniquenessProvider
A dummy Uniqueness provider that stores the whole history of consumed states in memory
UniquenessProvider.Conflict, UniquenessProvider.ConsumingTx
Constructor and Description |
---|
InMemoryUniquenessProvider()
A dummy Uniqueness provider that stores the whole history of consumed states in memory
|
Modifier and Type | Method and Description |
---|---|
void |
commit(java.util.List<net.corda.core.contracts.StateRef> states,
SecureHash txId,
Party callerIdentity)
Commits all input states of the given transaction
|
commit
public InMemoryUniquenessProvider()
A dummy Uniqueness provider that stores the whole history of consumed states in memory
public void commit(java.util.List<net.corda.core.contracts.StateRef> states, SecureHash txId, Party callerIdentity)
Commits all input states of the given transaction