2016-07-15 13:02:59 +02: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 20:54:44 +02:00
|
|
|
|
2016-07-15 13:02:59 +02:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"io"
|
|
|
|
)
|
|
|
|
|
|
|
|
type RoutingTableRequestMessage struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (msg *RoutingTableRequestMessage) String() string {
|
2016-08-23 21:41:41 +02:00
|
|
|
return fmt.Sprintf("RoutingTableRequestMessage{}")
|
2016-07-15 13:02:59 +02:00
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
func (msg *RoutingTableRequestMessage) Command() uint32 {
|
2016-07-15 13:02:59 +02:00
|
|
|
return CmdRoutingTableRequestMessage
|
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
func (msg *RoutingTableRequestMessage) Encode(w io.Writer, pver uint32) error {
|
2016-07-15 13:02:59 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
func (msg *RoutingTableRequestMessage) Decode(r io.Reader, pver uint32) error {
|
2016-07-15 13:02:59 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
func (msg *RoutingTableRequestMessage) MaxPayloadLength(uint32) uint32 {
|
2016-07-15 13:02:59 +02:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
func (msg *RoutingTableRequestMessage) Validate() error {
|
2016-07-15 13:02:59 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-11 20:54:44 +02:00
|
|
|
var _ Message = (*RoutingTableRequestMessage)(nil)
|