mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-02 22:27:19 +00:00
config: filter_peers defaults to false
This commit is contained in:
+1
-13
@@ -11,7 +11,7 @@ import (
|
||||
nilapp "github.com/tendermint/tmsp/example/nil"
|
||||
)
|
||||
|
||||
// Get a connected tmsp client and perform handshake
|
||||
// Get a connected tmsp client
|
||||
func NewTMSPClient(addr, transport string) (tmspcli.Client, error) {
|
||||
var client tmspcli.Client
|
||||
|
||||
@@ -38,18 +38,6 @@ func NewTMSPClient(addr, transport string) (tmspcli.Client, error) {
|
||||
return client, nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Handshake(config cfg.Config, state State, blockStore BlockStore) {
|
||||
// XXX: Handshake
|
||||
/*res := client.CommitSync()
|
||||
if res.IsErr() {
|
||||
PanicCrisis(Fmt("Error in getting multiAppConnConn hash: %v", res))
|
||||
}
|
||||
if !bytes.Equal(hash, res.Data) {
|
||||
log.Warn(Fmt("ProxyApp hash does not match. Expected %X, got %X", hash, res.Data))
|
||||
}*/
|
||||
}
|
||||
|
||||
//---------
|
||||
|
||||
type AppConns interface {
|
||||
|
||||
Reference in New Issue
Block a user