Bitcoin Forum
April 19, 2024, 07:58:01 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: orphaned block  (Read 484 times)
chrisvl (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
January 24, 2017, 10:20:07 PM
 #1

A question if a miner submit a block and marked as orphaned can re submit it ? what are the chances a blockexplorer to shows a block as orphaned when the block is valid ?


1713513481
Hero Member
*
Offline Offline

Posts: 1713513481

View Profile Personal Message (Offline)

Ignore
1713513481
Reply with quote  #2

1713513481
Report to moderator
1713513481
Hero Member
*
Offline Offline

Posts: 1713513481

View Profile Personal Message (Offline)

Ignore
1713513481
Reply with quote  #2

1713513481
Report to moderator
1713513481
Hero Member
*
Offline Offline

Posts: 1713513481

View Profile Personal Message (Offline)

Ignore
1713513481
Reply with quote  #2

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

Posts: 1713513481

View Profile Personal Message (Offline)

Ignore
1713513481
Reply with quote  #2

1713513481
Report to moderator
1713513481
Hero Member
*
Offline Offline

Posts: 1713513481

View Profile Personal Message (Offline)

Ignore
1713513481
Reply with quote  #2

1713513481
Report to moderator
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1005


View Profile
January 24, 2017, 10:39:43 PM
 #2

A question if a miner submit a block and marked as orphaned can re submit it ?

No, he can't. There isn't any "known parent" to that block.

what are the chances a blockexplorer to shows a block as orphaned when the block is valid ?

Error from the blockchain explorer, or the blockchain explorer followed a fork.
chrisvl (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
January 24, 2017, 10:43:58 PM
 #3

A question if a miner submit a block and marked as orphaned can re submit it ?

No, he can't. There isn't any "known parent" to that block.

what are the chances a blockexplorer to shows a block as orphaned when the block is valid ?

Error from the blockchain explorer, or the blockchain explorer followed a fork.
i know that that he cant,but i see something which made a little to be surprised,i see a block in blockchain.info as orphan and then as vaild

-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


View Profile WWW
January 24, 2017, 10:45:30 PM
 #4

i know that that he cant,but i see something which made a little to be surprised,i see a block in blockchain.info as orphan and then as vaild
That just means blockchain.info was originally looking at the wrong fork that then ended up losing the orphan race to see which block eventually became labelled as valid.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
chrisvl (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
January 24, 2017, 10:49:02 PM
 #5

i know that that he cant,but i see something which made a little to be surprised,i see a block in blockchain.info as orphan and then as vaild
That just means blockchain.info was originally looking at the wrong fork that then ended up losing the orphan race to see which block eventually became labelled as valid.
Note: the miner who their block marked as orphan is the same miner when their block marked as valid

chrisvl (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
January 24, 2017, 10:49:40 PM
 #6

Thank guys

DannyHamilton
Legendary
*
Offline Offline

Activity: 3360
Merit: 4570



View Profile
January 25, 2017, 12:08:47 AM
 #7

i see something which made a little to be surprised,i see a block in blockchain.info as orphan and then as vaild

There are two possibilities...


1.  The very likely possibility.  Blockchain.info has a bug and displayed the block as orphaned when they shouldn't have.  Later they fixed the problem and showed the block as not orphaned.


2.  The much less likely possibility.  The block became orphaned, and then became not orphaned.  This doesn't require the miner to re-submit the block.  It just requires that the orphaned fork grow long enough to be the longest chain.

Theoretical example:
  • The entire network agrees that block 449859 mined by F2Pool is the most recent block in the consensus chain.
  • You and I both mine a block (449860) on top of that at almost the exact same time.  We both broadcast our block to the network.  Due to the time it takes the blocks to propagate across all the nodes, approximately half the network thinks your block is valid (and doesn't even see mine), and approximately half the network thinks my block is valid (and dosen't even see yours).
  • Someone that received my block mines a block on top of it (449861 on top of my 449860). They broadcast their block to the network.  Now the chain with my block is longer than the chain with your block (it has this extra new block), so your block becomes orphaned.
  • Nodes that had previously received your block start to abandon it and switch to my chain.
  • Before all the nodes and miners that were previously working on your block hear about my block, someone that had received your block mines a block on top of it (449861 on top of your 449860). They broadcast their block to the network, and some of the nodes hear about the second block on top of yours before they hear about the second block on top of mine.  These nodes ignore my chain since it is the same length as the one they already have with your block. So now the network is still split, but most of the network (including blockchain.info) has sees my chain as valid and your block as orphaned.
  • One of the few miners that didn't switch to my chain solve a block (449862 on top of 449861 on top of your 449860) and broadcasts it.
  • Your chain is now longer than my chain.  Nodes that had previously received my block (and the one block on top of it) start to abandon both of those blocks and switch to your chain that has 2 blocks on top of your block.
  • My block and the one on top of it become orphans, and your block (and the two blocks on top of it) become the consensus chain.
  • blockchain.info's nodes see this new consensus chain and their database is updated to switch your block from orphaned back to valid
  • The entire network eventually sees this new chain with your valid block and my orphaned block.  All the miners are now working to solve block 449863 which will be on your chain.
Kakmakr
Legendary
*
Offline Offline

Activity: 3430
Merit: 1957

Leading Crypto Sports Betting & Casino Platform


View Profile
January 25, 2017, 05:56:30 AM
 #8

Just to add something, I noticed Blockchain.info is not updating or reflecting the situation as quickly as other block explorers for some reason. I have 3 transactions unconfirmed for more than 18 hours at the moment, and when I use Blockchain.info, it does not even show that the transactions are unconfirmed.

When I used https://blockexplorer.com it showed the status immediately. So this might just be a bug in Blockchain.info software. < A delay between what is shown, and what the real situation is > ^hmmmmm^

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..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!