mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* Copy blockrelay flows to v4 * Remove duplicate sending of the same DAA blocks * Advance testnet version * Renames and add comments * Add IBD test between v3 and v4 * Fix syncee v4 p2p version * Check if netsync finished with selected tip
21 lines
589 B
Go
21 lines
589 B
Go
package appmessage
|
|
|
|
// MsgBlockWithTrustedDataV4 represents a kaspa BlockWithTrustedDataV4 message
|
|
type MsgBlockWithTrustedDataV4 struct {
|
|
baseMessage
|
|
|
|
Block *MsgBlock
|
|
DAAWindowIndices []uint64
|
|
GHOSTDAGDataIndices []uint64
|
|
}
|
|
|
|
// Command returns the protocol command string for the message
|
|
func (msg *MsgBlockWithTrustedDataV4) Command() MessageCommand {
|
|
return CmdBlockWithTrustedDataV4
|
|
}
|
|
|
|
// NewMsgBlockWithTrustedDataV4 returns a new MsgBlockWithTrustedDataV4.
|
|
func NewMsgBlockWithTrustedDataV4() *MsgBlockWithTrustedDataV4 {
|
|
return &MsgBlockWithTrustedDataV4{}
|
|
}
|