net.corda.node.services.transactions / NotaryService / createProtocol

createProtocol

abstract fun createProtocol(otherParty: Party): Service

Implement a factory that specifies the transaction commit protocol for the notary service to use