mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-15 18:46:39 +00:00

* [NOD-1525] Implement headers first IBD * [NOD-1525] Fix proto translators * [NOD-1525] Register missing flows * [NOD-1525] Rename SyncStateNormal->SyncStateRelay, simplifiy IBD peer selection code and get rid of panic in FinishIBD * [NOD-1525] Remove redundant methods from interface
23 lines
687 B
Go
23 lines
687 B
Go
package appmessage
|
|
|
|
// MsgIBDRootNotFound implements the Message interface and represents a kaspa
|
|
// IBDRootNotFound message. It is used to notify the IBD root that was requested
|
|
// by other peer was not found.
|
|
//
|
|
// This message has no payload.
|
|
type MsgIBDRootNotFound struct {
|
|
baseMessage
|
|
}
|
|
|
|
// Command returns the protocol command string for the message. This is part
|
|
// of the Message interface implementation.
|
|
func (msg *MsgIBDRootNotFound) Command() MessageCommand {
|
|
return CmdDoneHeaders
|
|
}
|
|
|
|
// NewMsgIBDRootNotFound returns a new kaspa IBDRootNotFound message that conforms to the
|
|
// Message interface.
|
|
func NewMsgIBDRootNotFound() *MsgDoneHeaders {
|
|
return &MsgDoneHeaders{}
|
|
}
|