Skip to content
Snippets Groups Projects
Commit 506d69fe authored by Hans Moog's avatar Hans Moog
Browse files

Merge branch 'develop' of https://github.com/iotaledger/goshimmer into develop.mergeBinary

parents c4bde35d fc533afd
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ jobs: ...@@ -15,6 +15,8 @@ jobs:
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Copy config.default.json to config.json
run: cp config.default.json config.json
- name: Release GoShimmer - name: Release GoShimmer
run: goreleaser --rm-dist run: goreleaser --rm-dist
env: env:
......
...@@ -26,4 +26,6 @@ objectsdb/ ...@@ -26,4 +26,6 @@ objectsdb/
# OSX related files # OSX related files
.DS_Store .DS_Store
shimmer shimmer
goshimmer goshimmer
\ No newline at end of file
config.json
\ No newline at end of file
...@@ -148,7 +148,16 @@ If Go is installed, you should see the version that's installed. ...@@ -148,7 +148,16 @@ If Go is installed, you should see the version that's installed.
2. Change into the `goshimmer` directory 2. Change into the `goshimmer` directory
3. Use one of the following commands to build your executable file, depending on your operating system 3. Copy and adjust `config.default.json`
```bash
# Linux and macOS
cp config.default.json config.json
# Windows
copy config.default.json config.json
```
4. Use one of the following commands to build your executable file, depending on your operating system
```bash ```bash
# Linux and macOS # Linux and macOS
......
File moved
...@@ -4,25 +4,11 @@ import ( ...@@ -4,25 +4,11 @@ import (
"net/http" "net/http"
_ "net/http/pprof" _ "net/http/pprof"
"github.com/iotaledger/goshimmer/plugins/analysis" "github.com/iotaledger/goshimmer/pluginmgr/core"
"github.com/iotaledger/goshimmer/plugins/autopeering" "github.com/iotaledger/goshimmer/pluginmgr/research"
"github.com/iotaledger/goshimmer/plugins/banner" "github.com/iotaledger/goshimmer/pluginmgr/ui"
"github.com/iotaledger/goshimmer/plugins/cli" "github.com/iotaledger/goshimmer/pluginmgr/webapi"
"github.com/iotaledger/goshimmer/plugins/config" "github.com/iotaledger/goshimmer/plugins/config"
"github.com/iotaledger/goshimmer/plugins/gossip"
"github.com/iotaledger/goshimmer/plugins/gracefulshutdown"
"github.com/iotaledger/goshimmer/plugins/logger"
"github.com/iotaledger/goshimmer/plugins/metrics"
"github.com/iotaledger/goshimmer/plugins/portcheck"
"github.com/iotaledger/goshimmer/plugins/remotelog"
"github.com/iotaledger/goshimmer/plugins/spa"
"github.com/iotaledger/goshimmer/plugins/tangle"
"github.com/iotaledger/goshimmer/plugins/webapi"
webapi_broadcastData "github.com/iotaledger/goshimmer/plugins/webapi/broadcastData"
webapi_gtta "github.com/iotaledger/goshimmer/plugins/webapi/gtta"
webapi_spammer "github.com/iotaledger/goshimmer/plugins/webapi/spammer"
webapi_auth "github.com/iotaledger/goshimmer/plugins/webauth"
"github.com/iotaledger/hive.go/node" "github.com/iotaledger/hive.go/node"
) )
...@@ -30,38 +16,9 @@ func main() { ...@@ -30,38 +16,9 @@ func main() {
go http.ListenAndServe("localhost:6061", nil) // pprof Server for Debbuging Mutexes go http.ListenAndServe("localhost:6061", nil) // pprof Server for Debbuging Mutexes
node.Run( node.Run(
node.Plugins( core.PLUGINS,
banner.PLUGIN, research.PLUGINS,
config.PLUGIN, ui.PLUGINS,
logger.PLUGIN, webapi.PLUGINS,
cli.PLUGIN,
remotelog.PLUGIN,
portcheck.PLUGIN,
autopeering.PLUGIN,
tangle.PLUGIN,
gossip.PLUGIN,
gracefulshutdown.PLUGIN,
analysis.PLUGIN,
metrics.PLUGIN,
webapi.PLUGIN,
webapi_auth.PLUGIN,
webapi_gtta.PLUGIN,
webapi_spammer.PLUGIN,
webapi_broadcastData.PLUGIN,
spa.PLUGIN,
/*
webapi_getTransactionTrytesByHash.PLUGIN,
webapi_getTransactionObjectsByHash.PLUGIN,
webapi_findTransactionHashes.PLUGIN,
webapi_getNeighbors.PLUGIN,
//graph.PLUGIN,
*/
),
) )
} }
package core
import (
"github.com/iotaledger/goshimmer/plugins/autopeering"
"github.com/iotaledger/goshimmer/plugins/banner"
"github.com/iotaledger/goshimmer/plugins/cli"
"github.com/iotaledger/goshimmer/plugins/config"
"github.com/iotaledger/goshimmer/plugins/gossip"
"github.com/iotaledger/goshimmer/plugins/gracefulshutdown"
"github.com/iotaledger/goshimmer/plugins/logger"
"github.com/iotaledger/goshimmer/plugins/metrics"
"github.com/iotaledger/goshimmer/plugins/portcheck"
"github.com/iotaledger/goshimmer/plugins/tangle"
"github.com/iotaledger/hive.go/node"
)
var PLUGINS = node.Plugins(
banner.PLUGIN,
config.PLUGIN,
logger.PLUGIN,
cli.PLUGIN,
portcheck.PLUGIN,
autopeering.PLUGIN,
tangle.PLUGIN,
gossip.PLUGIN,
gracefulshutdown.PLUGIN,
metrics.PLUGIN,
)
package research
import (
"github.com/iotaledger/goshimmer/plugins/analysis"
"github.com/iotaledger/goshimmer/plugins/remotelog"
"github.com/iotaledger/hive.go/node"
)
var PLUGINS = node.Plugins(
remotelog.PLUGIN,
analysis.PLUGIN,
)
package ui
import (
"github.com/iotaledger/goshimmer/plugins/graph"
"github.com/iotaledger/goshimmer/plugins/spa"
"github.com/iotaledger/hive.go/node"
)
var PLUGINS = node.Plugins(
spa.PLUGIN,
graph.PLUGIN,
)
package webapi
import (
"github.com/iotaledger/goshimmer/plugins/webapi"
"github.com/iotaledger/goshimmer/plugins/webapi/broadcastData"
"github.com/iotaledger/goshimmer/plugins/webapi/findTransactionHashes"
"github.com/iotaledger/goshimmer/plugins/webapi/getNeighbors"
"github.com/iotaledger/goshimmer/plugins/webapi/getTransactionObjectsByHash"
"github.com/iotaledger/goshimmer/plugins/webapi/getTransactionTrytesByHash"
"github.com/iotaledger/goshimmer/plugins/webapi/gtta"
"github.com/iotaledger/goshimmer/plugins/webapi/spammer"
"github.com/iotaledger/goshimmer/plugins/webauth"
"github.com/iotaledger/hive.go/node"
)
var PLUGINS = node.Plugins(
webapi.PLUGIN,
webauth.PLUGIN,
gtta.PLUGIN,
spammer.PLUGIN,
broadcastData.PLUGIN,
getTransactionTrytesByHash.PLUGIN,
getTransactionObjectsByHash.PLUGIN,
findTransactionHashes.PLUGIN,
getNeighbors.PLUGIN,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment