Bitcoin Forum
November 17, 2024, 09:48:21 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What? New type of bitcoin adresses???  (Read 403 times)
imjustagirl (OP)
Member
**
Offline Offline

Activity: 118
Merit: 11


View Profile
September 28, 2017, 02:45:42 PM
 #1

I was browsing through blockchain today and I noticed new - weird looking adresses like this bc1qdl753ur9ucwa3cgfrud2nqvu7k69dykk3cwwx6g64a5szn3xw92sp8mc7a.
What type are these??? How would you create transactions with those? They are some sort of witness adresses? Each address has a private key, the ones start with 3 have 2/3 private keys, what type of a private key would have this one? Are they more secure? I'm sorry I could not find any information online, maybe someone could direct me to a new manual on this  Smiley

1JPnqMd1Q43L3KbZ7SoTSdRCD2aLj2sikF Tip Me!
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
September 28, 2017, 03:47:17 PM
Merited by ABCbits (2)
 #2

I was browsing through blockchain today and I noticed new - weird looking adresses like this bc1qdl753ur9ucwa3cgfrud2nqvu7k69dykk3cwwx6g64a5szn3xw92sp8mc7a.
What block explorer was showing these?

What type are these???
These addresses are bech32 addresses. They are for the native segwit output type. They are specified in BIP 173

How would you create transactions with those?
As you would with any other type of address. The wallet software will handle it for you. If the wallet software supports bech32 addresses, it will know how to decode them and create transactions with them. These addresses specifically tell the wallet what type segwit output to create.

They are some sort of witness adresses?
Yes.

Each address has a private key, the ones start with 3 have 2/3 private keys, what type of a private key would have this one?
It depends.

First of all, addresses starting with a 3 do not necessarily have private keys associated with them, and not necessarily 2 or 3 private keys. Addresses starting with a 3 are P2SH addresses which means they have a script associated with them, and that script can be whatever you want so long as it is a valid script. This means that it can contain many public keys (and thus have many private keys) or no public keys (and thus be associated with no private keys).

bech32 addresses are for the P2WPKH and P2WSH output types. For P2WPKH, there is one private key. P2WSH is like P2SH; it is associated with an arbitrary script.

Also, there are no types of private keys. All private keys are the same "type"': a 256 bit integer.

Are they more secure?
How do you define "more secure"?

Bech32 addresses have built in error detection and correction (they can correct, but software should not be automatically correcting errors). I don't think they are any more or less secure than "normal" addresses.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!