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 ( ...@@ -23,20 +23,10 @@ import (
) )
func main() { 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( node.Run(
cli.PLUGIN, cli.PLUGIN,
autopeering.PLUGIN, autopeering.PLUGIN,
gossip.PLUGIN, gossip.PLUGIN,
//gossip_on_solidification.PLUGIN,
tangle.PLUGIN, tangle.PLUGIN,
bundleprocessor.PLUGIN, bundleprocessor.PLUGIN,
analysis.PLUGIN, analysis.PLUGIN,
......
package statusscreen package statusscreen
import ( import (
"github.com/iotaledger/hive.go/logger"
"time" "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() mutex.Lock()
defer mutex.Unlock() defer mutex.Unlock()
messageLog = append(messageLog, &StatusMessage{ messageLog = append(messageLog, &StatusMessage{
......
package statusscreen package statusscreen
import ( import (
"github.com/iotaledger/hive.go/logger"
"time" "time"
"github.com/iotaledger/hive.go/logger"
) )
type StatusMessage struct { type StatusMessage struct {
......
package statusscreen package statusscreen
import ( import (
"github.com/iotaledger/hive.go/logger"
"io/ioutil" "io/ioutil"
"os" "os"
"sync" "sync"
...@@ -10,6 +9,7 @@ import ( ...@@ -10,6 +9,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/daemon"
"github.com/iotaledger/hive.go/events" "github.com/iotaledger/hive.go/events"
"github.com/iotaledger/hive.go/logger"
"github.com/iotaledger/hive.go/node" "github.com/iotaledger/hive.go/node"
"github.com/rivo/tview" "github.com/rivo/tview"
"golang.org/x/crypto/ssh/terminal" "golang.org/x/crypto/ssh/terminal"
......
...@@ -2,9 +2,9 @@ package statusscreen ...@@ -2,9 +2,9 @@ package statusscreen
import ( import (
"fmt" "fmt"
"github.com/iotaledger/hive.go/logger"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/iotaledger/hive.go/logger"
"github.com/rivo/tview" "github.com/rivo/tview"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment