This commit is contained in:
Ethan Buchman
2018-01-20 21:44:30 -05:00
parent 5b5cbaa66a
commit 0d7d16005a
4 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ const (
//-----------------------------------------------------------------------------
type AddrBook interface {
AddAddress(addr *types.NetAddress, src *types.NetAddress)
AddAddress(addr *types.NetAddress, src *types.NetAddress) error
}
//-----------------------------------------------------------------------------
+12
View File
@@ -0,0 +1,12 @@
package p2p
import (
"github.com/tendermint/tendermint/p2p/tmconn"
"github.com/tendermint/tendermint/p2p/types"
)
type ID = types.ID
type NodeInfo = types.NodeInfo
type ChannelDescriptor = tmconn.ChannelDescriptor
type ConnectionStatus = tmconn.ConnectionStatus