oracle: submit responses concurrently

This commit is contained in:
Evgenii Stratonikov 2020-10-08 14:50:10 +03:00 committed by Evgeniy Stratonikov
parent 25d734cbad
commit aa852aaaac
4 changed files with 107 additions and 25 deletions

View file

@ -279,6 +279,8 @@ func (b saveToMapBroadcaster) SendResponse(_ *keys.PrivateKey, resp *transaction
txSig: txSig,
}
}
func (saveToMapBroadcaster) Run() {}
func (saveToMapBroadcaster) Shutdown() {}
type responseWithSig struct {
resp *transaction.OracleResponse