Content - Governance sync update

This commit is contained in:
thephez 2019-04-16 14:52:30 -04:00
parent 911fa2ffe8
commit fc0f84120d
No known key found for this signature in database
GPG key ID: BBC8A06DBE236099

View file

@ -3830,16 +3830,14 @@ request if they are not fully synced.
This message responds in one of two ways depending on the request: This message responds in one of two ways depending on the request:
1. Object Sync - When a masternode receives a `govsync` message with a hash of all zeros, it 1. Object Sync - When a masternode receives a `govsync` message with a hash of all zeros, it
responds with one `ssc` message for `govobj` objects and one for `govobjvote` responds with a `ssc` message for `govobj` objects. The masternode also sends an
objects. The masternode also sends an `inv` message (MSG_GOVERNANCE_OBJECT - 0x17) `inv` message (MSG_GOVERNANCE_OBJECT - 0x17) for all valid `govobj` governance objects.
for all valid `govobj` governance objects.
*Governance object votes are excluded in this type of response.* *Governance object votes are excluded in this type of response.*
2. Vote Sync - When a masternode receives a `govsync` message with a specific hash, it 2. Vote Sync - When a masternode receives a `govsync` message with a specific hash, it
responds with one `ssc` message for `govobj` objects and one for `govobjvote` responds with an `ssc` message for `govobjvote` objects. The masternode also
objects. The masternode also sends both a `govobj` inventory message sends a `govobjvote` inventory messages (MSG_GOVERNANCE_OBJECT_VOTE - 0x18) for
(MSG_GOVERNANCE_OBJECT - 0x17) and `govobjvote` inventory messages the object requested.
(MSG_GOVERNANCE_OBJECT_VOTE - 0x18) for the single governance object requested.
| Bytes | Name | Data type | Required | Description | | Bytes | Name | Data type | Required | Description |
| ---------- | ----------- | --------- | -------- | -------- | | ---------- | ----------- | --------- | -------- | -------- |