Author

Topic: Bitcoin address inflation (Read 205 times)

legendary
Activity: 1946
Merit: 1427
November 07, 2018, 08:26:50 AM
#5

Well that’s disappointing Grin.

So private key generation is the same. Is there a getbech32address command in bitcoin core?

I believe you'll need to use
Code:
getnewaddress "" "bech32"
As per, https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/getnewaddress/ / https://bitcoin-rpc.github.io/en/doc/0.17.99/rpc/wallet/getnewaddress/

If that doesn't work, you'll need to set
Code:
addresstype=bech32
in your conf first, and then just call a new adress like you would normally call one, w/out any additional params according to https://bitcoin.stackexchange.com/questions/72057/how-to-generate-segwit-address-using-bitcoind
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 07, 2018, 05:38:16 AM
#4
As I understand it last year (or possibly this year) we got a new set of public key/private key pairs for the bech 32/ native segwit addresses.

nothing has changed about number of key pairs or how they work. there is still the same number of private keys (0< key
Quote
As I understand, the native segwit addresses have added to the pool of Bitcoin addresses, but by how much?

Normal segwit addresses (the non native ones beginning with a 3) share the same private keys as the legacy addresses so there's a theoretical no change in the number of private keys for that.

what has changed is the new type of output that you can create which belongs to segwit so the addresses are also different. otherwise every step until creation of an address is the same:
private key --EC multiplication--> public key --SHA256 of RIPEMD160--> hash160
then if you encode that result with base58check you get address starting with 1. if you encode it with bech32 you get an address starting with bc1.

Well that’s disappointing Grin.

So private key generation is the same. Is there a getbech32address command in bitcoin core?
legendary
Activity: 3472
Merit: 10611
November 06, 2018, 11:57:08 PM
#3
As I understand it last year (or possibly this year) we got a new set of public key/private key pairs for the bech 32/ native segwit addresses.

nothing has changed about number of key pairs or how they work. there is still the same number of private keys (0< key
Quote
As I understand, the native segwit addresses have added to the pool of Bitcoin addresses, but by how much?

Normal segwit addresses (the non native ones beginning with a 3) share the same private keys as the legacy addresses so there's a theoretical no change in the number of private keys for that.

what has changed is the new type of output that you can create which belongs to segwit so the addresses are also different. otherwise every step until creation of an address is the same:
private key --EC multiplication--> public key --SHA256 of RIPEMD160--> hash160
then if you encode that result with base58check you get address starting with 1. if you encode it with bech32 you get an address starting with bc1.
legendary
Activity: 2296
Merit: 1014
November 06, 2018, 11:00:13 PM
#2
Actually hard question not that beginner one Tongue.
I think address "pool" is same. Its extremely huge, to the point almost endless. If you can add to that with different address format?
That is real question, probably not, its just address "conversion" to another format. Correct me someone if im wrong.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 06, 2018, 05:40:16 PM
#1
As I understand it last year (or possibly this year) we got a new set of public key/private key pairs for the bech 32/ native segwit addresses.

As I understand, the native segwit addresses have added to the pool of Bitcoin addresses, but by how much?

Normal segwit addresses (the non native ones beginning with a 3) share the same private keys as the legacy addresses so there's a theoretical no change in the number of private keys for that.
Jump to: