Bitcoin Forum
May 21, 2024, 11:08:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Building a 2-of-(1+(1-of-2)) multisig transaction [i.e A + (B or C)]  (Read 2161 times)
weex (OP)
Legendary
*
Offline Offline

Activity: 1102
Merit: 1014



View Profile
November 12, 2015, 08:44:30 AM
 #21

Seems like that will work fine. Just for my own understanding, is there any reason that couldn't be  a 1 + (1 of 2). I suppose then it would depend more about how individual signatures are handled.
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
November 12, 2015, 08:48:11 AM
Last edit: November 12, 2015, 08:14:07 PM by amaclin
 #22

Seems like that will work fine. Just for my own understanding, is there any reason that couldn't be  a 1 + (1 of 2).
I suppose then it would depend more about how individual signatures are handled.
It could be any of (k + (m of n)) where k + m + n <= 15

Update: where k + n <= 15
weex (OP)
Legendary
*
Offline Offline

Activity: 1102
Merit: 1014



View Profile
November 12, 2015, 06:41:07 PM
 #23

I meant for this case. The second part only needs to be 1 of 2 so the transaction could be smaller.
thelink2012
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 12, 2015, 07:42:33 PM
 #24

It's easily changeable how many k, m and n you'll use on the form  Lips sealed
Left the PR in coinbin, though their broadcaster doesn't seem to accept those transactions at all, one have to use the blockchain.info broadcaster for instance.

If there's already a name for this kind of p2sh let me know, I named it Mandatory Multisig for the lack of imagination.
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
November 12, 2015, 08:12:10 PM
 #25

thelink2012, perfect work!

http://webbtc.com/script/cdf3b234610e4224116220ef08198a5fa354451490983972c077fd2cf57efa43:0
2 + ( 2 of 3 )

http://webbtc.com/script/d04b2d714737f355d6cbc6d2d2307ed383835e425a85d06757689ce50ba0bccf:0
1 + ( 1 of 2 )

http://webbtc.com/script/1edccd06efaf2d7d610f45911506437a0ac258f8f902616fc26f260b6f30a5fd:0
3 + ( 1 of 3 )
weex (OP)
Legendary
*
Offline Offline

Activity: 1102
Merit: 1014



View Profile
November 13, 2015, 01:44:39 AM
 #26

It's easily changeable how many k, m and n you'll use on the form  Lips sealed
Left the PR in coinbin, though their broadcaster doesn't seem to accept those transactions at all, one have to use the blockchain.info broadcaster for instance.

If there's already a name for this kind of p2sh let me know, I named it Mandatory Multisig for the lack of imagination.

Thanks thelink2012, I'll check it out shortly.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!