c0d59a2d85
This commit drops the “_message” at the end of each of the newly added routing files.
41 lines
854 B
Go
41 lines
854 B
Go
// 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
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
)
|
|
|
|
type NeighborAckMessage struct {
|
|
RoutingMessageBase
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) String() string {
|
|
return fmt.Sprintf("NeighborAckMessage{%v %v}", msg.SenderID, msg.ReceiverID)
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) Command() uint32 {
|
|
return CmdNeighborAckMessage
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) Encode(w io.Writer, pver uint32) error {
|
|
return nil
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) Decode(r io.Reader, pver uint32) error {
|
|
return nil
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) MaxPayloadLength(uint32) uint32 {
|
|
return 0
|
|
}
|
|
|
|
func (msg *NeighborAckMessage) Validate() error {
|
|
return nil
|
|
}
|
|
|
|
var _ Message = (*NeighborAckMessage)(nil)
|