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