mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-27 07:48:44 +00:00
23 lines
983 B
Go
23 lines
983 B
Go
package appmessage
|
|
|
|
// MsgRequestNextPruningPointAndItsAnticoneBlocks implements the Message interface and represents a c4ex
|
|
// RequestNextPruningPointAndItsAnticoneBlocks message. It is used to notify the IBD syncer peer to send
|
|
// more blocks from the pruning anticone.
|
|
//
|
|
// This message has no payload.
|
|
type MsgRequestNextPruningPointAndItsAnticoneBlocks struct {
|
|
baseMessage
|
|
}
|
|
|
|
// Command returns the protocol command string for the message. This is part
|
|
// of the Message interface implementation.
|
|
func (msg *MsgRequestNextPruningPointAndItsAnticoneBlocks) Command() MessageCommand {
|
|
return CmdRequestNextPruningPointAndItsAnticoneBlocks
|
|
}
|
|
|
|
// NewMsgRequestNextPruningPointAndItsAnticoneBlocks returns a new c4ex RequestNextPruningPointAndItsAnticoneBlocks message that conforms to the
|
|
// Message interface.
|
|
func NewMsgRequestNextPruningPointAndItsAnticoneBlocks() *MsgRequestNextPruningPointAndItsAnticoneBlocks {
|
|
return &MsgRequestNextPruningPointAndItsAnticoneBlocks{}
|
|
}
|