{"id":972,"date":"2020-07-24T16:58:27","date_gmt":"2020-07-24T08:58:27","guid":{"rendered":"https:\/\/www.btse.com\/blog\/?p=972"},"modified":"2023-03-08T08:44:42","modified_gmt":"2023-03-08T08:44:42","slug":"orphan-blocks-explained","status":"publish","type":"post","link":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/","title":{"rendered":"Orphan Blocks Explained"},"content":{"rendered":"<p>written by <span style=\"text-decoration: underline;\"><a href=\"https:\/\/twitter.com\/emylacapra\" target=\"_blank\" rel=\"noopener noreferrer\">@emylacapra<\/a><\/span><\/p>\n<p><strong><span style=\"color: #151b26;\">Orphan, stale, and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks when there is a certain abnormality within their structure.<\/span><\/strong><\/p>\n<p><span style=\"color: #151b26;\">The terminology might be slightly confusing as there are several definitions with overlapping meanings, therefore we\u2019ll clarify what these types of blocks are and their impact on Bitcoin or any other cryptocurrency.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong><span style=\"color: #14171a;\">Orphan Blocks until 2015<\/span><\/strong><\/h2>\n<p><span style=\"color: #14171a;\">In origin, orphan blocks were literally blocks that did not have a parent, where the parent was the header, the previous block hash field. <\/span><\/p>\n<p><span style=\"color: #14171a;\">During the verification process of the newly received block, a node needed to find its parent before placing it onto the existing chain. The block would be saved in the orphan block pool and once the parent was found, it could be pulled out of the pool and linked to the rest of the chain. <\/span><\/p>\n<p><span style=\"color: #14171a;\">This phenomenon occurred when two blocks mined within a short time of each other were received in reverse order (the child before the parent).<\/span><\/p>\n<p><em><strong><span style=\"color: #1155cc;\"><a href=\"https:\/\/bitcoin.stackexchange.com\/questions\/5859\/what-are-orphaned-and-stale-blocks\" target=\"_blank\" rel=\"noopener noreferrer\">Peter Wuille<\/a> <\/span><\/strong><\/em>described them best here:<\/p>\n<blockquote><p><span style=\"color: #242729;\">&#8220;Orphan blocks originally means <em>having no parent.<\/em> These are blocks received by a node that does not have its entire ancestry (yet) and thus cannot be validated. Nodes keep such blocks in memory, while asking their peers to fill in the gap of their history.&#8221;<\/span><\/p><\/blockquote>\n<p><span style=\"color: #14171a;\">As a consequence, a node would download any block it received regardless if it had proof of work or not, because it had to download the whole block before checking the parent.<\/span><\/p>\n<p><span style=\"color: #14171a;\">Such orphan blocks existed in the older versions of the Bitcoin Core software, where network nodes could receive blocks despite the lack of data about their parentage. <\/span><\/p>\n<p><span style=\"color: #14171a;\">Since the release of<\/span><a href=\"https:\/\/bitcoin.org\/en\/release\/v0.10.0#bip-66-strict-der-encoding-for-signatures\" target=\"_blank\" rel=\"noopener noreferrer\"> <span style=\"color: #1155cc;\">Bitcoin Core v.0.10<\/span><\/a>, in early 2015, Bitcoin orphan blocks are no longer possible as the upgrade resolved the issue through a significant change in the download mechanism that would now only require downloading the header first and if valid then the rest of the block could be accepted.<\/p>\n<blockquote><p><span style=\"color: #222222;\">&#8220;We only ever request a block for which we have verified the headers, and store it to disk immediately. This means that a disk-fill attack would require PoW.<\/span><\/p><\/blockquote>\n<blockquote><p><span style=\"color: #24292e;\">As such, &#8220;maxorphanblocks&#8221; configuration was no longer necessary to protect a node from having its hard drive filled up with invalid block data, because it was now incredibly expensive to create orphan blocks due to needing a valid proof of work\u201d &#8211; <em><strong>Jameson Lopp.<\/strong><\/em> <\/span><\/p><\/blockquote>\n<p><span style=\"color: #242729;\">The removal allowed a faster synchronization of the Bitcoin chain, a much more robust system against unresponsive or slow peers, more security against DoS attacks related to peers feeding low-difficulty valid large blocks on a side branch, and no more orphan blocks stored in memory (reducing memory usage during sync).<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong><span style=\"color: #242729;\">Orphan Blocks Now<\/span><\/strong><\/h2>\n<p><span style=\"color: #242729;\">When blocks are not part of the conventional chain of blocks they are known as orphaned blocks. It means that the blocks were successfully mined but are not included on the current longest chain, likely because some other block at the same height had its chain extended first. <\/span><\/p>\n<p><em><strong><span style=\"color: #1155cc;\"><a href=\"https:\/\/bitcoin.stackexchange.com\/questions\/5859\/what-are-orphaned-and-stale-blocks\" target=\"_blank\" rel=\"noopener noreferrer\">Pieter Wuille<\/a> <\/span><\/strong><\/em>rather calls them <em>extinct <\/em>blocks. \u201cThese are blocks that were produced by building on a block that is no longer the active tip of the chain. Some nodes may have considered it to be the best block at some point, but they switched to another chain that does not contain the relevant block anymore. They are valid and verified, and their ancestry up to the genesis block is fully known &#8211; they&#8217;re just not currently &#8216;active&#8217;. They are sometimes called <em>stale blocks <\/em>or <em>orphan blocks.<\/em> The latter name originates from the fact that payouts from extinct blocks are denoted as &#8220;orphaned&#8221; in the reference client (referring to the fact that their coinbase transactions are now orphaned).\u201d<\/p>\n<p><span style=\"color: #333333;\">The block with the larger share of <\/span>proof of work<span style=\"color: #111111;\"> gets rewarded and accepted into the blockchain. The other block, with a smaller proof of work, is discarded and is named an orphan block. Such blocks are essentially valid and verified blocks, but due to the network\u2019s working mechanism and the lag time affecting their acceptance, one of the blocks is rejected, or orphaned, with no reward. In essence, the blockchain miner responsible for producing an orphan block does not get compensation for their time and energy.<\/span><\/p>\n<p><span style=\"color: #222222;\">Orphan blocks may occur without any disruption to the network and the system, however, if a network generates orphans very easily, unwanted forks may just as easily form in the chain. This can be accidental but can also be carried out by malicious actors leading to fraud on the network through \u201cdouble-spends\u201d. <\/span><\/p>\n<p><span style=\"color: #151b26;\">Because of improved communication more recently orphaned or stale blocks are increasingly rare. This is likely because the largest mining pools now have low-latency communication channels in place. In 2017, 60 orphan blocks were recorded compared with only five in 2018, and only two in 2019.<\/span><\/p>\n<p><span style=\"color: #333333;\">An orphan or extinct block may contain &#8220;orphaned transactions\u201d.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong><span style=\"color: #14171a;\">What Happens to Transactions in an Orphan Block?<\/span><\/strong><\/h2>\n<p><span style=\"color: #111111;\">Approximately 95% of transactions in blocks that are mined nearly simultaneously are the same transactions in both blocks with only roughly 5% that need to go back to the Mempool. They lack parental income sources at the time they are processed, typically have a lower transaction fee per byte than all other transactions, or have a larger size than other received transactions. They join the orphan block waiting to be verified, that\u2019s why lower fee transactions might take longer to be validated. Once the parent transaction is received, they join the Mempool, they get validated and included in the next winning block available.<\/span><\/p>\n<p><span style=\"color: #111111;\">This information can be handy to Bitcoin users who want to appropriately set their own transaction fees and facilitate propagation through the network by using <a href=\"https:\/\/en.bitcoin.it\/wiki\/Replace_by_fee\" target=\"_blank\" rel=\"noopener noreferrer\">RBF<\/a><\/span><span style=\"color: #111111;\"> (Replace by fee) or <a href=\"https:\/\/bitcoinelectrum.com\/how-to-do-a-manual-child-pays-for-parent-transaction\/\" target=\"_blank\" rel=\"noopener noreferrer\">Child Pays For Parent<\/a><\/span><span style=\"color: #111111;\"> (CPFP).<\/span><\/p>\n<p>&nbsp;<\/p>\n<div>\n<hr \/>\n<\/div>\n<p><em>If you have any feedback on this or any other topic, please feel free to reach out to us at any time at <span style=\"text-decoration: underline;\"><a href=\"feedback@btse.com\" target=\"_blank\" rel=\"noopener noreferrer\">feedback@btse.com<\/a><\/span> or <span style=\"text-decoration: underline;\"><a href=\"https:\/\/twitter.com\/BTSEcom\" target=\"_blank\" rel=\"noopener noreferrer\">@BTSEcom<\/a><\/span> on Twitter. We always love to hear from our amazing BTSE community.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>written by @emylacapra Orphan, stale, and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks when there is a certain abnormality within their structure. The terminology might be slightly confusing as there are several definitions with overlapping meanings, therefore we\u2019ll clarify what these types of blocks [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5320,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Orphan Blocks Explained &#8212; BTSE Blog<\/title>\n<meta name=\"description\" content=\"Orphan, stale and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks, when there is a certain abnormality within their structure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Orphan Blocks Explained\" \/>\n<meta property=\"og:description\" content=\"Orphan, stale and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks, when there is a certain abnormality within their structure.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"BTSE Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-24T08:58:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-08T08:44:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"4000\" \/>\n\t<meta property=\"og:image:height\" content=\"2250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"BTSE\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BTSE_Official\" \/>\n<meta name=\"twitter:site\" content=\"@BTSE_Official\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"BTSE\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Orphan Blocks Explained &#8212; BTSE Blog","description":"Orphan, stale and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks, when there is a certain abnormality within their structure.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/","og_locale":"en_US","og_type":"article","og_title":"Orphan Blocks Explained","og_description":"Orphan, stale and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks, when there is a certain abnormality within their structure.","og_url":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/","og_site_name":"BTSE Blog","article_published_time":"2020-07-24T08:58:27+00:00","article_modified_time":"2023-03-08T08:44:42+00:00","og_image":[{"width":4000,"height":2250,"url":"https:\/\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png","type":"image\/png"}],"author":"BTSE","twitter_card":"summary_large_image","twitter_creator":"@BTSE_Official","twitter_site":"@BTSE_Official","twitter_misc":{"Written by":"BTSE","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#article","isPartOf":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/"},"author":{"name":"BTSE","@id":"https:\/\/www.btse.com\/blog\/#\/schema\/person\/46ad80e1bffe6cf5d79938127822f2ca"},"headline":"Orphan Blocks Explained","datePublished":"2020-07-24T08:58:27+00:00","dateModified":"2023-03-08T08:44:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/"},"wordCount":1008,"publisher":{"@id":"https:\/\/www.btse.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png?fit=4000%2C2250&quality=75&ssl=1","articleSection":["Education"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/","url":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/","name":"Orphan Blocks Explained &#8212; BTSE Blog","isPartOf":{"@id":"https:\/\/www.btse.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#primaryimage"},"image":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png?fit=4000%2C2250&quality=75&ssl=1","datePublished":"2020-07-24T08:58:27+00:00","dateModified":"2023-03-08T08:44:42+00:00","description":"Orphan, stale and extinct blocks of transactions are all slight variants of a phenomenon that occurs in a chain of blocks, when there is a certain abnormality within their structure.","breadcrumb":{"@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#primaryimage","url":"https:\/\/i0.wp.com\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png?fit=4000%2C2250&quality=75&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png?fit=4000%2C2250&quality=75&ssl=1","width":4000,"height":2250,"caption":"Orphan Blocks Explained"},{"@type":"BreadcrumbList","@id":"https:\/\/www.btse.com\/blog\/orphan-blocks-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.btse.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Orphan Blocks Explained"}]},{"@type":"WebSite","@id":"https:\/\/www.btse.com\/blog\/#website","url":"https:\/\/www.btse.com\/blog\/","name":"BTSE Blog","description":"Navigating the Crypto Frontier - Insights, Analysis, and Strategies","publisher":{"@id":"https:\/\/www.btse.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.btse.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.btse.com\/blog\/#organization","name":"BTSE","url":"https:\/\/www.btse.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.btse.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/btse-logo.png","contentUrl":"https:\/\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/btse-logo.png","width":1007,"height":306,"caption":"BTSE"},"image":{"@id":"https:\/\/www.btse.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/BTSE_Official","https:\/\/discord.com\/invite\/btse","https:\/\/www.linkedin.com\/company\/btsecom\/","https:\/\/t.me\/btsecom"]},{"@type":"Person","@id":"https:\/\/www.btse.com\/blog\/#\/schema\/person\/46ad80e1bffe6cf5d79938127822f2ca","name":"BTSE","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dc01110861deb9c4a6b15c6c841e4457320749d7c005164340fbf8d4eacefc5d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc01110861deb9c4a6b15c6c841e4457320749d7c005164340fbf8d4eacefc5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc01110861deb9c4a6b15c6c841e4457320749d7c005164340fbf8d4eacefc5d?s=96&d=mm&r=g","caption":"BTSE"},"sameAs":["https:\/\/www.btse.com\/blog"],"url":"https:\/\/www.btse.com\/blog\/author\/btseadmin\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.btse.com\/blog\/wp-content\/uploads\/2023\/03\/f33f9f_0dee61b70fcb4f6d9d455e8e3fb8aa26-mv2.png?fit=4000%2C2250&quality=75&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/comments?post=972"}],"version-history":[{"count":2,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/posts\/972\/revisions"}],"predecessor-version":[{"id":6066,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/posts\/972\/revisions\/6066"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/media\/5320"}],"wp:attachment":[{"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/categories?post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.btse.com\/blog\/wp-json\/wp\/v2\/tags?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}