mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 18:37:36 +00:00 
			
		
		
		
	Update 8_4_Scripting_a_Multisig.md
This commit is contained in:
		
							parent
							
								
									1133ccc212
								
							
						
					
					
						commit
						d39995e424
					
				| @ -60,27 +60,27 @@ Stack: [ 0 $signature1 $signature2 2 $address1 $address2 2 ] | |||||||
| ``` | ``` | ||||||
| Then, the `OP_CHECKMULTISIG` begins to run. First, the "2" is popped: | Then, the `OP_CHECKMULTISIG` begins to run. First, the "2" is popped: | ||||||
| ``` | ``` | ||||||
| Script: OP_CHECKMULTISIG | Running: OP_CHECKMULTISIG | ||||||
| Stack: [ 0 $signature1 $signature2 2 $address1 $address2 ] | Stack: [ 0 $signature1 $signature2 2 $address1 $address2 ] | ||||||
| ``` | ``` | ||||||
| Then, the "2" tells `OP_CHECKMULTISIG `to pop two addresses: | Then, the "2" tells `OP_CHECKMULTISIG `to pop two addresses: | ||||||
| ``` | ``` | ||||||
| Script: OP_CHECKMULTISIG | Running: OP_CHECKMULTISIG | ||||||
| Stack: [ 0 $signature1 $signature2 2 ] | Stack: [ 0 $signature1 $signature2 2 ] | ||||||
| ``` | ``` | ||||||
| Then, the next "2" is popped: | Then, the next "2" is popped: | ||||||
| ``` | ``` | ||||||
| Script: OP_CHECKMULTISIG | Running: OP_CHECKMULTISIG | ||||||
| Stack: [ 0 $signature1 $signature2 ] | Stack: [ 0 $signature1 $signature2 ] | ||||||
| ``` | ``` | ||||||
| Then, the "2" tells `OP_CHECKMULTISIG` to pop two signatures: | Then, the "2" tells `OP_CHECKMULTISIG` to pop two signatures: | ||||||
| ``` | ``` | ||||||
| Script: OP_CHECKMULTISIG | Running: OP_CHECKMULTISIG | ||||||
| Stack: [ 0 ] | Stack: [ 0 ] | ||||||
| ``` | ``` | ||||||
| Then, one more item is mistakenly popped: | Then, one more item is mistakenly popped: | ||||||
| ``` | ``` | ||||||
| Script: OP_CHECKMULTISIG | Running: OP_CHECKMULTISIG | ||||||
| Stack: [ ] | Stack: [ ] | ||||||
| ``` | ``` | ||||||
| Then, `OP_CHECKMULTISIG` completes its operation by comparing the "m" signatures to the "n" addresses: | Then, `OP_CHECKMULTISIG` completes its operation by comparing the "m" signatures to the "n" addresses: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user