Bitcoin Forum
May 14, 2024, 01:18:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Database of orphan blocks  (Read 648 times)
jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
May 05, 2015, 04:41:37 AM
 #1

AFAIK there are 2 open databases of orphan blocks, https://www.biteasy.com/ and https://blockchain.info/ . However, they don't have data before 2014. Also, it seems blockchain.info reports more orphan blocks than biteasy.com but I haven't matched the results.

I wonder if anyone is keeping a database of all orphan blocks. I know it is not easy to define "orphan blocks" because it is trivial to fork the chain when the difficulty was low.

I'm particularly interested in those "buggy forks", e.g. the negative value output in 2010 and the v0.8 fork in 2013, and forks with double spending. (I thought there was also a fork related to P2SH in 2012 but I'm not sure. I learnt bitcoin after BIP16 was done)

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
1715692727
Hero Member
*
Offline Offline

Posts: 1715692727

View Profile Personal Message (Offline)

Ignore
1715692727
Reply with quote  #2

1715692727
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715692727
Hero Member
*
Offline Offline

Posts: 1715692727

View Profile Personal Message (Offline)

Ignore
1715692727
Reply with quote  #2

1715692727
Report to moderator
1715692727
Hero Member
*
Offline Offline

Posts: 1715692727

View Profile Personal Message (Offline)

Ignore
1715692727
Reply with quote  #2

1715692727
Report to moderator
Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
May 05, 2015, 06:34:44 AM
 #2

aren't orphan block stored in the blkxxxx.dat file? with -printblocktree you should be able to print those in the debug log
jl2012 (OP)
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
May 05, 2015, 07:21:19 AM
 #3

aren't orphan block stored in the blkxxxx.dat file? with -printblocktree you should be able to print those in the debug log

printblocktree is no longer available in 0.10

I suppose unless my node was online when the orphan block was created, I won't have a copy of it as nodes will only forward the best chain

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1166


View Profile WWW
May 05, 2015, 07:45:41 AM
 #4

aren't orphan block stored in the blkxxxx.dat file? with -printblocktree you should be able to print those in the debug log

printblocktree is no longer available in 0.10
You can use the "getchaintips" RPC call instead.

I suppose unless my node was online when the orphan block was created, I won't have a copy of it as nodes will only forward the best chain
This, however, is true of course.  You will only be able to see blocks that your node has seen on the network.

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
May 05, 2015, 07:57:12 AM
 #5

Old forks must be obtained from a source you trust-- just just to be honest but to have competently curated their collection; with low difficulty its now easy for someone to forge a circa 2011 or circa 2012 fork; and various people have spammed the network with faux old blocks in the past.  If you actually care about the integrity of whatever you're looking at you should want to be sure that whatever process collected the blocks can actually attest to their timeliness.

There were many short forks (e.g. 3-5 blocks) related to p2sh, but no one with an updated node would have recorded them; since they were rejected right out.  Being online is not sufficient, you had to have accepted the block before you would have committed it to disk so if you never thought the now-extinct branch was best (which requires validity), you wouldn't have it.

Getchaintips is the right way to explore forks with current software.
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!