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