Bitcoin Forum
July 05, 2024, 01:16:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ... 193 »
281  Bitcoin / Electrum / Re: Electrum 4.0.2 imported wallet from Bitcoin Core, cannot send BTC cannot get key on: July 15, 2020, 02:31:51 PM
if you have the private keys in bitcoin core you can just use that. or you can create a new electrum wallet with those keys:

https://bitcoinelectrum.com/importing-your-private-keys-into-electrum/
282  Bitcoin / Electrum / Re: Can a watch-only wallet sign messages from its addresses? on: July 08, 2020, 12:47:38 PM
just because you can store 256 versions/address types doesn't mean you have to use all of them today. you can use the ones you need to and leave the rest for future expansion. or use a smaller number of bits for the version/address type like 4 or 6 bits.

electrum actually uses a system where the first 4 bits tell you how long the version number is. it's very flexible and perhaps overkill.

a single byte would allow for 256 different address types (2^8).

not if you use it as a "flag". then each bit has a separate meaning and can be combined with other bits. if you use integer values (1, 2, 3,...) then you'll have to define a lot of different cases (1-> x, 2->y, 3->z,... 50->x+y, 60->x+z,...). that makes implementation a nightmare.
in contrast using 0b00000001->x, 0b00000010->y is enough because x+y is 0b00000011 with a simple OR (x|y)

what's the advantage of doing bitwise operations like these on the version bits? seems like a poor use of space to me.
283  Bitcoin / Electrum / Re: Can a watch-only wallet sign messages from its addresses? on: July 08, 2020, 09:11:49 AM
a single byte would allow for 256 different address types (2^8).
284  Bitcoin / Electrum / Re: Electrum 4.0.1 and offline transaction signing on: July 07, 2020, 01:29:48 PM
note you export not save. save will save it to the wallet file.

285  Bitcoin / Electrum / Re: Can a watch-only wallet sign messages from its addresses? on: July 07, 2020, 01:27:20 PM
there is no bip.
Can you explain what you mean by this? yprv is explained in BIP49 and zprv is explained in BIP84.

Extended public keys use 0x049d7cb2 to produce a "ypub" prefix, and private keys use 0x049d7878 to produce a "yprv" prefix.
Extended public keys use 0x04b24746 to produce a "zpub" prefix, and private keys use 0x04b2430c to produce a "zprv" prefix.

They are both also registered in SLIP0132, along with their multi-sig equivalents: https://github.com/satoshilabs/slips/blob/master/slip-0132.md

Do you mean that they didn't originally come from a BIP?

TIL! I thought it was an electrum only concoction.
286  Bitcoin / Electrum / Re: Restore transaction descriptions on: July 07, 2020, 07:34:10 AM
instead of restoring from seed you should have just opened your old wallet file. it's located at https://electrum.readthedocs.io/en/latest/faq.html#where-is-my-wallet-file-located
287  Bitcoin / Electrum / Re: Can a watch-only wallet sign messages from its addresses? on: July 06, 2020, 02:37:49 PM
yprv,zprv etc. are electrum inventions. they indicate the type of addresses to generate.

https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES#L535

other wallets may or may not support them. there is no bip.
288  Bitcoin / Electrum / Re: Can a watch-only wallet sign messages from its addresses? on: July 05, 2020, 02:10:24 PM
I'm about to create a watch-only wallet so I can copy my addresses more easily without having to worry about the safety of my private keys. Because private keys are not in the watch only wallet will I not be able to sign a message from it?

no. also when we talk about spending bitcoin we say we sign transactions not messages. messages implies arbitrary content.

Quote
The master key can generate all the bitcoin addresses of the wallet, and I think also their public keys, as an address is just a portion of the public key. But a signed message needs both the address and private key to work, doesn't it?

the master public key (xpub or mpk) can generate all public keys. an address is the hash of the public key. it's not a portion of the public key. an xpub can also be used to generate addresses. it cannot be used to derive private keys.

to spend bitcoin you need the private keys. the address is not required because it can be derived from the public key which can be derived from the private key.

note there is also such a thing as a master private key which lets you derive all private and public  keys and corresponding addresses. it begins with ?prv where ? is either x,y, Y or Z, or z depending on the type of address you want to generate.

in the case of a deterministic wallet like electrum the relationship is as follows:

seed > master private key > address specific key pairs and addresses.

alternatively: seed > master private key > master public key > public keys and addresses

so if you have the seed you can derive the entire wallet.
289  Bitcoin / Electrum / Re: Required field 'fee' missing from dict on: July 05, 2020, 07:32:29 AM
it requests fee estimates from the server it's connected to. looks like it's not getting those.

have you tried switching servers? you have to right click on a server in the list and choose use server. also you may want to uncheck select server automatically.
290  Bitcoin / Electrum / Re: Electrum 4 - Multisig with HWW + Phone ? on: July 04, 2020, 12:37:19 PM
yes i know what you wrote in the OP. my advice was based on that.

each HW has a separate plugin and i believe they are maintained by different people. if you do this you may face issues.


btw 3 of 5 means any 3 out of the 5 cosigners. you can't say 2 HW and one phone. that feature isn't there in electrum.
291  Bitcoin / Electrum / Re: Technical help needed regarding Electrum mnemonics on: July 04, 2020, 12:16:16 PM
see here:

https://en.wikipedia.org/wiki/HMAC

in electrum it's being used as a fancy hash function. the message is the seed mnemonic and the key is simply the string "seed version" in byte form.
292  Bitcoin / Electrum / Re: Electrum 4 - Multisig with HWW + Phone ? on: July 04, 2020, 12:12:16 PM
such complicated setups are way overkill. while you won't get hacked you may face issues because of bugs in the software. but hey if you are willing to put up with such things then go for it. be sure to report the bugs and hopefully that will make electrum more robust!
293  Bitcoin / Electrum / Re: Technical help needed regarding Electrum mnemonics on: July 03, 2020, 05:42:41 PM
it's outputting the following when using the functions in electrum:

Code:
1002a06ca7de987ae74c4189cfdc3cf45bb3a836d21019bc19e265d2858e3eccc7b26c9a5509a4f7ccb9f9fc96663d268ca2a1e49dd2d08af832e96fccaf95c5

so it's a valid segwit seed.
294  Bitcoin / Bitcoin Technical Support / Re: bitcoin donation on: July 02, 2020, 03:33:18 PM
do you even own any bitcoin?
295  Bitcoin / Electrum / Re: Why not integrate Tor into Electrum by default? on: June 27, 2020, 02:35:02 AM

2) The electrum server does not know which addresses belong to your wallet, neither does it know your balance.
Electrum is using bloom filter. Long story short, this means that addresses are being masked when sent to the server. The server only knows a superset of the addresses you are interested in.

This is incorrect. Electrum does not use bloom filters. You're thinking of bitcoinj clients like multibit, Schildbach wallet and so on.

In the past Electrum used to reveal the addresses as is. Now electrum servers index the blockchain on the basis of hashes of addresses and that's what the client uses to query the servers. Those electrum servers could just as easily add a second index to their DBs with the preimage, that is the addresses themselves, and when the queries come in they can log what addresses are associated with what IPs. So bottom line the servers see all your addresses (up to the gap limit) and know they belong to the same wallet. They don't see your xpub.


@pomo99 Some reasons I can think of are a) Tor connectivity is less reliable than using your native internet connection b) you have to run a tor proxy. not everyone has one installed so this raises the barrier to entry because your forcing non technical users to install more software c) electrum is a lite client designed for ease of use. hardcore users are better served running their own full node using bitcoin core.
296  Bitcoin / Bitcoin Technical Support / Re: I've found my old wallet.dat now what? on: June 21, 2020, 05:40:43 PM
Tag are named after the same adresse as the wallet that have the bitcoin but they have another adress. Also the wallet wich was 62kb become 712kb and i tried dumppriv key on the adress but get an erroe unable to find privkey.

If the address where coins were sent is not a part of your wallet then obviously you don't have the private key for it and can't spend those coins. Did you by chance purchase this wallet.dat file from someone else? There are scammer that try to pass these off as worth something.
297  Bitcoin / Bitcoin Technical Support / Re: I've found my old wallet.dat now what? on: June 19, 2020, 02:18:14 PM
how about you let bitcoin core sync and it'll tell you whether you have any money in that wallet or not
298  Bitcoin / Bitcoin Technical Support / Re: Did UTXO not exist in the very beginning of Bitcoin? on: June 18, 2020, 12:39:34 PM
people reuse addresses. they receive multiple outputs to the same address. you can spend some or all of those outputs in a transaction. if you only spend some then obviously there are still unspent outputs left under the control of that address' private key.

wallets these days don't usually do this. for privacy reasons they will always spend all the utxos sent to an address.
299  Bitcoin / Electrum / Re: How to restore a bip39 seed from linux console and not the GUI client electrum on: June 17, 2020, 04:11:51 PM
note you shouldn't be running electrum as root
300  Bitcoin / Bitcoin Technical Support / Re: Did UTXO not exist in the very beginning of Bitcoin? on: June 16, 2020, 08:56:46 PM
@thx9527: I don't think you understand how utxos work. If you send multiple utxos to an address they don't get combined together. You can spend some of them and not others.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ... 193 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!