mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-05 00:28:51 +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 commitf2a9829998. * Revert "Validate pruning point blue work." This reverts commitc6a90c5d2c. * Revert "Properly initialize PruningPointProof in consensus.go." This reverts commit9391574bbf. * Revert "Add PruningPointBlueWork." This reverts commit48182f652a. * 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{}
|
|
}
|