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
098df3d6
Commit
098df3d6
authored
3 years ago
by
Benjamin Wenger
Browse files
Options
Downloads
Patches
Plain Diff
minor interface improvements for auth
parent
9f034c89
No related branches found
No related tags found
3 merge requests
!510
Release
,
!207
WIP: Client Restructure
,
!203
Symmetric broadcast
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
auth/interface.go
+3
-3
3 additions, 3 deletions
auth/interface.go
auth/state.go
+2
-2
2 additions, 2 deletions
auth/state.go
with
5 additions
and
5 deletions
auth/interface.go
+
3
−
3
View file @
098df3d6
...
...
@@ -57,7 +57,7 @@ type State interface {
// This will not be useful if either side has ratcheted
ReplayConfirm
(
partner
*
id
.
ID
)
(
id
.
Round
,
error
)
//
Replay
Requests will iterate through all pending contact requests
and replay
// them on the callbacks.
Replay
Requests
()
//
CallReceived
Requests will iterate through all pending contact requests
//
and replay
them on the callbacks.
CallReceived
Requests
()
}
This diff is collapsed.
Click to expand it.
auth/state.go
+
2
−
2
View file @
098df3d6
...
...
@@ -112,9 +112,9 @@ func NewStateLegacy(kv *versioned.KV, net cmix.Client, e2e e2e.Handler,
return
s
,
nil
}
//
Replay
Requests will iterate through all pending contact requests and replay
//
CallReceived
Requests will iterate through all pending contact requests and replay
// them on the callbacks.
func
(
s
*
state
)
Replay
Requests
()
{
func
(
s
*
state
)
CallReceived
Requests
()
{
rrList
:=
s
.
store
.
GetAllReceivedRequests
()
for
i
:=
range
rrList
{
rr
:=
rrList
[
i
]
...
...
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