Skip to content

Commit

Permalink
wire: update invvect types
Browse files Browse the repository at this point in the history
InvTypeUtreexoProofHash was assigned 4 but since there's existing
bitcoin messages that already took the spot, we need to use something
else.

Adding the other types to not confuse myself.
  • Loading branch information
kcalvinalvin committed Nov 27, 2024
1 parent 8789b76 commit 5629bfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wire/invvect.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const (
InvTypeTx InvType = 1
InvTypeBlock InvType = 2
InvTypeFilteredBlock InvType = 3
InvTypeUtreexoProofHash InvType = 4
InvTypeCompactBlock InvType = 4
InvTypeWTXIDTx InvType = 5
InvTypeUtreexoProofHash InvType = 6
InvTypeWitnessBlock InvType = InvTypeBlock | InvWitnessFlag
InvTypeUtreexoBlock InvType = InvTypeBlock | InvUtreexoFlag
InvTypeWitnessUtreexoBlock InvType = InvTypeBlock | InvWitnessFlag | InvUtreexoFlag
Expand Down

0 comments on commit 5629bfb

Please sign in to comment.