2016-07-15 14:02:59 +03:00
|
|
|
// Copyright (c) 2016 Bitfury Group Limited
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file LICENSE or http://www.opensource.org/licenses/mit-license.php
|
|
|
|
|
|
|
|
package lnwire
|
2016-08-11 21:54:44 +03:00
|
|
|
|
2016-07-15 14:02:59 +03:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"io"
|
|
|
|
)
|
|
|
|
|
|
|
|
type RoutingTableRequestMessage struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (msg *RoutingTableRequestMessage) String() string {
|
2016-08-23 22:41:41 +03:00
|
|
|
return fmt.Sprintf("RoutingTableRequestMessage{}")
|
2016-07-15 14:02:59 +03:00
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
func (msg *RoutingTableRequestMessage) Command() uint32 {
|
2016-07-15 14:02:59 +03:00
|
|
|
return CmdRoutingTableRequestMessage
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
func (msg *RoutingTableRequestMessage) Encode(w io.Writer, pver uint32) error {
|
2016-07-15 14:02:59 +03:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
func (msg *RoutingTableRequestMessage) Decode(r io.Reader, pver uint32) error {
|
2016-07-15 14:02:59 +03:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
func (msg *RoutingTableRequestMessage) MaxPayloadLength(uint32) uint32 {
|
2016-07-15 14:02:59 +03:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
func (msg *RoutingTableRequestMessage) Validate() error {
|
2016-07-15 14:02:59 +03:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:54:44 +03:00
|
|
|
var _ Message = (*RoutingTableRequestMessage)(nil)
|