Author

Topic: Confusing TX (Read 855 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
January 16, 2017, 01:57:19 PM
#10
So these kinds of transactions require manual crafting right ? Since you can easily just "createmultisig m/n  "and BTC core spits out the keys.
Some software may be able to do it all for you, some may not. Someone could have written a special program to do it for them. Or it could be created manually using various createtransaction RPCs in various software.
full member
Activity: 380
Merit: 103
Developer and Consultant
January 16, 2017, 12:34:19 PM
#9
So these kinds of transactions require manual crafting right ? Since you can easily just "createmultisig m/n  "and BTC core spits out the keys.
legendary
Activity: 3472
Merit: 4801
January 16, 2017, 10:08:37 AM
#8
my question is , of the two receiving addresses, is it possible that one of them is a change address ?

Possibly.  Possibly not.  It is impossible to know unless you have additional information about the sender.  There is nothing special about a "change output".  It's just another output in the transaction, the same as any other. The only thing that makes it a "change output" is that the sender has created the output with ability to spend that output themselves later when they want to.

staff
Activity: 3458
Merit: 6793
Just writing some code
January 15, 2017, 08:56:29 PM
#7
Ok, thanks.

leaves just one question... can i mine to a multsig address ?
Certainly. The output you are creating would be a p2sh output. Any valid output can be used for mining.
full member
Activity: 380
Merit: 103
Developer and Consultant
January 15, 2017, 08:42:47 PM
#6
1) How to create a tx that spends multiple inputs from multiple multisig addresses
The same way you create a transaction that spends multiple inputs and spends to multiple outputs in general. There is nothing special about p2sh outputs that changes transactions. The transaction is simply created by having multiple inputs reference multiple outputs and the scripts of those inputs are the ones necessary to spend from the referenced outputs.

2) How to set a multisig change address in said transaction.
The same way that multiple outputs are created. Just make another p2sh output which maps to a previously agreed upon p2sh address for change.

Ok, thanks.

leaves just one question... can i mine to a multsig address ?
staff
Activity: 3458
Merit: 6793
Just writing some code
January 15, 2017, 08:19:53 PM
#5
1) How to create a tx that spends multiple inputs from multiple multisig addresses
The same way you create a transaction that spends multiple inputs and spends to multiple outputs in general. There is nothing special about p2sh outputs that changes transactions. The transaction is simply created by having multiple inputs reference multiple outputs and the scripts of those inputs are the ones necessary to spend from the referenced outputs.

2) How to set a multisig change address in said transaction.
The same way that multiple outputs are created. Just make another p2sh output which maps to a previously agreed upon p2sh address for change.
full member
Activity: 380
Merit: 103
Developer and Consultant
January 15, 2017, 07:12:47 PM
#4
Two inputs, two outputs.  Maybe you need to ask a more specific question.  What specific part of this transaction has you wondering?

Hi

Those are multisig addresses sending to another two multisig addresses, my question is , of the two receiving addresses, is it possible that one of them is a change address ? If so how did the person go about making the tx ?

eg they say they had 2/3 multisig addresses with those inputs (4 keys now), to send to seller A, and get change in address 3XXXX which is another 2/3 (6 keys now).

So i guess

1) How to create a tx that spends multiple inputs from multiple multisig addresses
2) How to set a multisig change address in said transaction.

 Huh Huh
legendary
Activity: 2646
Merit: 1137
All paid signature campaigns should be banned.
January 15, 2017, 06:46:35 PM
#3
Two inputs, two outputs.  Maybe you need to ask a more specific question.  What specific part of this transaction has you wondering?
hero member
Activity: 629
Merit: 501
Experientia docet
January 15, 2017, 06:41:18 PM
#2
Which part of it is confusing? Looks like a normal multisig transaction to me.
full member
Activity: 380
Merit: 103
Developer and Consultant
Jump to: