class DummyLinearState : LinearState
<init> |
DummyLinearState(thread: SecureHash = SecureHash.randomSHA256(), contract: Contract = AlwaysSucceedContract(), participants: List<PublicKey> = listOf(), nonce: SecureHash = SecureHash.randomSHA256()) |
contract |
val contract: Contract An instance of the contract class that will verify this state. |
nonce |
val nonce: SecureHash |
participants |
val participants: List<PublicKey> A |
thread |
val thread: SecureHash Unique thread id within the wallets of all parties |
isRelevant |
fun isRelevant(ourKeys: Set<PublicKey>): Boolean true if this should be tracked by our wallet(s) |
hash |
fun ContractState.hash(): SecureHash Returns the SHA-256 hash of the serialised contents of this state (not cached) |