forked from iotaledger/wasp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
55 lines (51 loc) · 1.44 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package main
import (
"github.com/iotaledger/hive.go/node"
"github.com/iotaledger/wasp/packages/parameters"
"github.com/iotaledger/wasp/plugins/banner"
"github.com/iotaledger/wasp/plugins/chains"
"github.com/iotaledger/wasp/plugins/config"
"github.com/iotaledger/wasp/plugins/dashboard"
"github.com/iotaledger/wasp/plugins/database"
"github.com/iotaledger/wasp/plugins/dkg"
"github.com/iotaledger/wasp/plugins/gracefulshutdown"
"github.com/iotaledger/wasp/plugins/logger"
"github.com/iotaledger/wasp/plugins/metrics"
"github.com/iotaledger/wasp/plugins/nodeconn"
"github.com/iotaledger/wasp/plugins/peering"
"github.com/iotaledger/wasp/plugins/processors"
"github.com/iotaledger/wasp/plugins/profiling"
"github.com/iotaledger/wasp/plugins/publishernano"
"github.com/iotaledger/wasp/plugins/registry"
"github.com/iotaledger/wasp/plugins/users"
"github.com/iotaledger/wasp/plugins/wal"
"github.com/iotaledger/wasp/plugins/wasmtimevm"
"github.com/iotaledger/wasp/plugins/webapi"
)
func main() {
params := parameters.Init()
plugins := node.Plugins(
users.Init(params),
banner.Init(),
config.Init(params),
logger.Init(params),
gracefulshutdown.Init(),
nodeconn.Init(),
database.Init(),
registry.Init(),
peering.Init(),
dkg.Init(),
processors.Init(),
wasmtimevm.Init(),
wal.Init(),
chains.Init(),
metrics.Init(),
webapi.Init(),
publishernano.Init(),
dashboard.Init(),
profiling.Init(),
)
node.Run(
plugins,
)
}