Reference updates and minor corrections

This commit is contained in:
thephez 2017-10-26 16:50:23 -04:00
parent dc0241f4dc
commit 12bfa82710
2 changed files with 9 additions and 32 deletions

View file

@ -1578,34 +1578,10 @@ The `dsc` message indicates a PrivateSend mixing session is complete.
| Bytes | Name | Data type | Required | Description | | Bytes | Name | Data type | Required | Description |
| ---------- | ----------- | --------- | -------- | -------- | | ---------- | ----------- | --------- | -------- | -------- |
| 4 | nSessionID | int | Required | ID of the mixing session | 4 | nSessionID | int | Required | ID of the mixing session
| 4 | nMessageID | int | Required | Collateral TX that will be charged if this client acts maliciously | 4 | nMessageID | int | Required | ID of the message describing the result of the mixing session
Message IDs Reference the Message IDs table under the `dssu` message for descriptions of the
Message ID values.
| Code | Description
|------|--------------
| 0x00 | ERR_ALREADY_HAVE
| 0x01 | ERR_DENOM
| 0x02 | ERR_ENTRIES_FULL
| 0x03 | ERR_EXISTING_TX
| 0x04 | ERR_FEES
| 0x05 | ERR_INVALID_COLLATERAL
| 0x06 | ERR_INVALID_INPUT
| 0x07 | ERR_INVALID_SCRIPT
| 0x08 | ERR_INVALID_TX
| 0x09 | ERR_MAXIMUM
| 0x0A | ERR_MN_LIST
| 0x0B | ERR_MODE
| 0x0C | ERR_NON_STANDARD_PUBKEY
| 0x0D | ERR_NOT_A_MN (Not used)
| 0x0E | ERR_QUEUE_FULL
| 0x0F | ERR_RECENT
| 0x10 | ERR_SESSION
| 0x11 | ERR_MISSING_TX
| 0x12 | ERR_VERSION
| 0x13 | MSG_NOERR
| 0x14 | MSG_SUCCESS
| 0x15 | MSG_ENTRIES_ADDED
The following annotated hexdump shows a `dsc` message. (The The following annotated hexdump shows a `dsc` message. (The
message header has been omitted.) message header has been omitted.)
@ -2480,7 +2456,7 @@ Governance Object Types (defined by src/governance-object.h)
| 0 | `GOVERNANCE_OBJECT_UNKNOWN` | | 0 | `GOVERNANCE_OBJECT_UNKNOWN` |
| 1 | `GOVERNANCE_OBJECT_PROPOSAL` | Submitted proposal (requires collateral transaction - currently 5 Dash) | 1 | `GOVERNANCE_OBJECT_PROPOSAL` | Submitted proposal (requires collateral transaction - currently 5 Dash)
| 2 | `GOVERNANCE_OBJECT_TRIGGER` | Masternode generated. Removed after activation/execution. Used for superblocks. | 2 | `GOVERNANCE_OBJECT_TRIGGER` | Masternode generated. Removed after activation/execution. Used for superblocks.
| 3 | `GOVERNANCE_OBJECT_WATCHDOG` | Masternode generated. Two hour expiration time. | 3 | `GOVERNANCE_OBJECT_WATCHDOG` | Masternode generated. Two hour expiration time.<br><br>DEPRECATED since 12.2.
The following annotated hexdump shows a `govobj` message for a Proposal object. The following annotated hexdump shows a `govobj` message for a Proposal object.
Notice the presence of a non-zero collateral hash, a vinMasternode that is an Notice the presence of a non-zero collateral hash, a vinMasternode that is an

View file

@ -223,14 +223,14 @@ http://opensource.org/licenses/MIT.
[addr message]: /en/developer-reference#addr "The P2P network message which relays IP addresses and port numbers of active nodes to other nodes and clients, allowing decentralized peer discovery." [addr message]: /en/developer-reference#addr "The P2P network message which relays IP addresses and port numbers of active nodes to other nodes and clients, allowing decentralized peer discovery."
[alert message]: /en/developer-reference#alert "The P2P network message which sends alerts in case of major software problems." [alert message]: /en/developer-reference#alert "The P2P network message which sends alerts in case of major software problems."
[block message]: /en/developer-reference#block "The P2P network message which sends a serialized block" [block message]: /en/developer-reference#block "The P2P network message which sends a serialized block"
[dsa message]: /en/developer-reference#dsa "A P2P network message used to reply to a P2P network dsq message" [dsa message]: /en/developer-reference#dsa "A P2P network message used to join a mixing pool"
[dsc message]: /en/developer-reference#dsc "A P2P network message used to indicates a PrivateSend mixing session is complete" [dsc message]: /en/developer-reference#dsc "A P2P network message used to indicates a PrivateSend mixing session is complete"
[dsf message]: /en/developer-reference#dsf "A P2P network message sent to indicate the queue is ready and the user is expected to send the entry inputs to start mixing" [dsf message]: /en/developer-reference#dsf "A P2P network message sent as the final mixing transaction in a session asking users to sign the final mixing TX messages"
[dsi message]: /en/developer-reference#dsi "A P2P network message sent as the final mixing transaction in a PrivateSend mixing session" [dsi message]: /en/developer-reference#dsi "A P2P network message sending a user's inputs, collateral, and outputs for a mixing session"
[dseg message]: /en/developer-reference#dseg "A P2P network message which requests either the entire masternode list or a specific masternode entry" [dseg message]: /en/developer-reference#dseg "A P2P network message which requests either the entire masternode list or a specific masternode entry"
[dss message]: /en/developer-reference#dss "A P2P network message which sends the users signed inputs for a group transaction in a mixing session" [dss message]: /en/developer-reference#dss "A P2P network message which sends the users signed inputs for a group transaction in a mixing session"
[dssu message]: /en/developer-reference#dssu "A P2P network message providing a mixing pool status update" [dssu message]: /en/developer-reference#dssu "A P2P network message providing a mixing pool status update"
[dsq message]: /en/developer-reference#dsq "A P2P network message asking users to sign a final mixing TX messages" [dsq message]: /en/developer-reference#dsq "A P2P network message sent to indicate the queue is ready and the user is expected to send the entry inputs to start mixing"
[dstx message]: /en/developer-reference#dstx "A P2P network message sent by masternodes to broadcast subsidized transactions without fees (provides security in mixing)" [dstx message]: /en/developer-reference#dstx "A P2P network message sent by masternodes to broadcast subsidized transactions without fees (provides security in mixing)"
[feefilter message]: /en/developer-reference#feefilter "The P2P network message which requests the receiving peer not relay any transactions below the specified fee rate" [feefilter message]: /en/developer-reference#feefilter "The P2P network message which requests the receiving peer not relay any transactions below the specified fee rate"
[filteradd message]: /en/developer-reference#filteradd "A P2P protocol message used to add a data element to an existing bloom filter." [filteradd message]: /en/developer-reference#filteradd "A P2P protocol message used to add a data element to an existing bloom filter."
@ -524,6 +524,7 @@ changes from moving the referenced object, but also update links
periodically to point to recent code. Last update: 2017-09-05 --> {% endcomment %} periodically to point to recent code. Last update: 2017-09-05 --> {% endcomment %}
[core bloom.cpp hash]: https://github.com/dashpay/dash/blob/333e1eaeea80344e5a28db6efbce2691c85e2b25/src/bloom.cpp#L58 [core bloom.cpp hash]: https://github.com/dashpay/dash/blob/333e1eaeea80344e5a28db6efbce2691c85e2b25/src/bloom.cpp#L58
[MAX_SIZE]: https://github.com/dashpay/dash/blob/c31ba8ba4c07e72620bd71753f2103ca103bb1c2/src/serialize.h#L26 [MAX_SIZE]: https://github.com/dashpay/dash/blob/c31ba8ba4c07e72620bd71753f2103ca103bb1c2/src/serialize.h#L26
[privatesend denominations]: https://github.com/dashpay/dash/blob/753b1e486b2757b1dba59998ee477e7ceff04f2d/src/privatesend.cpp#L149-L171
[rpcprotocol.h]: https://github.com/dashpay/dash/blob/3e0eee4c84f40b3cf277e8d03e004249d03c081d/src/rpcprotocol.h [rpcprotocol.h]: https://github.com/dashpay/dash/blob/3e0eee4c84f40b3cf277e8d03e004249d03c081d/src/rpcprotocol.h
[spork.h]: https://github.com/dashpay/dash/blob/e1702cd4eca5f276c75cae9de0eb274369b031f6/src/spork.h#L22 [spork.h]: https://github.com/dashpay/dash/blob/e1702cd4eca5f276c75cae9de0eb274369b031f6/src/spork.h#L22
[spork pubkey]: https://github.com/dashpay/dash/blob/eaf90b77177efbaf9cbed46e822f0d794f1a0ee5/src/chainparams.cpp#L158 [spork pubkey]: https://github.com/dashpay/dash/blob/eaf90b77177efbaf9cbed46e822f0d794f1a0ee5/src/chainparams.cpp#L158