Governance

- Add governance message SVG image
 - Typo fixes
This commit is contained in:
thephez 2017-10-16 19:39:42 -04:00
parent c062ed2349
commit 1dfe7dd8ea
4 changed files with 551 additions and 5 deletions

View file

@ -599,14 +599,14 @@ Earlier versions of Bitcoin Core allowed developers and trusted community member
#### Synchronization
Dash Core synchronizes the governance system via the Masternode network as the
last stage of the Masternode sync process (following they sync of sporks, the
last stage of the Masternode sync process (following the sync of sporks, the
Masternode list, and Masternode payments).
The `govsync` message initiates a sync of the governance system. Masternodes
respond to the `govsync` message with several items:
* First, the Masternode sends one `ssc` message (Sync Status Count) for `govobj`
objects and one for `govobjvote` objects. These messages indicates how many
objects and one for `govobjvote` objects. These messages indicate how many
inventory items will be sent.
* Second, the Masternode sends `inv` messages for the `govobj` and `govobjvote`
@ -618,14 +618,14 @@ Once the syncing node receives the counts and inventories, it may request any
*Governance Sync Data Flow*
| **Syncing Node Message** | **Direction** | **Masternode Response** | **Description** |
| `govsync` | → | | Syncing node initiates governance sync
| `govsync` message | → | | Syncing node initiates governance sync
| | ← | `ssc` message (govobj) | Number of governance objects
| | ← | `ssc` message (govobjvote)| Number of governance object votes
| | ← | `inv` message (govobj) | Governance object inventories
| | ← | `inv` message (govobjvote)| Governance object vote inventories
| `getdata` (govobj) | → | | (Optional) Syncing node requests govobj
| `getdata` message (govobj) | → | | (Optional) Syncing node requests govobj
| | ← | `govobj` message | (If requested) Governance object
| `getdata` (govobjvote) | → | | (Optional) Syncing node requests govobjvote
| `getdata` message (govobjvote) | → | | (Optional) Syncing node requests govobjvote
| | ← | `govobjvote` message | (If requested) Governance object vote

View file

@ -2218,6 +2218,8 @@ Not Implemented
The following network messages enable the Governance features built in to Dash.
![Overview Of P2P Protocol Governance Request And Reply Messages](/img/dev/en-p2p-governance-messages.svg)
{% endautocrossref %}
#### govobj