dbft: rev up, pick performance improvements

This commit is contained in:
Roman Khimov 2020-09-03 22:02:42 +03:00
parent b78bc7f097
commit 9c5ef8d234
3 changed files with 5 additions and 3 deletions

View file

@ -155,6 +155,7 @@ func NewService(cfg Config) (Service, error) {
dbft.WithNewRecoveryRequest(func() payload.RecoveryRequest { return new(recoveryRequest) }),
dbft.WithNewRecoveryMessage(func() payload.RecoveryMessage { return new(recoveryMessage) }),
dbft.WithVerifyPrepareRequest(srv.verifyRequest),
dbft.WithVerifyPrepareResponse(func(_ payload.ConsensusPayload) error { return nil }),
)
if srv.dbft == nil {