-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6833 from onflow/feature/pusher-engine-refactor
Refactor: Replace some uses of engine.Unit with ComponentManager
- Loading branch information
Showing
18 changed files
with
389 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package collection | ||
|
||
import ( | ||
"github.com/onflow/flow-go/model/flow" | ||
) | ||
|
||
// GuaranteedCollectionPublisher defines the interface to send collection guarantees | ||
// from a collection node to consensus nodes. Collection guarantees are broadcast on a best-effort basis, | ||
// and it is acceptable to discard some guarantees (especially those that are out of date). | ||
// Implementation is non-blocking and concurrency safe. | ||
type GuaranteedCollectionPublisher interface { | ||
// SubmitCollectionGuarantee adds a guarantee to an internal queue | ||
// to be published to consensus nodes. | ||
SubmitCollectionGuarantee(guarantee *flow.CollectionGuarantee) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.