Bitcoin Forum

Bitcoin => BitcoinJ => Topic started by: omnibrain on May 04, 2015, 04:39:19 PM



Title: Married Wallet Example
Post by: omnibrain on May 04, 2015, 04:39:19 PM
Hi

I'm trying to use the new "married wallet" feature that was introduced in bitcoinj 0.13. I understand the concept, but I don't understand how to create the spending transaction, or to be more specific, how to implement the TransactionSigner#signInputs method. Do I need to "manually" create the scriptSig for each input, and then add them to the propTx.partialTx? Or is there a more high level approach to do this?

Any help is greatly appreciated. In fact, I will donate a beer ($5) to anyone who provides an example implementation of TransactionSigner for married wallets, similar to the example implementation of payment channels, which is really helpful. If the example is well done, perhaps Mike could merge it in the bitcoinj-examples project, I think this would help a lot for anyone using this feature in the future.

EDIT: I posted this in the bitcoinJ mailing list: https://groups.google.com/forum/#!topic/bitcoinj/hJyvxQWJdkQ (https://groups.google.com/forum/#!topic/bitcoinj/hJyvxQWJdkQ)


Title: Re: Married Wallet Example
Post by: miguelmorales85 on October 26, 2017, 09:00:05 PM
What do you mean when you say "married wallet"
do you refer to multisignatures wallets o what?



Title: Re: Married Wallet Example
Post by: HCP on October 28, 2017, 11:56:14 AM
Good luck with getting a response... You've "necro-posted" a thread from May... in 2015!!?! Created by a user that hasn't been active since 2015 ::)


Title: Re: Married Wallet Example
Post by: dafunkizdiz on July 03, 2018, 12:59:21 AM
Lol, I'll bite.

He's talking about this:
https://bitcoinj.github.io/working-with-the-wallet#marriedmulti-signature-wallets-and-pluggable-signers