fun createProtocol(otherParty: Party): Service
Implement a factory that specifies the transaction commit protocol for the notary service to use