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

* Add PruningPointProof to externalapi. * Add BuildPruningPointProof and ValidatePruningPointProof to Consensus. * Add the pruning point proof to the protocol. * Add the pruning point proof to the wire package. * Add PruningPointBlueWork. * Make go vet happy. * Properly initialize PruningPointProof in consensus.go. * Validate pruning point blue work. * Populate PruningPointBlueWork with the actual blue work of the pruning point. * Revert "Populate PruningPointBlueWork with the actual blue work of the pruning point." This reverts commit f2a9829998a8161ca24c259f971bd144084f0488. * Revert "Validate pruning point blue work." This reverts commit c6a90c5d2c5137657484d49ae8f33609aeb50235. * Revert "Properly initialize PruningPointProof in consensus.go." This reverts commit 9391574bbf711ab14eaf0c7700ae4d4b2e782e9d. * Revert "Add PruningPointBlueWork." This reverts commit 48182f652a5ff5048017d2c26640a1ffec79bc60. * Fix PruningPointProof and MsgPruningPointProof to be two-dimensional. * Fix wire PruningPointProof to be two-dimensional.
17 lines
517 B
Go
17 lines
517 B
Go
package appmessage
|
|
|
|
// MsgRequestPruningPointProof represents a kaspa RequestPruningPointProof message
|
|
type MsgRequestPruningPointProof struct {
|
|
baseMessage
|
|
}
|
|
|
|
// Command returns the protocol command string for the message
|
|
func (msg *MsgRequestPruningPointProof) Command() MessageCommand {
|
|
return CmdRequestPruningPointProof
|
|
}
|
|
|
|
// NewMsgRequestPruningPointProof returns a new MsgRequestPruningPointProof.
|
|
func NewMsgRequestPruningPointProof() *MsgRequestPruningPointProof {
|
|
return &MsgRequestPruningPointProof{}
|
|
}
|