remove unsafe_set_config
This commit is contained in:
parent
fcf78a5da7
commit
2fcb2b9232
|
@ -3,8 +3,8 @@ package core
|
||||||
import (
|
import (
|
||||||
data "github.com/tendermint/go-wire/data"
|
data "github.com/tendermint/go-wire/data"
|
||||||
rpc "github.com/tendermint/tendermint/rpc/server"
|
rpc "github.com/tendermint/tendermint/rpc/server"
|
||||||
"github.com/tendermint/tendermint/rpc/types"
|
|
||||||
ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types"
|
ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types"
|
||||||
|
"github.com/tendermint/tendermint/rpc/types"
|
||||||
"github.com/tendermint/tendermint/types"
|
"github.com/tendermint/tendermint/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -39,7 +39,9 @@ var Routes = map[string]*rpc.RPCFunc{
|
||||||
// control API
|
// control API
|
||||||
"dial_seeds": rpc.NewRPCFunc(UnsafeDialSeedsResult, "seeds"),
|
"dial_seeds": rpc.NewRPCFunc(UnsafeDialSeedsResult, "seeds"),
|
||||||
"unsafe_flush_mempool": rpc.NewRPCFunc(UnsafeFlushMempool, ""),
|
"unsafe_flush_mempool": rpc.NewRPCFunc(UnsafeFlushMempool, ""),
|
||||||
"unsafe_set_config": rpc.NewRPCFunc(UnsafeSetConfigResult, "type,key,value"),
|
|
||||||
|
// config is not in general thread safe. expose specifics if you need em
|
||||||
|
// "unsafe_set_config": rpc.NewRPCFunc(UnsafeSetConfigResult, "type,key,value"),
|
||||||
|
|
||||||
// profiler API
|
// profiler API
|
||||||
"unsafe_start_cpu_profiler": rpc.NewRPCFunc(UnsafeStartCPUProfilerResult, "filename"),
|
"unsafe_start_cpu_profiler": rpc.NewRPCFunc(UnsafeStartCPUProfilerResult, "filename"),
|
||||||
|
|
Loading…
Reference in New Issue