Add governance and slashing, implement post /txs api

This commit is contained in:
HaoyangLiu
2018-09-03 13:40:23 +08:00
parent 093c4ada5c
commit ea96d8bc2a
6 changed files with 911 additions and 106 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func ServeCommand(cdc *wire.Codec) *cobra.Command {
staticServer := http.FileServer(statikFS)
router.PathPrefix("/swaggerui/").Handler(http.StripPrefix("/swaggerui/", staticServer))
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout)).With("module", "rest-server")
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout)).With("module", "lite-server")
maxOpen := viper.GetInt(flagMaxOpenConnections)
listener, err := tmserver.StartHTTPServer(
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff