Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
c22f3320
Commit
c22f3320
authored
3 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
56fe377c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!231
Revert "Update store to print changes to the partners list"
,
!187
Xx 3829/triggers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/results.go
+4
-3
4 additions, 3 deletions
api/results.go
with
4 additions
and
3 deletions
api/results.go
+
4
−
3
View file @
c22f3320
...
...
@@ -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"
)
//
E
num of possible round results to pass back
//
RoundResult is the e
num 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.
//
RoundEvent
Callback 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
)
}
//
A
djudicates on the rounds requested. Checks if they are
//
GetRoundResults a
djudicates 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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment