Difference between revisions of "Update Signatures"
Jump to navigation
Jump to search
(Created page with "<div style="float: right"><include iframe src="https://www.lucidchart.com/documents/embeddedchart/97025b62-3720-4810-ae85-5ae678031aed" width="600" height="1100" frameborder="...") |
(No difference)
|
Latest revision as of 14:32, 22 October 2014
Initial Conditions
- The finished transaction list contains zero or more finalized transactions
- The transactions are valid in all respects except for missing signatures
Sequence
- If the finished transaction list is empty, the rest of the procedure can be skipped.
- Loop through each transaction.
- Within each transaction, loop through every input.
- Within each input, loop through every pubkey in the redeem script.
- If the wallet possesses the private key corresponding to the pubkey, create the appropriate signature.
- Add the signature to the transaction.
- Add the signature to the signature list in the appropriate position.
- If the wallet possesses the private key corresponding to the pubkey, create the appropriate signature.
- Within each input, loop through every pubkey in the redeem script.
- Within each transaction, loop through every input.
- Move all transactions in the finished transaction list to the pending transaction database, where they will wait for additional signatures from other voting pool members.