mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-31 03:16:21 +00:00
17 lines
343 B
Go
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
|
|
}
|