mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
feat: make CInv python implementation aware of governance invs
This commit is contained in:
parent
c7c930ece6
commit
06b4dba0d3
@ -59,6 +59,8 @@ NODE_HEADERS_COMPRESSED = (1 << 11)
|
||||
MSG_TX = 1
|
||||
MSG_BLOCK = 2
|
||||
MSG_FILTERED_BLOCK = 3
|
||||
MSG_GOVERNANCE_OBJECT = 17
|
||||
MSG_GOVERNANCE_OBJECT_VOTE = 18
|
||||
MSG_CMPCT_BLOCK = 20
|
||||
MSG_TYPE_MASK = 0xffffffff >> 2
|
||||
|
||||
@ -350,6 +352,8 @@ class CInv:
|
||||
MSG_TX: "TX",
|
||||
MSG_BLOCK: "Block",
|
||||
MSG_FILTERED_BLOCK: "filtered Block",
|
||||
MSG_GOVERNANCE_OBJECT: "Governance Object",
|
||||
MSG_GOVERNANCE_OBJECT_VOTE: "Governance Vote",
|
||||
MSG_CMPCT_BLOCK: "CompactBlock",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user