Files
tendermint/p2p/types.go
William Banfield e20d28429d receive start
2022-10-19 17:27:23 -04:00

17 lines
343 B
Go

package p2p
import (
"github.com/cosmos/gogoproto/proto"
"github.com/tendermint/tendermint/p2p/conn"
)
type ChannelDescriptor = conn.ChannelDescriptor
type ConnectionStatus = conn.ConnectionStatus
type Envelope struct {
// Src is set when the message was sent by a remote peer.
Src Peer
ChannelID byte
Message proto.Message
}