Bitcoin Forum
June 07, 2024, 11:16:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why miners mine empty blocks?  (Read 161 times)
bitmover (OP)
Legendary
*
Online Online

Activity: 2324
Merit: 6004


bitcoindata.science


View Profile WWW
January 05, 2021, 03:46:02 AM
 #1

Recently I have been working with Bitcoin block data available in CSV format made by LoyceV to make this dashboard, and I have noticed that every day there are one or two empty blocks.

All this data is from the last 24 hours.

They are often mined by Okex or Huobi. I am trying to understand this.

For example, in the past 24hours Okex mined 2 empty blocks. Those blocks had only 1 transaction, the coinbase.




One of those blocks had more than 3 minutes of blocktime. Miner had enough time to add transactions from the mempool.

Are miners doing that to try to increase fees?

This isn't effective, and OKEX is probably only losing money by mining empty blocks. As we can see, Okex mined 2 empty blocks, didn't receive any fee. Additionally, there wasn't any spike in the fees that is bigger than normal. And even if there was a spike, other mine would get that fee spike.






Is it possible that  some miners are trying to fight against segwit adoption?


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

Activity: 2982
Merit: 4193



View Profile
January 05, 2021, 03:58:34 AM
 #2

If I'm not wrong, Loyce's data dump appears to be displaying the median time as indicated by the timestamp within the block header. The timestamp tends to deviate from miner to miner and it's deviation can be up to 2 hours. It would be better to be looking at the actual relayed time. The past 2 empty blocks by OKEX appears to be mined in succession from the previous blocks, even though the timestamp is way off.

Some mining pool still uses SPV mining for which empty blocks can be a product from such behaviors. As for their refusal to adopt Segwit, I don't think there's much effect on it. There are still plenty of legacy transactions on the chain and it wouldn't result in them mining empty blocks just because there isn't any legacy transactions of the legacy format left.


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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bitmover (OP)
Legendary
*
Online Online

Activity: 2324
Merit: 6004


bitcoindata.science


View Profile WWW
January 05, 2021, 04:08:22 AM
 #3

If I'm not wrong, Loyce's data dump appears to be displaying the median time as indicated by the timestamp within the block header. The timestamp tends to deviate from miner to miner and it's deviation can be up to 2 hours. It would be better to be looking at the actual relayed time. The past 2 empty blocks by OKEX appears to be mined in succession from the previous blocks, even though the timestamp is way off.

There is median_time, but there is also time, which is the blocktime.
I am using blocktime.

I checked in blockchair documentation:

Quote
https://blockchair.com/api/docs#link_102
time   string YYYY-MM-DD HH:ii:ss   Block time (UTC)

Either way, as I am looking at this daily, there are many miners which mine empty blocks within 8-10 minutes blocktime.

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

Activity: 3654
Merit: 2588


Evil beware: We have waffles!


View Profile
January 05, 2021, 04:13:50 AM
Last edit: January 05, 2021, 06:16:45 PM by NotFuzzyWarm
Merited by bitmover (2)
 #4

I suggest you read through this thread started by Kano regarding this exact subject...

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
January 05, 2021, 04:25:56 AM
 #5

-snip-
Hmm, I might be mistaken but I've went ahead to identify the OKEX blocks in questions and here's their stats for both of the instance for which they were mining the empty blocks with the preceding blocks included as well.

For the timeframe in question, the first field represents the received time while the second represents the timestamp within the headers.

664331,-snip-,2021-01-03 18:07:20,2021-01-03 17:29:06,-snip-F2Pool
664332,-snip-,2021-01-03 18:07:38,2021-01-03 17:30:52,-snip-,OKEX

664365,-snip-,2021-01-03 22:41:19,2021-01-03 22:13:48,-snip-,BTC.com
664366,-snip-,2021-01-03 22:41:34,2021-01-03 22:17:12,-snip-,OKEX

The second field is the block timestamp which is by no means accurate.

There are several miners still employing SPV mining to this day even with the optimization made with propagation time as well as validation times. As with most things, without access to see the code behind the mining pool, it's impossible to tell exactly what the miners are doing. The best hunch here is that they're probably SPV mining. Covert ASICBoost would favour empty blocks but given that most miners are doing overt ASICBoost nowadays, it would be highly unlikely.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tranthidung
Legendary
*
Offline Offline

Activity: 2296
Merit: 4057


Farewell o_e_l_e_o


View Profile WWW
January 05, 2021, 04:39:34 AM
Last edit: January 05, 2021, 04:51:41 AM by tranthidung
 #6

BTC empty blocks (2011 - 1 May 2020): miners, size, daily, monthly,yearly stats.

The data used for that analysis is outdated but you can take the results for time gaps (in seconds) between empty blocks and one-block-before (or one-block-precedent blocks)

AntPool: There are 1237 blocks with the timegaps <= 60 seconds per 1712 blocks. They account for 72.3% that is not a small proportion.
F2Pool: There are 712 blocks with the timegaps <= 60 seconds per 998 blocks. They account for 71.3% that is not a small proportion.
Check details

Raw results:
AntPool: https://bitcointalk.org/index.php?topic=5245684.msg54380171#msg54380171
F2Pool: https://bitcointalk.org/index.php?topic=5245684.msg54384360#msg54384360


I don't know the correlation of mining pools for empty, one-block-before, and one-block-after blocks. I did not include it in my past analysis. I will run it again when I have time to figure out how many percent of one-block-before, and one-block-after blocks are mined by the same pools that mined empty blocks.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
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!