public class ValidatingNotaryService
extends TrustedAuthorityNotaryService
A Notary service that validates the transaction chain of the submitted transaction before committing it
Modifier and Type | Class and Description |
---|---|
static class |
ValidatingNotaryService.Companion |
Modifier and Type | Field and Description |
---|---|
static ValidatingNotaryService.Companion |
Companion |
Constructor and Description |
---|
ValidatingNotaryService(ServiceHubInternal services)
A Notary service that validates the transaction chain of the submitted transaction before committing it
|
Modifier and Type | Method and Description |
---|---|
NotaryFlow.Service |
createServiceFlow(Party otherParty,
int platformVersion)
Produces a notary service flow which has the corresponding sends and receives as
class NotaryFlow.Client .
The first parameter is the client class Party making the request and the second is the platform version
of the client's node. Use this version parameter to provide backwards compatibility if the notary flow protocol
changes. |
ServiceHubInternal |
getServices() |
TimeWindowChecker |
getTimeWindowChecker() |
PersistentUniquenessProvider |
getUniquenessProvider() |
void |
start() |
void |
stop() |
commitInputStates, getLog, getTimeWindowChecker, getUniquenessProvider, sign, validateTimeWindow
createServiceFlow, getServices, start, stop
toToken
toToken
public static ValidatingNotaryService.Companion Companion
public ValidatingNotaryService(ServiceHubInternal services)
A Notary service that validates the transaction chain of the submitted transaction before committing it
public TimeWindowChecker getTimeWindowChecker()
public PersistentUniquenessProvider getUniquenessProvider()
public NotaryFlow.Service createServiceFlow(Party otherParty, int platformVersion)
Produces a notary service flow which has the corresponding sends and receives as class NotaryFlow.Client
.
The first parameter is the client class Party
making the request and the second is the platform version
of the client's node. Use this version parameter to provide backwards compatibility if the notary flow protocol
changes.
class NotaryFlow.Client
,
class Party
public void start()
public void stop()
public ServiceHubInternal getServices()