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
484 B

10 years ago
10 years ago
10 years ago
  1. package peer
  2. import (
  3. . "github.com/tendermint/tendermint/binary"
  4. "io"
  5. )
  6. /* Msg */
  7. type Msg struct {
  8. Bytes ByteSlice
  9. Hash ByteSlice
  10. }
  11. /* InboundMsg */
  12. type InboundMsg struct {
  13. Peer *Peer
  14. Channel *Channel
  15. Time Time
  16. Msg
  17. }
  18. /* NewFilterMsg */
  19. type NewFilterMsg struct {
  20. ChName String
  21. Filter Filter
  22. }
  23. func (m *NewFilterMsg) WriteTo(w io.Writer) (int64, error) {
  24. return 0, nil // TODO
  25. }