Skip to content
Snippets Groups Projects
Commit f04dda89 authored by capossele's avatar capossele
Browse files

:art: removes commented code

parent 1cd22b16
No related branches found
No related tags found
No related merge requests found
......@@ -23,20 +23,10 @@ import (
)
func main() {
// go func() {
// if err := profiler.Start(profiler.Config{
// Service: "race-service",
// ServiceVersion: "1.0",
// ProjectID: "premium-canyon-232915", // optional on GCP
// }); err != nil {
// log.Fatalf("Cannot start the profiler: %v", err)
// }
// }()
node.Run(
cli.PLUGIN,
autopeering.PLUGIN,
gossip.PLUGIN,
//gossip_on_solidification.PLUGIN,
tangle.PLUGIN,
bundleprocessor.PLUGIN,
analysis.PLUGIN,
......
package statusscreen
import (
"github.com/iotaledger/hive.go/logger"
"time"
"github.com/iotaledger/hive.go/logger"
)
func storeStatusMessage(logLevel logger.LogLevel, prefix string, message string, ) {
func storeStatusMessage(logLevel logger.LogLevel, prefix string, message string) {
mutex.Lock()
defer mutex.Unlock()
messageLog = append(messageLog, &StatusMessage{
......
package statusscreen
import (
"github.com/iotaledger/hive.go/logger"
"time"
"github.com/iotaledger/hive.go/logger"
)
type StatusMessage struct {
......
package statusscreen
import (
"github.com/iotaledger/hive.go/logger"
"io/ioutil"
"os"
"sync"
......@@ -10,6 +9,7 @@ import (
"github.com/gdamore/tcell"
"github.com/iotaledger/hive.go/daemon"
"github.com/iotaledger/hive.go/events"
"github.com/iotaledger/hive.go/logger"
"github.com/iotaledger/hive.go/node"
"github.com/rivo/tview"
"golang.org/x/crypto/ssh/terminal"
......
......@@ -2,9 +2,9 @@ package statusscreen
import (
"fmt"
"github.com/iotaledger/hive.go/logger"
"github.com/gdamore/tcell"
"github.com/iotaledger/hive.go/logger"
"github.com/rivo/tview"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment