The answer is pretty much in my post you were replying to.

It depends a bit on your usecase. For a Bitcoin wallet, the Wallet
integration is missing. The idea is to create a second
DeterministicKeyChain under a different derivation path and use it for
Segwit addresses. See my "HD wallet format for Segwit" post.

Perhaps also read the discussion on PR #1441.


On 11/27/2017 06:08 PM, NelsoN Melina wrote:
> What is currently missing to have it functional and merged to the main
> branch ?
> 
> Also is there a place that define the technical approach taken to
> integrate Segwit in BitcoinJ ?
> 
> On Monday, November 13, 2017 at 7:22:47 PM UTC, Andreas Schildbach wrote:
> 
>     On 11/12/2017 09:26 AM, Amitabh Saxena wrote:
> 
>     > Can bitcoinj listen and understand segwit transactions and can it
>     create
>     > segwit transactions? Which branch should I clone?
> 
>     It cannot spend from Segwit addresses yet, and thus also doesn't create
>     segwit addresses to listen on.
> 
>     It can spend to Segwit addresses though, e.g. if the payment
>     protocol is
>     used.
> 
>     All segwit development happens on the segwit branch, but lately not
>     much
>     has happened. I suspect everyone was busy waiting for how the 2X fork
>     plays out.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to