Bitcoin Forum
May 14, 2024, 02:29:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin Core 0.16.0 binaries available  (Read 436 times)
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
February 27, 2018, 10:26:56 AM
 #21

What prevents wallet software from spending from non-segwit addresses using the segwit address corresponding to a common public key?
Nothing.

So that means P2PKH or P2SH inputs could be spent respectively as P2WPKH or P2WSH? Transferring to segwit addresses isn't strictly necessary, as wallet software could be programmed to write transactions using the segwit address corresponding to the common public key of legacy addresses holding funds?

Vires in numeris
1715653788
Hero Member
*
Offline Offline

Posts: 1715653788

View Profile Personal Message (Offline)

Ignore
1715653788
Reply with quote  #2

1715653788
Report to moderator
1715653788
Hero Member
*
Offline Offline

Posts: 1715653788

View Profile Personal Message (Offline)

Ignore
1715653788
Reply with quote  #2

1715653788
Report to moderator
1715653788
Hero Member
*
Offline Offline

Posts: 1715653788

View Profile Personal Message (Offline)

Ignore
1715653788
Reply with quote  #2

1715653788
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715653788
Hero Member
*
Offline Offline

Posts: 1715653788

View Profile Personal Message (Offline)

Ignore
1715653788
Reply with quote  #2

1715653788
Report to moderator
1715653788
Hero Member
*
Offline Offline

Posts: 1715653788

View Profile Personal Message (Offline)

Ignore
1715653788
Reply with quote  #2

1715653788
Report to moderator
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


View Profile
February 27, 2018, 03:23:31 PM
 #22

Anyone that has an old wallet.dat from early Bitcoin-qt days has tested it by the way? Any problems?

Do legacy and segwit addresses show up fine the GUI? got some screenshots to see how it looks like? I can't install it currently, im out and will not be back home for a while.

The old wallet loaded OK but it is empty so I couldn't test beyond that. To use Segwit you need a new wallet anyway so I renamed that and it made a new Segwit one automatically. Getting a new receiving address give a Segwit one start '3'. I'm still trying to work out how to get a bech32 address.

Edit: Official release thread has appeared https://bitcointalk.org/index.php?topic=3024763.0


Well I remember reading achow101 saying that if you had an old bitcoin-qt wallet.dat and opened it with 0.16 it will automatically convert it to the new format and you don't need to do anything annoying like creating an empty one and sending all of your coins over the new wallet.dat which is hell.

And also I got some coins on a bech32 electrum address, I've read I can't export it because it will not work properly... when this will be fixed?

I guess I will leave them on electrum's wallet for the time being.

Im also still paranoid about the new format. I assume the seed is impossible to see and therefore safer than electrum's hd format right?

What do you mean "impossible to see"? The seed still has to be stored in the encrypted wallet.dat

As far as I know, in Bitcoin Core is impossible to show the seed of the wallet for security reasons, while in Electrum is very easy to show the seed and it is shown even in the wizard when creating a wallet. Maybe there is a way to show it with Bitcoin Core on the command line, but I hope not, since it's pretty stupid, I think it just adds an huge exploit possibility. A hacker gets your seed and he gets all future addresses you create... not fun. I would never feel safe that way. Also seed derivation was possible with Electrum if you had a master public key and some other keys I think... im just too paranoid to even bother and I stick to the basics.

Im going to get rid of Electrum as soon as I install 0.16. If I can't import the keys I guess I will need to send the coins to myself.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6637


Just writing some code


View Profile WWW
February 27, 2018, 03:43:52 PM
 #23

So that means P2PKH or P2SH inputs could be spent respectively as P2WPKH or P2WSH? Transferring to segwit addresses isn't strictly necessary, as wallet software could be programmed to write transactions using the segwit address corresponding to the common public key of legacy addresses holding funds?
No, I misread your question.

The output type is specified by a script since addresses do not exist on the network. So P2PKH and P2SH outputs have a specific script that need to have specific input scriptsigs in order for them to be spent from validly. Likewise, P2WPKH and P2WSH outputs have their own output scripts which need to be spent in a specific way that is different from P2PKH and P2SH outputs.

Forsyth Jones
Hero Member
*****
Offline Offline

Activity: 1162
Merit: 626


Press F for Leo


View Profile WWW
February 27, 2018, 03:57:08 PM
 #24

Quote
As far as I know, in Bitcoin Core is impossible to show the seed of the wallet for security reasons, while in Electrum is very easy to show the seed and it is shown even in the wizard when creating a wallet. Maybe there is a way to show it with Bitcoin Core on the command line, but I hope not, since it's pretty stupid, I think it just adds an huge exploit possibility. A hacker gets your seed and he gets all future addresses you create... not fun. I would never feel safe that way. Also seed derivation was possible with Electrum if you had a master public key and some other keys I think... im just too paranoid to even bother and I stick to the basics.

Im going to get rid of Electrum as soon as I install 0.16. If I can't import the keys I guess I will need to send the coins to myself.
@cellard The core does not provide the seed of the wallet, but the master private key, and this master key is hidden and encrypted in wallet.dat, to have access to it you must export all the keys of the wallet at once giving the command in the console:
Code:
dumpwallet "destination"
the master key will be at the beginning of the document.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Pages: « 1 [2]  All
  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!