Bitcoin Forum

Bitcoin => Armory => Topic started by: VelhoDoRio on January 24, 2018, 12:46:29 AM



Title: Armory and segwit
Post by: VelhoDoRio on January 24, 2018, 12:46:29 AM
Hello

I have two machines with Armory. One is offline and the other is online.
And I have Armory 0.96.4RC3 on both of them.
My full node on the online machine is a bitcoin core node version 0.15.1

Have a few questions about segwit.

I want to use segwit!  Do I need to create a new wallet?

I am running my offline machine armory wallet in this way  "armory --force-enable-segwit --offline"

How I sign a segwit transaction on my offline machine?

I read this but I am still confused.
https://bitcoincore.org/en/segwit_wallet_dev/#creation-of-p2sh-p2wpkh-address


Title: Re: Armory and segwit
Post by: PhoenixFire on January 24, 2018, 12:58:36 AM
I want to use segwit!  Do I need to create a new wallet?
I am running my offline machine armory wallet in this way  "armory --force-enable-segwit --offline"
No, your current Armory wallet supports them, and you have the correct flags passed into the offline machine :)
You will, however, have to create new segwit addresses. In Armory these are P2SH-P2WPKH addresses.
File > Settings > Fee & Address Types
Alter "Preferred Receive Address Type" to P2SH-P2WPKH and any newly generated receive addresses will be segwit addresses by default. You can do this for "Change Address Type" too if you desire.

How I sign a segwit transaction on my offline machine?
The same as a normal/legacy transaction, but it of course must involve P2SH-P2WPKH input addresses.