Skip to content
Snippets Groups Projects
Commit c22f3320 authored by Jake Taylor's avatar Jake Taylor
Browse files

comments

parent 56fe377c
No related branches found
No related tags found
2 merge requests!231Revert "Update store to print changes to the partners list",!187Xx 3829/triggers
......@@ -4,6 +4,7 @@
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api
import (
......@@ -18,7 +19,7 @@ import (
"gitlab.com/xx_network/primitives/id"
)
// Enum of possible round results to pass back
// RoundResult is the enum of possible round results to pass back
type RoundResult uint
const (
......@@ -40,7 +41,7 @@ func (rr RoundResult) String() string {
}
}
// Callback interface which reports the requested rounds.
// RoundEventCallback interface which reports the requested rounds.
// Designed such that the caller may decide how much detail they need.
// allRoundsSucceeded:
// Returns false if any rounds in the round map were unsuccessful.
......@@ -60,7 +61,7 @@ type historicalRoundsComm interface {
GetHost(hostId *id.ID) (*connect.Host, bool)
}
// Adjudicates on the rounds requested. Checks if they are
// GetRoundResults adjudicates on the rounds requested. Checks if they are
// older rounds or in progress rounds.
func (c *Client) GetRoundResults(roundList []id.Round, timeout time.Duration,
roundCallback RoundEventCallback) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment