Skip to content

Commit

Permalink
Sync Node API version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAR2 committed Apr 6, 2021
1 parent 497f51d commit e66cfd7
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/collector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func main() {
app.Action = func(ctx *cli.Context) (error) {
var pidFile *os.File

log.InitSpacemeshLoggingSystem("", "spacemesh-explorer-collector.log")
// log.InitSpacemeshLoggingSystem("", "spacemesh-explorer-collector.log")

env, ok := os.LookupEnv("SPACEMESH_NODE")
if ok {
Expand Down
2 changes: 1 addition & 1 deletion collector/mesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *Collector) getNetworkInfo() error {
netId.GetNetid().GetValue(),
genesisTime.GetUnixtime().GetValue(),
epochNumLayers.GetNumlayers().GetValue(),
maxTransactionsPerSecond.GetMaxtxpersecond().GetValue(),
maxTransactionsPerSecond.GetMaxTxsPerSecond().GetValue(),
layerDuration.GetDuration().GetValue(),
)

Expand Down
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ require (
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/golang/protobuf v1.4.2
github.com/gorilla/mux v1.7.4
github.com/spacemeshos/api/release/go v0.0.0-20201103002846-7d0dfed55cc1
github.com/spacemeshos/go-spacemesh v0.1.12
github.com/spacemeshos/api/release/go v0.0.0-20201210094223-105249951c66
github.com/spacemeshos/go-spacemesh v0.1.28
github.com/urfave/cli v1.22.4
go.mongodb.org/mongo-driver v1.4.0
golang.org/x/sys v0.0.0-20200819091447-39769834ee22 // indirect
google.golang.org/grpc v1.31.0
google.golang.org/grpc v1.32.0
)
Loading

0 comments on commit e66cfd7

Please sign in to comment.