Ente (OP)
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
September 30, 2017, 10:32:56 AM |
|
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 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
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
September 30, 2017, 10:57:25 AM |
|
AFAIK bech32 is only for v0 native SW scripts. I'll get it in there at some point.
|
|
|
|
Ente (OP)
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
September 30, 2017, 11:25:44 AM |
|
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
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
September 30, 2017, 11:54:20 AM |
|
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.
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3472
Merit: 6797
Just writing some code
|
|
September 30, 2017, 03:58:11 PM |
|
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.
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
September 30, 2017, 04:18:11 PM |
|
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.
|
|
|
|
RoadStress
Legendary
Offline
Activity: 1904
Merit: 1007
|
|
January 31, 2018, 11:01:23 PM |
|
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!
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
February 01, 2018, 02:13:23 AM |
|
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.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3078
|
|
July 29, 2018, 07:21:13 PM |
|
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)
|
Vires in numeris
|
|
|
droark
|
|
July 29, 2018, 09:09:55 PM |
|
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. We just have a lot to do to get 0.97 ready, and not enough bodies to juggle that and other issues.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3078
|
|
July 29, 2018, 09:17:37 PM |
|
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).
|
Vires in numeris
|
|
|
droark
|
|
July 29, 2018, 10:07:37 PM |
|
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.
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
July 30, 2018, 10:10:34 AM |
|
I have not thought about it that way at all, I'll have to evaluate once I'm done with the fixes.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3078
|
|
July 30, 2018, 11:39:30 AM |
|
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! Please don't waste your time if it's too awkward to implement.
|
Vires in numeris
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
July 30, 2018, 12:09:32 PM |
|
Implementing sending is actually really easy, the concern is the conflict it will create when dev is ready to be merged back into testing.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3078
|
|
July 30, 2018, 01:04:42 PM |
|
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??)
|
Vires in numeris
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3710
Merit: 1360
Armory Developer
|
|
July 31, 2018, 12:06:33 AM |
|
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.
|
|
|
|
droark
|
|
July 31, 2018, 08:50:57 AM |
|
I'll take a look when I can. Might be next week. I'm trying to finish up BIP 150 this week.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3078
|
|
July 31, 2018, 02:23:10 PM |
|
Thanks guys, I'm probably not the only one who'd like this to happen
|
Vires in numeris
|
|
|
droark
|
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.
|
|
|
|
|