Skip to content
Snippets Groups Projects
Commit 9606bc4c authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

minor fixes

parent 9b86c3b0
No related branches found
No related tags found
2 merge requests!53Release,!26Protonet
......@@ -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]
......
......@@ -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){
}
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment