Bitcoin Forum
May 08, 2024, 02:02:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: History of transactions and balance don't match after switching to Electrum  (Read 206 times)
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2853


Top Crypto Casino


View Profile WWW
September 25, 2022, 11:15:05 PM
 #21

Is there a way to find out which addresses from that list are worth to import? :-)
Not sure if there is a command which returns only funded addresses but based on the information you provided, it looks like only the change address from the most recent outgoing transaction still has a balance (0.0006btc).
Look up that transaction ID on any block explorer, copy the address which received 0.0006btc,dump its private key from core then import it into Electrum.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
1715176938
Hero Member
*
Offline Offline

Posts: 1715176938

View Profile Personal Message (Offline)

Ignore
1715176938
Reply with quote  #2

1715176938
Report to moderator
1715176938
Hero Member
*
Offline Offline

Posts: 1715176938

View Profile Personal Message (Offline)

Ignore
1715176938
Reply with quote  #2

1715176938
Report to moderator
1715176938
Hero Member
*
Offline Offline

Posts: 1715176938

View Profile Personal Message (Offline)

Ignore
1715176938
Reply with quote  #2

1715176938
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
hosseinimr93
Legendary
*
Offline Offline

Activity: 2394
Merit: 5235



View Profile
September 25, 2022, 11:27:59 PM
Merited by khaled0111 (1)
 #22

Not sure if there is a command which returns only funded addresses
You can use listreceivedbyaddress command to see balance of all your receiving addresses.
You can also use listunspent command to know which addresses contain unspent outputs.

The problem is that you have to sync your wallet before using these commands.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 26, 2022, 12:09:22 AM
 #23

Many thanks for useful info and great advices!

Btw, there is one thing about setting up new wallets with the same private keys, which is may be a myth or prejudice. But I have heard this several times.
As an unexperienced newbie I cannot evaluate if it is true or false.
It is the following: private keys change every time when one makes a transaction or receives btc, or even just launches a wallet online. Therefore, only "the last" private keys are valid. So if there are for example 2 wallets with the same private keys, and you launch one of them, you authomatically make another wallet useless because its private keys became not valid anymore.
Is it a kind (at least partially) of a true thing?
I heard this several times from several different people.
hosseinimr93
Legendary
*
Offline Offline

Activity: 2394
Merit: 5235



View Profile
September 26, 2022, 12:44:16 AM
Last edit: September 26, 2022, 05:03:30 AM by hosseinimr93
Merited by Pmalek (2)
 #24

It is the following: private keys change every time when one makes a transaction or receives btc, or even just launches a wallet online.
For each of your addresses, you have a private key and that never change.
Take note that we don't deal with a centralized party that changes your private key. Each private key is derived from a random number through mathematical calculations.
All your private keys and all associated addresses are always valid and can be used as many as times you want.

Your confusion may come from generation of a new address every time you receive bitcoin.
Due to privacy reasons, it's always recommended to use new addresses and not reuse addresses and that's why some wallets generate new addresses. That doesn't mean old addresses and their private keys become invalid. They will work forever.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 26, 2022, 12:53:27 AM
Last edit: September 28, 2022, 02:16:39 AM by Mr. Big
 #25

Thank you! This explains a lot about private keys!



hosseinimr93,

It worked with change addresses!
Balance on Electrum got updated!
0.0006 btc, just like it is on Core!

Thank you!!!!
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7135



View Profile
September 28, 2022, 09:29:59 AM
 #26

Btw, there is one thing about setting up new wallets with the same private keys, which is may be a myth or prejudice. But I have heard this several times.
As an unexperienced newbie I cannot evaluate if it is true or false.
It is the following: private keys change every time when one makes a transaction or receives btc, or even just launches a wallet online.
As has been explained to you, the private keys don't change. The addresses that hold your coins change when you send Bitcoin to someone. Since an address is emptied of all its coins no matter how much you send, importing the private key of the old address will show you a zero balance. Maybe that's the confusion. If there are no coins on the address, it makes no sense importing its private key.

Let's explain it this way.

Your Gorilla22 address #1 holds 1 BTC.
You have the private key of that address. Let's call it Gorilla22 address #1 private key.   
 
You buy some gear from me for 0.3 BTC. The transaction is made from Gorilla22 address #1.
I receive 0.3 BTC, some of your sats are used for network fees, and the rest gets sent to Gorilla22 change address #1.

A year from now, you decide to use a different wallet. You remember that you had bitcoin in Gorilla22 address #1 because that's the only funded address you used in your wallet. You also find Gorilla22 address #1 private key in your personal notes. You import the private key only to see that the wallet is empty and you have no bitcoin in it. But you are forgetting that the address has to be empty because you purchased some items from me and your change went elsewhere. The private keys never changed. They still recover your old address, but it's just an address that is empty now. What you need is the correct change address and it's private key, which you found already.

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