Skip to content

Commit 75da0ab

Browse files
UdjinM6andvgal
authored andcommitted
Update protocol-documentation.md (#1964)
* Update protocol-documentation.md * typo
1 parent 6513b4d commit 75da0ab

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

dash-docs/protocol-documentation.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ Bitcoin Output https://bitcoin.org/en/glossary/output
4747
| ---------- | ----------- | --------- | ---------- |
4848
| 4 | nVersion | int32_t | Transaction data format version
4949
| 1+ | tx_in count | var_int | Number of Transaction inputs
50-
| 41+ | vin | [CTxIn](#ctxin) | A list of 1 or more transaction inputs
50+
| 41+ | vin | [CTxIn](#ctxin)[] | A list of 1 or more transaction inputs
5151
| 1+ | tx_out count | var_int | Number of Transaction outputs
52-
| 9+ | vout | [CTxOut](#ctxout) | A list of 1 or more transaction outputs
52+
| 9+ | vout | [CTxOut](#ctxout)[] | A list of 1 or more transaction outputs
5353
| 4 | nLockTime | uint32_t | The block number or timestamp at which this transaction is unlocked
5454

5555
### CPubKey
@@ -84,8 +84,7 @@ Whenever a masternode comes online or a client is syncing, they will send this m
8484
| 71-73 | sig | char[] | Signature of this message (verifiable via pubKeyCollateralAddress)
8585
| 8 | sigTime | int64_t | Time which the signature was created
8686
| 4 | nProtocolVersion | int | The protocol version of the masternode
87-
| # | lastPing | CMasternodePing | The last known ping of the masternode
88-
| 8 | nLastDsq | int64_t | The last time the masternode sent a DSQ message (for mixing) (DEPRECATED)
87+
| # | lastPing | [CMasternodePing](#mnping---mnp) | The last known ping of the masternode
8988

9089
### MNPING - "mnp"
9190

@@ -162,7 +161,7 @@ Response to DSQ message which allows the user to join a mixing pool
162161
| Field Size | Field Name | Data type | Description |
163162
| ---------- | ----------- | --------- | ---------- |
164163
| 4 | nDenom | int | denomination that will be exclusively used when submitting inputs into the pool
165-
| 41+ | txCollateral | int | collateral tx that will be charged if this client acts maliciousely
164+
| 216+ | txCollateral | [CTransaction](#ctransaction) | collateral tx that will be charged if this client acts maliciously
166165

167166
### DSVIN - "dsi"
168167

@@ -173,9 +172,8 @@ When queue is ready user is expected to send his entry to start actual mixing
173172
| Field Size | Field Name | Data type | Description |
174173
| ---------- | ----------- | --------- | ---------- |
175174
| ? | vecTxDSIn | CTxDSIn[] | vector of users inputs (CTxDSIn serialization is equal to [CTxIn](#ctxin) serialization)
176-
| 8 | nAmount | int64_t | depreciated since 12.1, it's used for backwards compatibility only and can be removed with future protocol bump
177-
| ? | txCollateral | [CTransaction](#ctransaction) | Collateral transaction which is used to prevent misbehavior and also to charge fees randomly
178-
| ? | vecTxOut | CTxOut[] | vector of user outputs
175+
| 216+ | txCollateral | [CTransaction](#ctransaction) | Collateral transaction which is used to prevent misbehavior and also to charge fees randomly
176+
| ? | vecTxOut | [CTxOut](#ctxout)[] | vector of user outputs
179177

180178
### DSSIGNFINALTX - "dss"
181179

0 commit comments

Comments
 (0)