public static class BFTNonValidatingNotaryService.Server extends BFTSMaRt.Server
Server.Companion
Companion
Constructor and Description |
---|
Server(int id,
org.jetbrains.exposed.sql.Database db,
java.lang.String tableName,
ServiceHubInternal services,
TimestampChecker timestampChecker) |
Modifier and Type | Method and Description |
---|---|
byte[] |
executeCommand(byte[] command)
Implement logic to execute the command and commit the transaction to the log.
Helper methods are provided for transaction processing: commitInputStates,
BFTSMaRt.Server.validateTimestamp , and sign. |
BFTSMaRt.ReplicaResponse |
verifyAndCommitTx(FilteredTransaction ftx,
Party callerIdentity) |
appExecuteBatch, appExecuteUnordered, commitInputStates, executeCommand, getCommitLog, getDb, getId, getServices, getSnapshot, getTimestampChecker, installSnapshot, sign, validateTimestamp
public Server(int id, org.jetbrains.exposed.sql.Database db, java.lang.String tableName, ServiceHubInternal services, TimestampChecker timestampChecker)
public byte[] executeCommand(byte[] command)
Implement logic to execute the command and commit the transaction to the log.
Helper methods are provided for transaction processing: commitInputStates, BFTSMaRt.Server.validateTimestamp
, and sign.
BFTSMaRt.Server.validateTimestamp
public BFTSMaRt.ReplicaResponse verifyAndCommitTx(FilteredTransaction ftx, Party callerIdentity)