From 6fb8a24b63695d100e09312dcd79fa779fb7525f Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 12 Mar 2018 12:54:27 -0400 Subject: [PATCH] [Content] - P2P - Deprecate count in MnGet (#41) --- _includes/devdoc/ref_p2p_networking.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/_includes/devdoc/ref_p2p_networking.md b/_includes/devdoc/ref_p2p_networking.md index 14a6ecd3..092f83dd 100644 --- a/_includes/devdoc/ref_p2p_networking.md +++ b/_includes/devdoc/ref_p2p_networking.md @@ -2307,19 +2307,23 @@ Masternode Ping Message {% autocrossref %} The `mnget` message requests masternode payment sync. The response to an -`mnget` message is `mnw` message inventories (up to the number asked for in the -request). Masternodes ignore this request if they are not fully synced. +`mnget` message is `mnw` message inventories. Masternodes ignore this request if +they are not fully synced. + +In protocol versions <=70208, the `mnget` message has a payload consisting of an +integer value requesting a specific number of payment votes. In protocol versions +>70208, the `mnget` message has no payload. | Bytes | Name | Data type | Required | Description | | ---------- | ----------- | --------- | -------- | -------- | -| 4 | nMnCount | int | Required | Number of masternode payment votes to request +| 4 | nMnCount | int | Deprecated | Number of masternode payment votes to request

Deprecated in Dash Core 0.12.3 {% highlight text %} Note: Dash Core limits how frequently a masternode payment sync can be requested. Frequent requests will result in the node being banned. {% endhighlight %} -The following annotated hexdump shows a `mnget` message. (The +The following annotated hexdump shows a pre-0.12.3 `mnget` message. (The message header has been omitted.) {% highlight text %}