Bitcoin Forum
May 06, 2024, 10:50:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum  (Read 150 times)
Script3d (OP)
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 503


View Profile
April 26, 2019, 07:43:06 AM
Last edit: April 26, 2019, 12:50:54 PM by Script3d
 #1

i just transferred all of my funds to electrum now, i have some few question about the wallet, why do electrum kept changing my receiving address instead of having a single address, and why do i have 20+ address in the addresses tab, with my funds spread in a different address.


EDIT: Thanks for the answers
1715035833
Hero Member
*
Offline Offline

Posts: 1715035833

View Profile Personal Message (Offline)

Ignore
1715035833
Reply with quote  #2

1715035833
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715035833
Hero Member
*
Offline Offline

Posts: 1715035833

View Profile Personal Message (Offline)

Ignore
1715035833
Reply with quote  #2

1715035833
Report to moderator
1715035833
Hero Member
*
Offline Offline

Posts: 1715035833

View Profile Personal Message (Offline)

Ignore
1715035833
Reply with quote  #2

1715035833
Report to moderator
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7135



View Profile
April 26, 2019, 08:51:31 AM
 #2

why do electrum kept changing my receiving address instead of having a single address
Because it is recommended never to reuse the same address. You should use a new address for every transaction. That makes it harder to connect the address to the person using it.

why do i have 20+ address in the addresses tab, with my funds spread in a different address.
Your funds are not spread across different addresses. If you request funds to be sent to Address A that is where they will be. See answer above why you shouldn't reuse addresses. 20 new addresses is the standard when creating a new wallet. Every time you use an address a new one will be created and added to the list. You can have 100s of addresses on that list, nothing to worry about.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
April 26, 2019, 08:56:19 AM
Last edit: April 26, 2019, 09:06:33 AM by mocacinno
 #3

I agree with Pmalek but wanted to give you some more info...

There are 2 reasons not to re-use addresses. The first one has been discussed by Pmalek. The second one is that as soon as you spend unspent output funding an address, you need to broadcast the public key in the spending transaction. As long as you don't spend any unspent outputs funding an address, nobody knows your public key... Eventough it's not that important, it adds an extra layer of security.

A second thing is that i wanted to point out that a lot of these "problems" of funds being spread over different addresses come from a common misconception: your funds is NOT stored in your wallet. Your wallet contains an xprv from which private keys are derived (this is only the case for HD wallets, non-HD wallets do not contain an xprv, but merely a bunch of private keys). A public key can be derived from your private key, and if the public key is hashed you'll see your address.
Next to this, your wallet might contain some meta info (like labels you added to an address or transaction) and it might keep track of the unspent outputs funding the addresses generated by hashing the public keys belonging to the private keys created by your wallet... Hower, this is merely a caching function, by rescanning the blockchain anybody could find those unspent outputs...
Your funds are not stored in your wallet, they're merely the sum of the output value(s) of one or more of the outputs funding (an) address(es) whose private key(s) you own, that are generated by transactions that are stored on the decentralised blockchain.

So, if you disregard the two main reasons not to re-use your addresses, from a financial AND practical point of view it doesn't really matter if there are 1000 unspent outputs funding 1000 addresses monitored by your wallet, or 1000 unspent outputs funding 1 address monitored by your wallet. If you want to spend part of those 1000 unspent outputs, your wallet will combine them untill the output value funding your addresses are greater or equal to the value with which you want to fund the receiving address + the mining fee... It required no effort from your side, your wallet will take care of keeping track of everything.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Lucius
Legendary
*
Offline Offline

Activity: 3234
Merit: 5637


Blackjack.fun-Free Raffle-Join&Win $50🎲


View Profile WWW
April 26, 2019, 09:56:42 AM
 #4

Your funds are not spread across different addresses.
It is obvious that OP is sending / receiving coins from his wallet, and since Electrum show new receiving address for each transaction he is see coins in different addresses. In case of sending coins from wallet, coins will be spread even more to different addresses, in this case to change addresses. This is something what confuses users who use HD wallets for first time, but what is most important is final balance of the wallet.

User can always use only one receiving address, and if Electrum did not change that option, using of change addresses can be disabled. In that case all coins will always be in one address.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!