Update ProUpRegTx to include inputsHash (#22)

This commit is contained in:
Kamuela Franco 2018-10-25 15:24:39 +01:00 committed by thephez
parent d65b356abf
commit e19f4a5c4e

View file

@ -160,6 +160,7 @@ The transaction consists of the following data in the payload area:
| KeyIdVoting | CKeyID | 20 | The public key hash used for voting. | | KeyIdVoting | CKeyID | 20 | The public key hash used for voting. |
| scriptPayoutSize | compactSize uint | 1-9 | Size of the Payee Script. | | scriptPayoutSize | compactSize uint | 1-9 | Size of the Payee Script. |
| scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) | | scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) |
| inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs |
| payloadSigSize | compactSize uint | 1-9 | Size of the Signature | | payloadSigSize | compactSize uint | 1-9 | Size of the Signature |
| payloadSig | vector<unsigned char> | Variable | Signature of the hash of the ProTx fields. Signed by the Owner. | | payloadSig | vector<unsigned char> | Variable | Signature of the hash of the ProTx fields. Signed by the Owner. |