From 964c11eb3ef9e44d8a6821ff3ca830c996ea1dc9 Mon Sep 17 00:00:00 2001 From: thephez Date: Thu, 25 Oct 2018 15:04:16 -0400 Subject: [PATCH] Content - DIP3 - Update ProUpServTx Add note about missing payloadSigSize Hexdump corrections --- _includes/devdoc/ref_transactions.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/_includes/devdoc/ref_transactions.md b/_includes/devdoc/ref_transactions.md index 5b19543b..eacc10be 100644 --- a/_includes/devdoc/ref_transactions.md +++ b/_includes/devdoc/ref_transactions.md @@ -607,21 +607,21 @@ payload consists of the following data: | 1-9 | scriptOperator
PayoutSize | compactSize uint | Size of the Operator Payee Script. | Variable | scriptOperator
Payout | Script | Operator Payee script (p2pkh/p2sh) | 32 | inputsHash | uint256 | Hash of all the outpoints of the transaction inputs -| 1-9 | payloadSigSize |compactSize uint | Size of the Signature -| Variable | payloadSig | vector | BLS Signature of the hash of the ProUpServTx fields. Signed by the Operator. - +| 1-9 | payloadSigSize |compactSize uint | Size of the Signature
**Note:** not present in current implementation +| Variable | payloadSig | vector | BLS Signature of the hash of the ProUpServTx fields. Signed by the Operator. (96 bytes) The following annotated hexdump shows a ProUpServTx transaction. (Parts of the classical transaction section have been omitted.) {% highlight text %} 0300 ....................................... Version (3) -0100 ....................................... Type (2 - ProUpServTx) -00000000 ................................... locktime: 0 (a block height) +0200 ....................................... Type (2 - ProUpServTx) [...] ...................................... Transaction inputs omitted [...] ...................................... Transaction outputs omitted +00000000 ................................... locktime: 0 (a block height) + b5 ......................................... Extra payload size (181) ProUpServTx Payload @@ -640,13 +640,12 @@ ProUpServTx Payload | 4ac27d1c7e7df610500b7ba70fd46507 ......... Inputs hash | | Payload signature (BLS) -| ?? ....................................... Signature Size?? | 0267702ef85d186ef7fa32dc40c65f2f | eca0a7465715eb7c30f81beb69e35ee4 | 1f6ff7f292b82a9caebb5aa961b0f915 | 02501becf629e93c0a01c76162d56a6c | 65a9675c3ca9d5297f053e68f91393dd -| 789beed8ef7e8839695a334c2e1bd37c ......... Signature +| 789beed8ef7e8839695a334c2e1bd37c ......... BLS Signature (96 bytes) {% endhighlight %}