File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ const (
37
37
InvTypeTx InvType = 1
38
38
InvTypeBlock InvType = 2
39
39
InvTypeFilteredBlock InvType = 3
40
+ InvTypeUtreexoProofHash InvType = 4
40
41
InvTypeWitnessBlock InvType = InvTypeBlock | InvWitnessFlag
41
42
InvTypeUtreexoBlock InvType = InvTypeBlock | InvUtreexoFlag
42
43
InvTypeWitnessUtreexoBlock InvType = InvTypeBlock | InvWitnessFlag | InvUtreexoFlag
@@ -52,6 +53,7 @@ var ivStrings = map[InvType]string{
52
53
InvTypeTx : "MSG_TX" ,
53
54
InvTypeBlock : "MSG_BLOCK" ,
54
55
InvTypeFilteredBlock : "MSG_FILTERED_BLOCK" ,
56
+ InvTypeUtreexoProofHash : "MSG_UTREEXO_PROOF_HASH" ,
55
57
InvTypeWitnessBlock : "MSG_WITNESS_BLOCK" ,
56
58
InvTypeUtreexoBlock : "MSG_UTREEXO_BLOCK" ,
57
59
InvTypeWitnessUtreexoBlock : "MSG_WITNESS_UTREEXO_BLOCK" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ func TestInvTypeStringer(t *testing.T) {
23
23
{InvTypeTx , "MSG_TX" },
24
24
{InvTypeBlock , "MSG_BLOCK" },
25
25
{InvTypeUtreexoBlock , "MSG_UTREEXO_BLOCK" },
26
+ {InvTypeUtreexoProofHash , "MSG_UTREEXO_PROOF_HASH" },
26
27
{0xffffffff , "Unknown InvType (4294967295)" },
27
28
}
28
29
You can’t perform that action at this time.
0 commit comments