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
b2a43baf
Commit
b2a43baf
authored
2 years ago
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Fix format args with round inputs
parent
c971412b
No related branches found
No related tags found
5 merge requests
!510
Release
,
!419
rewrote the health tracker to both consider if there are waiting rounds and...
,
!370
Full round obj
,
!369
Full round obj
,
!340
Project/channels
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cmd/broadcast.go
+2
-2
2 additions, 2 deletions
cmd/broadcast.go
cmd/group.go
+1
-1
1 addition, 1 deletion
cmd/group.go
single/receivedRequest.go
+1
-1
1 addition, 1 deletion
single/receivedRequest.go
single/request.go
+1
-1
1 addition, 1 deletion
single/request.go
with
5 additions
and
5 deletions
cmd/broadcast.go
+
2
−
2
View file @
b2a43baf
...
@@ -217,7 +217,7 @@ var broadcastCmd = &cobra.Command{
...
@@ -217,7 +217,7 @@ var broadcastCmd = &cobra.Command{
continue
continue
}
}
fmt
.
Printf
(
"Sent symmetric broadcast message: %s"
,
symmetric
)
fmt
.
Printf
(
"Sent symmetric broadcast message: %s"
,
symmetric
)
jww
.
INFO
.
Printf
(
"Sent symmetric broadcast message to %s over round %d"
,
eid
,
rid
)
jww
.
INFO
.
Printf
(
"Sent symmetric broadcast message to %s over round %d"
,
eid
,
rid
.
ID
)
}
}
/* Send asymmetric broadcast */
/* Send asymmetric broadcast */
...
@@ -237,7 +237,7 @@ var broadcastCmd = &cobra.Command{
...
@@ -237,7 +237,7 @@ var broadcastCmd = &cobra.Command{
continue
continue
}
}
fmt
.
Printf
(
"Sent asymmetric broadcast message: %s"
,
asymmetric
)
fmt
.
Printf
(
"Sent asymmetric broadcast message: %s"
,
asymmetric
)
jww
.
INFO
.
Printf
(
"Sent asymmetric broadcast message to %s over round %d"
,
eid
,
rid
)
jww
.
INFO
.
Printf
(
"Sent asymmetric broadcast message to %s over round %d"
,
eid
,
rid
.
ID
)
}
}
wg
.
Done
()
wg
.
Done
()
...
...
This diff is collapsed.
Click to expand it.
cmd/group.go
+
1
−
1
View file @
b2a43baf
...
@@ -237,7 +237,7 @@ func sendGroup(groupIdString string, msg []byte, gm groupChat.GroupChat) {
...
@@ -237,7 +237,7 @@ func sendGroup(groupIdString string, msg []byte, gm groupChat.GroupChat) {
}
}
jww
.
INFO
.
Printf
(
"[GC] Sent to group %s on round %d at %s"
,
jww
.
INFO
.
Printf
(
"[GC] Sent to group %s on round %d at %s"
,
groupID
,
rid
,
timestamp
)
groupID
,
rid
.
ID
,
timestamp
)
fmt
.
Printf
(
"Sent message %q to group.
\n
"
,
msg
)
fmt
.
Printf
(
"Sent message %q to group.
\n
"
,
msg
)
}
}
...
...
This diff is collapsed.
Click to expand it.
single/receivedRequest.go
+
1
−
1
View file @
b2a43baf
...
@@ -104,7 +104,7 @@ func (r *Request) Respond(payload []byte, cMixParams cmix.CMIXParams,
...
@@ -104,7 +104,7 @@ func (r *Request) Respond(payload []byte, cMixParams cmix.CMIXParams,
jww
.
DEBUG
.
Printf
(
"[SU] Sent single-use response cMix message part "
+
jww
.
DEBUG
.
Printf
(
"[SU] Sent single-use response cMix message part "
+
"%d of %d on round %d to %s (eph ID %d) (%s)."
,
"%d of %d on round %d to %s (eph ID %d) (%s)."
,
i
,
len
(
parts
),
round
,
r
.
sender
,
ephID
.
Int64
(),
r
.
tag
)
i
,
len
(
parts
),
round
.
ID
,
r
.
sender
,
ephID
.
Int64
(),
r
.
tag
)
rounds
[
i
]
=
round
.
ID
rounds
[
i
]
=
round
.
ID
r
.
net
.
GetInstance
()
.
GetRoundEvents
()
.
AddRoundEventChan
(
r
.
net
.
GetInstance
()
.
GetRoundEvents
()
.
AddRoundEventChan
(
...
...
This diff is collapsed.
Click to expand it.
single/request.go
+
1
−
1
View file @
b2a43baf
...
@@ -211,7 +211,7 @@ func TransmitRequest(recipient contact.Contact, tag string, payload []byte,
...
@@ -211,7 +211,7 @@ func TransmitRequest(recipient contact.Contact, tag string, payload []byte,
jww
.
DEBUG
.
Printf
(
"[SU] Sent single-use request cMix message part "
+
jww
.
DEBUG
.
Printf
(
"[SU] Sent single-use request cMix message part "
+
"%d of %d on round %d to %s (eph ID %d) (%s)."
,
"%d of %d on round %d to %s (eph ID %d) (%s)."
,
0
,
len
(
parts
)
+
1
,
rid
,
recipient
.
ID
,
ephID
.
Int64
(),
tag
)
0
,
len
(
parts
)
+
1
,
rid
.
ID
,
recipient
.
ID
,
ephID
.
Int64
(),
tag
)
var
wg
sync
.
WaitGroup
var
wg
sync
.
WaitGroup
wg
.
Add
(
len
(
parts
))
wg
.
Add
(
len
(
parts
))
...
...
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