Bitcoin Forum
April 23, 2024, 11:55:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum doesn't show rewarded coins  (Read 202 times)
BlackHatCoiner (OP)
Legendary
*
Online Online

Activity: 1498
Merit: 7259


Farewell, Leo


View Profile
March 30, 2021, 08:47:40 AM
Merited by LoyceV (4), ABCbits (1)
 #1

I wanted to check something on the rewarded address of the genesis block, so I imported it as a watch-only wallet. There were too many transactions and it took a while until it was fully synced. While it has around 68.3 BTC, it only showed me those that he/she had received after the block reward (~18.3 BTC). I then thought that it could be an exception, only for the genesis block, because the coins cannot be spent or maybe because there was no proof of work on that block and thus, they excluded it from the others.

But then I tried importing a rewarded address from a random block. For example, I imported this one: 1M311YjWBuHbZhLDynBKFCTXosJe7d2Boi (rewarded address for block 23231)

Its balance is 50.00001094 BTC (3 unspent outputs including the block reward). This is what it'll show you if you import it on electrum:


.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
1713873356
Hero Member
*
Offline Offline

Posts: 1713873356

View Profile Personal Message (Offline)

Ignore
1713873356
Reply with quote  #2

1713873356
Report to moderator
1713873356
Hero Member
*
Offline Offline

Posts: 1713873356

View Profile Personal Message (Offline)

Ignore
1713873356
Reply with quote  #2

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

Posts: 1713873356

View Profile Personal Message (Offline)

Ignore
1713873356
Reply with quote  #2

1713873356
Report to moderator
1713873356
Hero Member
*
Offline Offline

Posts: 1713873356

View Profile Personal Message (Offline)

Ignore
1713873356
Reply with quote  #2

1713873356
Report to moderator
1713873356
Hero Member
*
Offline Offline

Posts: 1713873356

View Profile Personal Message (Offline)

Ignore
1713873356
Reply with quote  #2

1713873356
Report to moderator
mocacinno
Legendary
*
Online Online

Activity: 3360
Merit: 4917


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


View Profile WWW
March 30, 2021, 08:50:18 AM
 #2

IIRC, this is something that goes back to very early versions... I noticed the same years ago with the electrum clone for LTC (back when you could still mine LTC @ home). IIRC, i did open a ticket for this issue, but it never got fixed.

█▀▀▀











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











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

Activity: 2954
Merit: 4163


View Profile
March 30, 2021, 09:50:40 AM
Merited by LoyceV (4), pooya87 (2), ABCbits (2), hugeblack (2), o_e_l_e_o (2), mocacinno (1)
 #3

-snip-
But then I tried importing a rewarded address from a random block. For example, I imported this one: 1M311YjWBuHbZhLDynBKFCTXosJe7d2Boi (rewarded address for block 23231)

Its balance is 50.00001094 BTC (3 unspent outputs including the block reward). This is what it'll show you if you import it on electrum:
-snip-
Electrum doesn't display P2PK transactions, and the earlier coinbase transactions are all P2PK transactions.

When you're importing a watch-only address, Electrum looks for the transactions which is related to you through it's script hash derived from the address. P2PK transactions are thus not related to that scripthash and not shown.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BlackHatCoiner (OP)
Legendary
*
Online Online

Activity: 1498
Merit: 7259


Farewell, Leo


View Profile
March 30, 2021, 10:32:12 AM
 #4

Electrum doesn't display P2PK transactions, and the earlier coinbase transactions are all P2PK transactions.
By P2PK transactions you mean the input AND the ouput? They both (or more) must be p2pk addresses in order to not show it? Because I can see that two out of the three transactions above are normally shown on electrum and since the address is P2PKH, all of its outputs are P2PK. You probably mean something different, that I'll kindly ask you to explain it more.

Are both of the following transactions P2PK?

1) P2PKH Address A ---> 1 BTC ---> P2PKH Address B.
2) Non-P2PKH Address A ---> 1 BTC ---> P2PKH Address B.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4163


View Profile
March 30, 2021, 12:06:33 PM
Merited by ABCbits (1), hosseinimr93 (1), BlackHatCoiner (1)
 #5

By P2PK transactions you mean the input AND the ouput? They both (or more) must be p2pk addresses in order to not show it? Because I can see that two out of the three transactions above are normally shown on electrum and since the address is P2PKH, all of its outputs are P2PK. You probably mean something different, that I'll kindly ask you to explain it more.
Public keys are not technically addresses as addresses are the hash of the public key.

Let's establish some things first for clarity. 1M311YjWBuHbZhLDynBKFCTXosJe7d2Boi did not exist in 2009; Satoshi (or whichever miner who mined that block) did not send the Bitcoins to a Bitcoin address but to a public key. Blockexplorers tend to oversimplify this and associate public keys with the corresponding addresses had it been expressed as an address. You can check it yourself by decoding the raw transaction and see that it is infact a P2PK transaction.

Blockexplorers will associate P2PK transactions to the corresponding addresses and that is fine. But, in the case of Electrum, your query to the server would be your watch-only address which is not a public key. Since Electrum nodes only fetch the transactions related to that script hash (ie. the two transactions shown) as they do not do what blockexplorers usually do, you would only see the transactions that are sent to and from that address, not public key.

Are both of the following transactions P2PK?

1) P2PKH Address A ---> 1 BTC ---> P2PKH Address B.
2) Non-P2PKH Address A ---> 1 BTC ---> P2PKH Address B.
No. P2PK is Pay-to-Public-Key which means you're not specifying the outputs as an address but rather an ECDSA public key.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BlackHatCoiner (OP)
Legendary
*
Online Online

Activity: 1498
Merit: 7259


Farewell, Leo


View Profile
March 30, 2021, 12:48:35 PM
 #6

No. P2PK is Pay-to-Public-Key which means you're not specifying the outputs as an address but rather an ECDSA public key.
All that time, I thought that these addresses hadn't exposed their ECDSA public key and they weren't in danger of quantum computers. I thought that the only possible way to steal the funds was by brute forcing a RIPEMD-160 hash. That's why they say that satoshi's addresses are in danger...

Thank you ranochigo! For once more, I learnt a new thing today on this forum.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
March 30, 2021, 08:32:46 PM
 #7

I thought that the only possible way to steal the funds was by brute forcing a RIPEMD-160 hash.
Note that you cannot reverse a RIPEMD-160 function (or SHA256 followed by RIPEMD-160, for that matter) and find the original user's public key. It would be possible (although incredibly unlikely) to find a collision with another random public key, but there would only be a roughly 1 in 296 chance that the public key you found was the same public key as the user in question used when generating that address.

That's why they say that satoshi's addresses are in danger...
According to this article, there are a fairly static number of bitcoin, around 2 million, in P2PK addresses, and this hasn't really changed since 2014. These are mostly early coins which have never moved since being mined, some of which will belong to Satoshi.
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10495



View Profile
March 31, 2021, 02:29:46 AM
 #8

I wanted to check something on the rewarded address of the genesis block, so I imported it as a watch-only wallet.
You should also keep in mind that the reward of genesis block is not spendable so the actual balance of the receiving key in that block is minus that 50BTC reward. In other words that particular UTXO was never entered into the UTXO database.
However, some broken block explorers have been showing the wrong balance for it.

.
.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!