mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
*.swo
|
*.swo
|
||||||
.bak
|
.bak
|
||||||
tendermint
|
tendermint
|
||||||
|
.DS_Store
|
||||||
|
11
Makefile
11
Makefile
@ -1,12 +1,14 @@
|
|||||||
|
.PHONY: get_deps build all list_deps
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build: get_deps
|
||||||
go build -o tendermint github.com/tendermint/tendermint/cmd
|
go build -o tendermint github.com/tendermint/tendermint/cmd
|
||||||
|
|
||||||
build_race:
|
build_race: get_deps
|
||||||
go build -race -o tendermint github.com/tendermint/tendermint/cmd
|
go build -race -o tendermint github.com/tendermint/tendermint/cmd
|
||||||
|
|
||||||
test:
|
test: build
|
||||||
go test github.com/tendermint/tendermint/...
|
go test github.com/tendermint/tendermint/...
|
||||||
|
|
||||||
list_deps:
|
list_deps:
|
||||||
@ -14,3 +16,6 @@ list_deps:
|
|||||||
|
|
||||||
get_deps:
|
get_deps:
|
||||||
go get github.com/tendermint/tendermint/...
|
go get github.com/tendermint/tendermint/...
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f tendermint
|
||||||
|
@ -37,7 +37,7 @@ Level = "debug"
|
|||||||
|
|
||||||
[RPC.HTTP]
|
[RPC.HTTP]
|
||||||
# For the RPC API HTTP server. Port required.
|
# For the RPC API HTTP server. Port required.
|
||||||
ListenAddr = "0.0.0.0:8081"
|
ListenAddr = "localhost:8081"
|
||||||
|
|
||||||
[Alert]
|
[Alert]
|
||||||
# TODO: Document options
|
# TODO: Document options
|
||||||
@ -55,7 +55,7 @@ func initDefaults() {
|
|||||||
App.SetDefault("Log.Stdout.Level", "info")
|
App.SetDefault("Log.Stdout.Level", "info")
|
||||||
App.SetDefault("Log.File.Dir", rootDir+"/log")
|
App.SetDefault("Log.File.Dir", rootDir+"/log")
|
||||||
App.SetDefault("Log.File.Level", "debug")
|
App.SetDefault("Log.File.Level", "debug")
|
||||||
App.SetDefault("RPC.HTTP.ListenAddr", "0.0.0.0:8081")
|
App.SetDefault("RPC.HTTP.ListenAddr", "localhost:8081")
|
||||||
|
|
||||||
App.SetDefault("GenesisFile", rootDir+"/genesis.json")
|
App.SetDefault("GenesisFile", rootDir+"/genesis.json")
|
||||||
App.SetDefault("AddrBookFile", rootDir+"/addrbook.json")
|
App.SetDefault("AddrBookFile", rootDir+"/addrbook.json")
|
||||||
|
Reference in New Issue
Block a user