public class RaftValidatingNotaryService
extends NotaryService
A validating notary service operated by a group of mutually trusting parties, uses the Raft algorithm to achieve consensus.
Modifier and Type | Class and Description |
---|---|
static class |
RaftValidatingNotaryService.Companion |
Modifier and Type | Field and Description |
---|---|
static RaftValidatingNotaryService.Companion |
Companion |
Constructor and Description |
---|
RaftValidatingNotaryService(ServiceHubInternal services,
TimestampChecker timestampChecker,
RaftUniquenessProvider uniquenessProvider)
A validating notary service operated by a group of mutually trusting parties, uses the Raft algorithm to achieve consensus.
|
Modifier and Type | Method and Description |
---|---|
ValidatingNotaryFlow |
createFlow(Party otherParty)
Implement a factory that specifies the transaction commit flow for the notary service to use
|
TimestampChecker |
getTimestampChecker() |
RaftUniquenessProvider |
getUniquenessProvider() |
createFlow
toToken
toToken
public static RaftValidatingNotaryService.Companion Companion
public RaftValidatingNotaryService(ServiceHubInternal services, TimestampChecker timestampChecker, RaftUniquenessProvider uniquenessProvider)
A validating notary service operated by a group of mutually trusting parties, uses the Raft algorithm to achieve consensus.
public ValidatingNotaryFlow createFlow(Party otherParty)
Implement a factory that specifies the transaction commit flow for the notary service to use
public TimestampChecker getTimestampChecker()
public RaftUniquenessProvider getUniquenessProvider()