Skip to content
Snippets Groups Projects
Commit 17b58973 authored by Luca Moser's avatar Luca Moser Committed by Wolfgang Welz
Browse files

Rename instances of Shimmer to GoShimmer (#132)

parent 4e70593d
Branches
Tags
No related merge requests found
......@@ -11,7 +11,7 @@ PROTO_GO_FILES_REAL = $(shell find . -path ./vendor -prune -o -type f -name '*.p
.PHONY: build
build: proto
go build -o shimmer
go build -o goshimmer
# Protobuffing
.PHONY: proto
......
......@@ -30,7 +30,7 @@
"DisableStacktrace": false,
"Encoding": "console",
"OutputPaths": [
"shimmer.log"
"goshimmer.log"
]
},
"node": {
......
......@@ -23,7 +23,7 @@
"Encoding": "console",
"OutputPaths": [
"stdout",
"shimmer.log"
"goshimmer.log"
],
"DisableEvents": true
},
......
......@@ -32,7 +32,7 @@ func printUsage() {
fmt.Fprintf(
os.Stderr,
"\n"+
"SHIMMER\n\n"+
"GoShimmer\n\n"+
" A lightweight modular IOTA node.\n\n"+
"Usage:\n\n"+
" %s [OPTIONS]\n\n"+
......
......@@ -13,7 +13,7 @@ import (
const (
// AppVersion version number
AppVersion = "v0.0.1"
AppVersion = "v0.1.0"
// AppName app code name
AppName = "GoShimmer"
)
......@@ -56,15 +56,18 @@ func LoadConfig() {
}
func configure(ctx *node.Plugin) {
fmt.Println(" _____ _ _ ________ ______ ___ ___________ ")
fmt.Println(" / ___| | | |_ _| \\/ || \\/ || ___| ___ \\")
fmt.Println(" \\ `--.| |_| | | | | . . || . . || |__ | |_/ /")
fmt.Println(" `--. \\ _ | | | | |\\/| || |\\/| || __|| / ")
fmt.Println(" /\\__/ / | | |_| |_| | | || | | || |___| |\\ \\ ")
fmt.Printf(" \\____/\\_| |_/\\___/\\_| |_/\\_| |_/\\____/\\_| \\_| fullnode %s", AppVersion)
fmt.Println()
fmt.Printf(`
_____ ____ _____ _ _ _____ __ __ __ __ ______ _____
/ ____|/ __ \ / ____| | | |_ _| \/ | \/ | ____| __ \
| | __| | | | (___ | |__| | | | | \ / | \ / | |__ | |__) |
| | |_ | | | |\___ \| __ | | | | |\/| | |\/| | __| | _ /
| |__| | |__| |____) | | | |_| |_| | | | | | | |____| | \ \
\_____|\____/|_____/|_| |_|_____|_| |_|_| |_|______|_| \_\
%s
`, AppVersion)
fmt.Println()
ctx.Node.Logger.Infof("GoShimmer version %s ...", AppVersion)
ctx.Node.Logger.Info("Loading plugins ...")
}
......
......@@ -6,6 +6,7 @@ import (
"strconv"
"github.com/iotaledger/goshimmer/plugins/autopeering/local"
"github.com/iotaledger/goshimmer/plugins/cli"
//"strconv"
"time"
......@@ -49,7 +50,7 @@ func NewUIHeaderBar() *UIHeaderBar {
SetBackgroundColor(tcell.ColorDarkMagenta)
headerBar.Primitive.
SetColumns(17, 0).
SetColumns(20, 0).
SetRows(0).
SetBorders(false).
AddItem(headerBar.LogoContainer, 0, 0, 1, 1, 0, 0, false).
......@@ -142,7 +143,7 @@ func (headerBar *UIHeaderBar) Update() {
func (headerBar *UIHeaderBar) printLogo() {
fmt.Fprintln(headerBar.LogoContainer, "")
fmt.Fprintln(headerBar.LogoContainer, " SHIMMER 0.0.1")
fmt.Fprintln(headerBar.LogoContainer, " GOSHIMMER", cli.AppVersion)
fmt.Fprintln(headerBar.LogoContainer, " ┌──────┬──────┐")
fmt.Fprintln(headerBar.LogoContainer, " ───┐ │ ┌───")
fmt.Fprintln(headerBar.LogoContainer, " ┐ │ │ │ ┌")
......
......@@ -213,7 +213,7 @@ body.fade {
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="ui/favicon.ico">
<title>Shimmer UI</title>
<title>GoShimmer UI</title>
<link rel="stylesheet" href="https://unpkg.com/bulmaswatch@0.7.5/darkly/bulmaswatch.min.css">
<link rel="stylesheet" href="ui/css/styles.css">
</head>
......@@ -226,7 +226,7 @@ body.fade {
<div class="column">
<h1 class="title">
<iota-icon size="42"></iota-icon>
Shimmer
GoShimmer
</h1>
<span v-if="loggedIn" class="status">Status:<span class="tag is-light">{{synced}}</span>
</div>
......
......@@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="ui/favicon.ico">
<title>Shimmer UI</title>
<title>GoShimmer UI</title>
<link rel="stylesheet" href="https://unpkg.com/bulmaswatch@0.7.5/darkly/bulmaswatch.min.css">
<link rel="stylesheet" href="ui/css/styles.css">
</head>
......@@ -18,7 +18,7 @@
<div class="column">
<h1 class="title">
<iota-icon size="42"></iota-icon>
Shimmer
GoShimmer
</h1>
<span v-if="loggedIn" class="status">Status:<span class="tag is-light">{{synced}}</span>
</div>
......
......@@ -25,8 +25,8 @@ for i in `seq 1 $1`; do
GOSSIP_PORT=$((GOSSIP_PORT+1))
mkdir node_$i
mkdir node_$i/logs
cp ../shimmer node_$i/
cp ../goshimmer node_$i/
cd node_$i
./shimmer --autopeering.port $PEERING_PORT --gossip.port $GOSSIP_PORT --autopeering.address 127.0.0.1 --autopeering.entryNodes 2TwlC5mtYVrCHNKG8zkFWmEUlL0pJPS1DOOC2U4yjwo=@127.0.0.1:14626 --node.LogLevel 4 --node.disablePlugins statusscreen --analysis.serverAddress 127.0.0.1:188 &
./goshimmer --autopeering.port $PEERING_PORT --gossip.port $GOSSIP_PORT --autopeering.address 127.0.0.1 --autopeering.entryNodes 2TwlC5mtYVrCHNKG8zkFWmEUlL0pJPS1DOOC2U4yjwo=@127.0.0.1:14626 --node.LogLevel 4 --node.disablePlugins statusscreen --analysis.serverAddress 127.0.0.1:188 &
cd ..
done
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment