You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
497 B

package peer
import (
. "github.com/tendermint/tendermint/binary"
"io"
)
/* Msg */
type Msg struct {
Bytes ByteSlice
Hash ByteSlice
}
/* InboundMsg */
type InboundMsg struct {
Peer *Peer
Channel *Channel
Time Time
Msg
}
/* NewFilterMsg */
type NewFilterMsg struct {
ChName String
Filter interface{} // todo
}
func (m *NewFilterMsg) WriteTo(w io.Writer) (int64, error) {
return 0, nil // TODO
}