Author

Topic: Bech32 new address format and Armory (Read 713 times)

sr. member
Activity: 525
Merit: 282
July 31, 2018, 03:50:43 PM
#20
Okay. Any solution for 0.96.x would probably be temporary. 0.97 uses libbtc, with part of the idea being that it and a bit of as-yet-unsubmitted code will replace Crypto++ (Armory uses an ancient, customized version) over time. (Maybe 0.98???) It has Bech32 support. So, I would either need to backport libbtc to 0.96.5 (doable but might require Git-fu a bit above my pay grade if it's going to be clean), or backport the separate bech32 subdirectory in 0.97 back to 0.96.5 ("wasted" work but the repo will be clean in the end, unless I figure out the libbtc backport). I'll converse with goatpig. We'll see what we can work out.
legendary
Activity: 3430
Merit: 3080
July 31, 2018, 09:23:10 AM
#19
Thanks guys, I'm probably not the only one who'd like this to happen Smiley
sr. member
Activity: 525
Merit: 282
July 31, 2018, 03:50:57 AM
#18
I'll take a look when I can. Might be next week. I'm trying to finish up BIP 150 this week.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 30, 2018, 07:06:33 PM
#17
Quote
Indeed, I guess it's a case of whether it's worth it considering the timescales

If droark wants to summon his inner git-fu to somehow sidestep the conflict around subtreeing the bech32 code into testing, the rest is easy for me. Otherwise, the issue rests with how unpredictable the conflict will be.
legendary
Activity: 3430
Merit: 3080
July 30, 2018, 08:04:42 AM
#16
the concern is the conflict it will create when dev is ready to be merged back into testing.

Indeed, I guess it's a case of whether it's worth it considering the timescales (0.96.5 maybe in a few weeks/months, 0.97 maybe winter/spring 2019??)
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 30, 2018, 07:09:32 AM
#15
Implementing sending is actually really easy, the concern is the conflict it will create when dev is ready to be merged back into testing.
legendary
Activity: 3430
Merit: 3080
July 30, 2018, 06:39:30 AM
#14
Thanks for entertaining the idea. But I can see from you're previous updates about 0.97 features that it will be an important Armory release because of your new business agreement, this question was more idle curiosity on a Sunday than anything else! Smiley Please don't waste your time if it's too awkward to implement.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 30, 2018, 05:10:34 AM
#13
I have not thought about it that way at all, I'll have to evaluate once I'm done with the fixes.
sr. member
Activity: 525
Merit: 282
July 29, 2018, 05:07:37 PM
#12
goatpig will have to answer that one. I'm not quite familiar enough with the codebase to know if a couple of lines of code would allow a functional hack or if it's more involved.
legendary
Activity: 3430
Merit: 3080
July 29, 2018, 04:17:37 PM
#11
Alas, bech32 would be too much work for 0.96.5.

Not even allowing sending? (I realise bech32 addresses in wallets is a significant change whether it's the mirror type or a new design) Just error checking without correction would be a useful win in summer/fall 2018 for sending to bech32 in different wallet software (clightning, electrum, core etc all support bech32).
sr. member
Activity: 525
Merit: 282
July 29, 2018, 04:09:55 PM
#10
Most likely I'll add support for this in mirror wallets before the new wallets are out.

Updated thinking on this?

It's getting to the stage now where I'm wanting to use bech32, but Armory 96.4 rejects sending to bech32 addresses. Are we going to wait till 0.97 for the ability to send to bech32 addresses, or could it make it into 96.5? (assuming 96.5 is still planned)

0.96.5 is still being planned. We're just busy dealing with 0.97 (it changes a *lot* of the underlying code). Alas, bech32 would be too much work for 0.96.5. The code is already in 0.97. I don't know if it's used yet but it is there.

Hang in there! We haven't forgotten about everyone. Smiley We just have a lot to do to get 0.97 ready, and not enough bodies to juggle that and other issues.
legendary
Activity: 3430
Merit: 3080
July 29, 2018, 02:21:13 PM
#9
Most likely I'll add support for this in mirror wallets before the new wallets are out.

Updated thinking on this?

It's getting to the stage now where I'm wanting to use bech32, but Armory 96.4 rejects sending to bech32 addresses. Are we going to wait till 0.97 for the ability to send to bech32 addresses, or could it make it into 96.5? (assuming 96.5 is still planned)
legendary
Activity: 3766
Merit: 1364
Armory Developer
January 31, 2018, 09:13:23 PM
#8
Is it possible to send coins to a bech32 address with 0.96.1 + Core 0.14? If not, is it possible with any other combination of Armory and Core and which one?

Thank you!

You cannot get bech32 addresses from Armory atm. This will be part of 0.97, the next major release. The code is in dev right now, but there it hasn't been plugged in the GUI yet, and dev is unstable anyways.
legendary
Activity: 1904
Merit: 1007
January 31, 2018, 06:01:23 PM
#7
Hey everyone,

a new Bitcoin address format, bech32, was just merged into bitcoin-core:
https://www.reddit.com/r/Bitcoin/comments/739pjb/bech32_address_format_merged_into_bitcoin_core/

In short, an address now looks like
Quote
bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
with no case sensitivity any more, different first letters (bc1) and stronger checksumming/error detection (it now detects more spelling errors, and tells you where they are).

Is it possible to send coins to a bech32 address with 0.96.1 + Core 0.14? If not, is it possible with any other combination of Armory and Core and which one?

Thank you!
legendary
Activity: 3766
Merit: 1364
Armory Developer
September 30, 2017, 11:18:11 AM
#6
AFAIK bech32 is only for v0 native SW scripts. I'll get it in there at some point.
bech32 works for all segwit versions. It encodes the witness version number.

I meant it as a way to distinguish from nested segwit scripts.
staff
Activity: 3458
Merit: 6793
Just writing some code
September 30, 2017, 10:58:11 AM
#5
AFAIK bech32 is only for v0 native SW scripts. I'll get it in there at some point.
bech32 works for all segwit versions. It encodes the witness version number.
legendary
Activity: 3766
Merit: 1364
Armory Developer
September 30, 2017, 06:54:20 AM
#4
Good to hear, thanks.
Would you recommend creating new wallets for this? And/or will this coincide with the migration to the new wallet format?

Ente

Most likely I'll add support for this in mirror wallets before the new wallets are out.
legendary
Activity: 2126
Merit: 1001
September 30, 2017, 06:25:44 AM
#3
Good to hear, thanks.
Would you recommend creating new wallets for this? And/or will this coincide with the migration to the new wallet format?

Ente
legendary
Activity: 3766
Merit: 1364
Armory Developer
September 30, 2017, 05:57:25 AM
#2
AFAIK bech32 is only for v0 native SW scripts. I'll get it in there at some point.
legendary
Activity: 2126
Merit: 1001
September 30, 2017, 05:32:56 AM
#1
Hey everyone,

a new Bitcoin address format, bech32, was just merged into bitcoin-core:
https://www.reddit.com/r/Bitcoin/comments/739pjb/bech32_address_format_merged_into_bitcoin_core/

In short, an address now looks like
Quote
bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
with no case sensitivity any more, different first letters (bc1) and stronger checksumming/error detection (it now detects more spelling errors, and tells you where they are).

Exciting, I'd love to switch to that address format.

I suppose it's just a different representation of the same keys? Like, old wallets would just show the old addresses as a different string?
Is this on the radar of Armory? Are there plans to support this?

Cheers,

Ente
Jump to: