public class BFTValidatingNotaryService
extends NotaryService
A validating notary service operated by a group of parties that don't necessarily trust each other.
To validate a transaction, this service collects proofs that the transaction has been validated and committed by a specified number of notary nodes.
Based on the bft-smart library.
Modifier and Type | Class and Description |
---|---|
static class |
BFTValidatingNotaryService.Companion |
Modifier and Type | Field and Description |
---|---|
static BFTValidatingNotaryService.Companion |
Companion |
Constructor and Description |
---|
BFTValidatingNotaryService(ServiceHubInternal services,
TimestampChecker timestampChecker,
BFTSmartUniquenessProvider uniquenessProvider)
A validating notary service operated by a group of parties that don't necessarily trust each other.
|
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() |
BFTSmartUniquenessProvider |
getUniquenessProvider() |
createFlow
toToken
toToken
public static BFTValidatingNotaryService.Companion Companion
public BFTValidatingNotaryService(ServiceHubInternal services, TimestampChecker timestampChecker, BFTSmartUniquenessProvider uniquenessProvider)
A validating notary service operated by a group of parties that don't necessarily trust each other.
To validate a transaction, this service collects proofs that the transaction has been validated and committed by a specified number of notary nodes.
Based on the bft-smart library.
public ValidatingNotaryFlow createFlow(Party otherParty)
Implement a factory that specifies the transaction commit flow for the notary service to use
public TimestampChecker getTimestampChecker()
public BFTSmartUniquenessProvider getUniquenessProvider()