Author

Topic: Multisig address with several inputs (Read 583 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
December 02, 2015, 04:36:17 PM
#2
IIRC Bitcoin Core does not actually handle or store the multisig addresses, they are never actually added to the wallet. So actually none of transactions should show up. You will need to create the transaction manually using the necessary console commands.
newbie
Activity: 6
Merit: 2
December 02, 2015, 12:20:23 PM
#1
Hi all, I'm looking fore a bit of assistance with a multisig transaction I've currently got ongoing on the testnet.

I've dumped 3 public keys, and used them to create a 2-of-3 multisig address. I've then made several (3) transactions into the address. Up until now I've only made a single transaction into the multisig address, and then a single payment out, and I've understood that, but now I'm stuck now that I've got several inputs for the same address...

Each payment was a different amount, and now, only the first payment is showing up. Armory (my "normal" client, which I used to fund the multisig address) is showing all of the transactions as completed with at least 6 confirmations, but bitcoin core, which I generated the address with, is only showing the amount of the first payment.

Does this mean multisig addresses can only be used received funds, one time only? Or is there another way to get the remaining funds? This is precisely why I did this on the testnet first. because I'm not familiar with how Bitcoin Core handles multisig addresses. Gut instinct tells me it's possible to receive into a multisig more than once, as Armory can do this, and it's runs everything through core.


If it helps anyone, the addresses used to create the multisig are
Code:
mmjJJmEifXvGpAzBa5iZJjPo3SQPwrgrfE
mi1YwJDLXNXjGiXEcirkva5YdWM8EMje7K
mo4TCm7WVBu1QXd8jXtnKnGh5tBQpmMMrh


and their matching public keys
Code:
034cd3ccfe1c23426c10e0b9acad129d302535d8fef8705fb19b0ec6b59651df16
03ba139df5c89b104062cab1356a355fff5627c8547d20ff6d3a9d45c693788054
042d1960c496d8f0b8a2c7016da6049bb9462a3ad9ad38662c17b0eee8634b81b0f1d63fbe05727e4d0894dfcb1a94d3dca6dfabea578c2d1e8075bd8be0c4c955

put it all together, and you get
Code:
{
    "address" : "2N6w5TBuvHUPiWjibK8uept1HjSXrC9oHuk",
    "redeemScript" : "5221034cd3ccfe1c23426c10e0b9acad129d302535d8fef8705fb19b0ec6b59651df162103ba139df5c89b104062cab1356a355fff5627c8547d20ff6d3a9d45c69378805441042d1960c496d8f0b8a2c7016da6049bb9462a3ad9ad38662c17b0eee8634b81b0f1d63fbe05727e4d0894dfcb1a94d3dca6dfabea578c2d1e8075bd8be0c4c95553ae"
}


And it was funded by the following transactions
fbec65ad3a38f6e0a5fc8fd82060271c89d9922de49a962ee33452ffaafc11ea
527622999bb1d2cbbf06a6d2150fabff97534315013931f4e92f8397526df4de
2b5e4f259f5314ae48a4acd78d333e6702a438be4e3e35ae8c88b63592322fef
Jump to: