class General : TransactionType
A general transaction type where transaction validity is determined by custom contract code
Builder |
class Builder : TransactionBuilder Just uses the default TransactionBuilder with no special logic |
<init> |
General() A general transaction type where transaction validity is determined by custom contract code |
getRequiredSigners |
fun getRequiredSigners(tx: TransactionForVerification): Set<PublicKey> Return the list of public keys that that require signatures for the transaction type. Note: the notary key is checked separately for all transactions and need not be included |
verifyTransaction |
fun verifyTransaction(tx: TransactionForVerification): Unit Check the transaction is contract-valid by running the verify() for each input and output state contract. If any contract fails to verify, the whole transaction is considered to be invalid |
equals |
open fun equals(other: Any?): Boolean |
hashCode |
open fun hashCode(): <ERROR CLASS> |
verify |
fun verify(tx: TransactionForVerification): Unit Check that the transaction is valid based on: |
verifySigners |
fun verifySigners(tx: TransactionForVerification): Set<PublicKey> Check that the list of signers includes all the necessary keys |