Bitcoin Forum
April 23, 2024, 06:19:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Block #503198 what is it ?  (Read 456 times)
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 09, 2018, 06:13:29 PM
Merited by ABCbits (1)
 #1

i am parsing blockchain and came to this strange block.

Block #503198


ref: https://blockchain.info/block/00000000000000000011b4db68e2f052572fdfd93c8293257b7727429f5418b9

and lots of questions came to mind.

why this block has only 1 tx ?
its not like beginning days of bitcoin when only 1 tx used to be there in a block, there are backlog of 100k+ tx and why this block only has 1 tx ?

all previous and later blocks has 1k+ tx in them, then why is this block empty ?

what am i missing here ?

thanks for your time.




1713896340
Hero Member
*
Offline Offline

Posts: 1713896340

View Profile Personal Message (Offline)

Ignore
1713896340
Reply with quote  #2

1713896340
Report to moderator
1713896340
Hero Member
*
Offline Offline

Posts: 1713896340

View Profile Personal Message (Offline)

Ignore
1713896340
Reply with quote  #2

1713896340
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
PEG-TOKEN
Copper Member
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1

peg-token.com


View Profile WWW
January 09, 2018, 06:19:15 PM
Merited by ABCbits (1)
 #2

The protocol leaves it up to the miner to decide which transactions to include in a block. There is no requirement for them to include any transactions at all, other than the "coinbase" transaction which specifies where to send the block reward.

However, most transactions have fees attached, which the miner can collect only by including those transactions in the block. So this gives the miner an incentive to include transactions if there are any outstanding.

Note that a block with no transactions does still contribute to the security of the currency: it increases the amount of hashing that an attacker would need to do to reverse a transaction recorded in a previous block.

(They would have to produce a chain showing more work than the current one, including the work proved by the zero-transaction block.)

| PEGTOKEN |  - https://peg-token.com - | Digital Asset Creation | BTC | ETH Cross-Chain Tokens
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 09, 2018, 06:28:43 PM
 #3

The protocol leaves it up to the miner to decide which transactions to include in a block. There is no requirement for them to include any transactions at all, other than the "coinbase" transaction which specifies where to send the block reward.

However, most transactions have fees attached, which the miner can collect only by including those transactions in the block. So this gives the miner an incentive to include transactions if there are any outstanding.

Note that a block with no transactions does still contribute to the security of the currency: it increases the amount of hashing that an attacker would need to do to reverse a transaction recorded in a previous block.

(They would have to produce a chain showing more work than the current one, including the work proved by the zero-transaction block.)

whats the use of such block ? if they are not helping network to reduce the unconfirmed tx ? they are only making it hard to reverse the tx or providing their hashpower.

so what needs to be done to mine such block ? what do you tell your miner ? not to include any tx .

what happens when more people start to do same thing ., and not include transactions in block ?

i gotta read more stuff now, all this time i missed it, block can be empty too, then what is block made of ? how is the coinbase tx gets created/generated.

dang.

edit:

looks likr consensus is what i need to look into.

block = coinbase tx + regular tx (optional)

coinbase tx gives block reward
regular tx gives tx fees.




thanks .

Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
January 09, 2018, 07:13:45 PM
Last edit: January 09, 2018, 08:17:51 PM by Carlton Banks
Merited by ABCbits (2)
 #4

Some miners have mining code that works like this:

If they solve a block very quickly after the previous block N (i.e. only a few seconds later), then they simply relay an empty block N + 1 (there's only one transaction because a single transaction is the minimum required to pay the block reward to their mining address).

The rationale is that if they wait for their mempool to re-sort the remaining transactions, they risk some other miner solving block N + 1 during the time it takes to choose the transactions to include in their solution for block N + 1. Since the block reward is still fairly high in comparison to fees, this is considered to be an economic strategy.

Vires in numeris
CrazyCraig
Sr. Member
****
Offline Offline

Activity: 501
Merit: 340


Bye Felisha!


View Profile
January 09, 2018, 07:55:22 PM
 #5

Some miners have mining code that works like this:

If they solve a block very quickly after the previous block N (i.e. only a few seconds later), then they simply relay an empty block N + 1 (1 transaction is the minimum required to pay the block reward to their mining address).

The rationale is that if they wait for their mempool to re-sort the remaining transactions, they risk some other miner solving block N + 1 during the time it takes to choose the transactions to include in their solution for block N + 1. Since the block reward is still fairly high in comparison to fees, this is considered to be an economic strategy.

Thank you for this.

Personally I thought it had more to do with transactions in the queue rather than miners picking and choosing.
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
January 10, 2018, 05:48:37 AM
 #6

If they solve a block very quickly after the previous block N (i.e. only a few
seconds later), then they simply relay an empty block N + 1
Absurd. Nonsence. Very poor understanding from legendary forum user  Cry

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 10, 2018, 07:45:08 AM
 #7

If they solve a block very quickly after the previous block N (i.e. only a few
seconds later), then they simply relay an empty block N + 1
Absurd. Nonsence. Very poor understanding from legendary forum user  Cry

enlighten us

TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 10, 2018, 09:01:35 AM
 #8

If they solve a block very quickly after the previous block N (i.e. only a few
seconds later), then they simply relay an empty block N + 1
Absurd. Nonsence. Very poor understanding from legendary forum user  Cry

No, he was spot on actually. When the previous block has just been found other miners may not have yet had the new block relayed to them so they do not know what is included in it. If they include transactions in their block that were in the previous block it would be rejected as invalid. In that situation, they will mine an empty block to claim the block reward.

https://news.bitcoin.com/reason-bitcoin-miners-empty-blocks/
Quote
In that case, the miner must start with an empty block N+1, even if there are transactions waiting in his queue: because, without knowing the contents of block N, he cannot check whether those transactions are valid or not. If he is lucky, he may solve that empty block N+1, even before he finishes downloading the body of block N. That is why there are empty blocks. 

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
January 10, 2018, 10:40:37 AM
 #9

No, he was spot on actually. When the previous block has just been found other miners may not have yet had the new block relayed to them so they do not know what is included in it. If they include transactions in their block that were in the previous block it would be rejected as invalid. In that situation, they will mine an empty block to claim the block reward.
This explanation is much better (but not perfect either).

It does not cover the processes in the stratum protocol between pool and connected to it asics,
but at least it does not have the words "...then they simply relay an empty block N + 1..."

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
Turkish88
Full Member
***
Offline Offline

Activity: 714
Merit: 104



View Profile
January 10, 2018, 11:37:07 AM
 #10

Maybe it was 51% attack ? I do not know how but this is the place to be, big amount of miners accept this version of block #503198

Help to Ukrainian citizens
ETH donations adress - 0xe23CB47AC32F0b8750d4D0Dd4e160Fa6F8fF30EF
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 10, 2018, 11:48:44 AM
 #11

Maybe it was 51% attack ? I do not know how but this is the place to be, big amount of miners accept this version of block #503198

imho 51% attack is not that easy and why do something like that ? unless there are bitcoins worth couple of millions are at stake.


TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 10, 2018, 11:50:15 AM
 #12

Maybe it was 51% attack ? I do not know how but this is the place to be, big amount of miners accept this version of block #503198

imho 51% attack is not that easy and why do something like that ? unless there are bitcoins worth couple of millions are at stake.

No, it was not, the answer has already been given above. Please take the time to read and learn something rather than just posting complete nonsense.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
January 10, 2018, 12:24:36 PM
Last edit: January 10, 2018, 12:58:03 PM by Carlton Banks
 #13

"...then they simply relay an empty block N + 1..."

that means "the next block". English is not your first language, that's always been abundantly clear.


https://news.bitcoin.com/reason-bitcoin-miners-empty-blocks/
Quote
In that case, the miner must start with an empty block N+1, even if there are transactions waiting in his queue: because, without knowing the contents of block N, he cannot check whether those transactions are valid or not. If he is lucky, he may solve that empty block N+1, even before he finishes downloading the body of block N. That is why there are empty blocks.


Hmmm, I discounted this specific situation due to how long BIP 152 (compact blocks) has been available, my understanding was that new blocks now propagate so fast that orphaned blocks (the result of trying to propagate new block solutions with transactions from a previous block) are exceptionally rare.

So, I figured that with such a big mempool these days, re-sorting transactions for inclusion would be a more significant factor than knowing which transactions are now invalid in a new block. But in essence, it's propagation latency issues (i.e. the block race) that cause miners to mine empty blocks. Which latency issues are relevant today, I am not completely sure of.

Vires in numeris
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
January 10, 2018, 01:01:12 PM
 #14

"...then they simply relay an empty block N + 1..."

that means "the next block". English is not your first language, that's always been abundantly clear.

English is not my native language too. The problem is in another place.
It it not possible to relay empty block N + 1 simply or hardly or any other manner
because block is not solved yet!

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 10, 2018, 01:09:20 PM
 #15

Which latency issues are relevant today, I am not completely sure of.

Simply that the miner finds the next block when he is aware of a new block but hasn't fully downloaded and verified it. It might be a very short timespan but there still is that in between period however fast your internet connection and processors are. Orphaned blocks are when the miner is totally unaware of the new block and as you say a very rare now.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
January 10, 2018, 01:55:25 PM
Last edit: January 10, 2018, 03:29:45 PM by Carlton Banks
 #16

It it not possible to relay empty block N + 1 simply or hardly or any other manner
because block is not solved yet!

If one defines block N as the most recent block, and N + 1 as the subsequent block to that, and that a given miner has a solution for N + 1, then said miner can successfully relay their solution for block N + 1. You clearly didn't understand my sentence, otherwise, you wouldn't be trying to imply I said something which I didn't say.

Which latency issues are relevant today, I am not completely sure of.

Simply that the miner finds the next block when he is aware of a new block but hasn't fully downloaded and verified it. It might be a very short timespan but there still is that in between period however fast your internet connection and processors are. Orphaned blocks are when the miner is totally unaware of the new block and as you say a very rare now.


I guess that condition could still exist, compact blocks do not change the probability of solving blocks seconds after the previous block, and so there is only a marginal case where compact blocks improve the window of opportunity to win the propagation-race of a full block v.s. an empty block. I assumed that transaction re-ordering for a large mempool was the contemporary reason for empty blocks without considering this.

Vires in numeris
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
January 10, 2018, 03:01:49 PM
 #17

If one defines block N as the most recent block, and N + 1 as the subsequent block to that, and that a given miner has a solution for N + 1, then said miner can successfully relay their solution for block N + 1. You clearly didn't understand my sentence, otherwise, you wouldn't be trying to imply I said something which I didn't say.

Miner (asic holder) does not have transaction set ever! And mining software does not
switch automatically to block N+1 if block N is found somewhere in network.
I understand you lack of knowledge. Your explanations are very poor. Point. Good bye. I am out from this topic

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
January 10, 2018, 04:00:23 PM
 #18

I see, so how does the miner broadcast a block they solved if they never know which transactions to include since the last block? All blocks would be empty if that was true.


amaclin, you made an abrupt decision to start distinguishing between ASIC software and mining software, which are indeed different, in order to make a childish point about nothing except your tiny ego (that distinction has no relevance when explaining this phenomenon). Please don't return to the thread, you're not very helpful

Vires in numeris
Colorblind
Member
**
Offline Offline

Activity: 392
Merit: 41

This text is irrelevant


View Profile
January 10, 2018, 05:34:23 PM
 #19

If one defines block N as the most recent block, and N + 1 as the subsequent block to that, and that a given miner has a solution for N + 1, then said miner can successfully relay their solution for block N + 1. You clearly didn't understand my sentence, otherwise, you wouldn't be trying to imply I said something which I didn't say.

Miner (asic holder) does not have transaction set ever! And mining software does not
switch automatically to block N+1 if block N is found somewhere in network.
I understand you lack of knowledge. Your explanations are very poor. Point. Good bye. I am out from this topic

Miner receives block contents (transactions) from mining pool. It's not miner's job to form the block, his job is to calculate nonce.

P.s. by miner in this context I mean ASIC owner. Not canonical "Miner", that is actually made from pool+all ASICs.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4598



View Profile
January 10, 2018, 06:30:56 PM
Last edit: January 10, 2018, 06:40:58 PM by DannyHamilton
Merited by ABCbits (3)
 #20

Miner (asic holder) does not have transaction set ever! And mining software does not
switch automatically to block N+1 if block N is found somewhere in network.
I understand you lack of knowledge. Your explanations are very poor. Point. Good bye. I am out from this topic
Miner receives block contents (transactions) header (or perhaps midstate) from mining pool. It's not miner's job to form the block, his job is to calculate nonce.

While I don't always agree with amaclin1's methods or opinions, he is generally correct when he is talking specifically about bitcoin technical facts.

I'm also aware that his responses to Carlton Banks and TheQuin were the result of changing from a generalized discussion of "miners" to a specific discussion of "mining pool hashing participants".

That being said, he is correct when he says that the (asic holder) does not have the transactions, and you are mistaken when you suggest that they do have the "block contents". I've corrected your response to him where I've quoted you above.

The miner (ASIC holder) typically does NOT receive the contents or transactions of the block. All he needs to do his job is the 80 byte header.  I haven't paid close attention to developments in pool mining, but I'm guessing that most modern pool mining doesn't even send the entire header?  It probably just sends the midstate after beginning the SHA256 hash on the first half of the header.

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!