bitcoin: added 5 missing inv_types (for inv and getdata)

This commit is contained in:
snicket2100 2023-10-25 15:47:30 +02:00 committed by AndersBroman
parent 953a52f040
commit 1e5a2f16d4

View file

@ -44,6 +44,11 @@ static const value_string inv_types[] =
{ 0, "ERROR" },
{ 1, "MSG_TX" },
{ 2, "MSG_BLOCK" },
{ 3, "MSG_FILTERED_BLOCK" },
{ 4, "MSG_CMPCT_BLOCK" },
{ 5, "MSG_WTX" },
{ 0x40000001, "MSG_WITNESS_TX" },
{ 0x40000002, "MSG_WITNESS_BLOCK" },
{ 0, NULL }
};