abstract class NotaryService : SingletonSerializeAsToken
A Notary service acts as the final signer of a transaction ensuring two things:
This is the base implementation that can be customised with specific Notary transaction commit flow.
<init> |
NotaryService(services: ServiceHubInternal)
A Notary service acts as the final signer of a transaction ensuring two things: |
createFlow |
abstract fun createFlow(otherParty: Party): Service
Implement a factory that specifies the transaction commit flow for the notary service to use |
toToken |
open fun toToken(context: SerializeAsTokenContext): SerializationToken |
RaftValidatingNotaryService |
class RaftValidatingNotaryService : NotaryService
A validating notary service operated by a group of mutually trusting parties, uses the Raft algorithm to achieve consensus. |
SimpleNotaryService |
class SimpleNotaryService : NotaryService
A simple Notary service that does not perform transaction validation |
ValidatingNotaryService |
class ValidatingNotaryService : NotaryService
A Notary service that validates the transaction chain of he submitted transaction before committing it |