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
9606bc4c
Commit
9606bc4c
authored
3 years ago
by
Benjamin Wenger
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
parent
9b86c3b0
No related branches found
No related tags found
2 merge requests
!53
Release
,
!26
Protonet
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmd/root.go
+4
-0
4 additions, 0 deletions
cmd/root.go
network/gateway/sender.go
+1
-8
1 addition, 8 deletions
network/gateway/sender.go
network/roundTracking.go
+5
-0
5 additions, 0 deletions
network/roundTracking.go
with
10 additions
and
8 deletions
cmd/root.go
+
4
−
0
View file @
9606bc4c
...
...
@@ -696,8 +696,12 @@ func askToCreateChannel(recipientID *id.ID) bool {
}
}
// this the the nodepad used for round logging.
var
roundsNotepad
*
jww
.
Notepad
// initRoundLog creates the log output for round tracking. In debug mode,
// the client will keep track of all rounds it evaluates if it has
// messages in, and then will dump them to this log on client exit
func
initRoundLog
(
logPath
string
)
{
parts
:=
strings
.
Split
(
logPath
,
"."
)
path
:=
parts
[
0
]
+
"-rounds."
+
parts
[
1
]
...
...
This diff is collapsed.
Click to expand it.
network/gateway/sender.go
+
1
−
8
View file @
9606bc4c
...
...
@@ -169,10 +169,3 @@ func (s *Sender) SendToPreferred(targets []*id.ID,
return
nil
,
errors
.
Errorf
(
"Unable to send to any preferred"
)
}
\ No newline at end of file
func
(
s
*
Sender
)
sendHelper
(
target
[]
*
id
.
ID
,
sendFunc
func
(
host
*
connect
.
Host
,
target
*
id
.
ID
)
(
interface
{},
error
),
stop
*
stoppable
.
Single
){
}
This diff is collapsed.
Click to expand it.
network/roundTracking.go
+
5
−
0
View file @
9606bc4c
...
...
@@ -4,6 +4,11 @@
// All rights reserved. /
////////////////////////////////////////////////////////////////////////////////
// this is an in memory track of rounds that have been processed in this run of the
// xxdk. It only is enabled when loglevel is debug or higher. It will accumulate all
// rounds and then dump on exist. Is only enabled when run though the command line
// interface unless enabled explicitly in code.
package
network
import
(
...
...
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