{"id":6434,"date":"2018-04-03T16:50:09","date_gmt":"2018-04-03T16:50:09","guid":{"rendered":"https:\/\/www.legitgambling.com\/news\/?p=6434"},"modified":"2018-04-03T15:44:23","modified_gmt":"2018-04-03T15:44:23","slug":"better-coin-selection-algorithm-allows-bitcoin-to-cut-fees","status":"publish","type":"post","link":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/","title":{"rendered":"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg\" alt=\"\" width=\"300\" class=\"alignleft size-full wp-image-2009\" \/>\u2018<em>Coin Selection<\/em>\u2019 is the technical term used to talk about the algorithm that allows Bitcoin to decide which bits of data are to be <a href=\"https:\/\/www.legitgambling.com\/cryptocurrency\/bitcoin\/limits-buying-bitcoin\">used to create a user&#39;s transaction<\/a>. This is the digital equivalent of <strong>a person giving the cashier $5 for a $2 item and getting back $3 in change<\/strong>. This particular algorithm will be receiving a major update in Bitcoin code very soon.<\/p>\n<p>While this may not sound like a major breakthrough it will result in a massive improvement because this particular algorithm is not fully optimized in the core code. The most significant impact resulting from the change in the <a href=\"https:\/\/en.bitcoin.it\/wiki\/User:Gmaxwell\/coin_selection\">\u2018<em>Coin Selection<\/em>&#8216; algorithm<\/a> is that it will see a potential change in transaction fees.<\/p>\n<p>In a statement, <strong>Andrew Chow<\/strong>, Bitcoin Core contributor said <\/p>\n<blockquote><p>Bitcoin Core&#39;s original coin selection algorithm actually needs a lot of reworking, especially with regards to transaction fees. It&#39;s inefficient and it ends up doing a weird loop to try to guess the amount of transaction fees that are needed<\/p><\/blockquote>\n<p>This is why the people behind Bitcoin have been working hard on developing this new algorithm that is being labeled as \u2018<em>branch and bound<\/em>\u2019 or \u2018<em>BnB<\/em>\u2019. This new algorithm will carry out calculations in a more efficient way \u2013 resulting in a small bump in processing speed and lower transaction fees.<\/p>\n<p>This change was proposed two years ago but has only recently been deemed ready to be added to <a href=\"https:\/\/www.legitgambling.com\/news\/bitcoins-rally-aided-release-bitcoin-core-0-16-0\/\">Bitcoin Core<\/a>. This feature should be ready for general use by the time the 17th version of the core software is <strong>released which will most likely be in 2019<\/strong>.<\/p>\n<h2>How Coin Selection Works<\/h2>\n<p>The new coin selection algorithm is a big step up from how it used to be. When Bitcoin is in your wallet, it is not just one piece of data. It is divided into several chunks. There could be several transaction chunks in your wallet. These are technically called \u2018<em>unspent transaction outputs<\/em>\u2019 or UTXOs.<\/p>\n<p>As an example, a customer might have a UTXO worth 0.3 BTC, some 0.2 BTC UTXOs and a few other denominations. The chunking of UTXO\u2019s are based on previous transactions and how they were sent to the person.<\/p>\n<p>If a customer needs to pay for 0.2 BTC, the old algorithm might select the 0.3 BTC chunk as the input of the transaction. There will then be two outputs: the 0.2 BTC that receives the payment, and the 0.1 BTC which is the customer\u2019s change. However, the inefficiency in the old algorithm means that it was not good at picking the right data chunks and always ended up creating \u2018change outputs\u2019 instead of just selecting the exact data chunk. The inefficient process also created \u2018dust\u2019 the small pieces of Bitcoin that are not worth spending because of transaction fees.<\/p>\n<p>Thanks to the new algorithm, <a href=\"https:\/\/www.legitgambling.com\/cryptocurrency\/bitcoin\">Bitcoin<\/a> can now avoid both of these issues. BnB looks at the payment needed and looks for the exact UTXO needed. This has a knock-on effect on transaction fees since if an exact match can be found; the transaction data is smaller and easier to process. The process is still being tweaked, but developers are optimistic about its future use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2018Coin Selection\u2019 is the technical term used to talk about the algorithm that allows Bitcoin to decide which bits of data are to be used to create a user&#39;s transaction. This is the digital equivalent of a person giving the cashier $5 for a $2 item and getting back $3 in change. This particular algorithm [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-6434","post","type-post","status-publish","format-standard","hentry","category-bitcoin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Better Coin Selection Algorithm Allows Bitcoin To Cut Fees<\/title>\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.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees\" \/>\n<meta property=\"og:description\" content=\"\u2018Coin Selection\u2019 is the technical term used to talk about the algorithm that allows Bitcoin to decide which bits of data are to be used to create a user&#039;s transaction. This is the digital equivalent of a person giving the cashier $5 for a $2 item and getting back $3 in change. This particular algorithm [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-03T16:50:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg\" \/>\n<meta name=\"author\" content=\"Kate Leaman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KateLLeaman\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kate Leaman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/\"},\"author\":{\"name\":\"Kate Leaman\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/#\\\/schema\\\/person\\\/d08e190f732ea23e0fb1df4100c9c06c\"},\"headline\":\"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees\",\"datePublished\":\"2018-04-03T16:50:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/\"},\"wordCount\":529,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/bitcoin.jpg\",\"articleSection\":[\"Bitcoin\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/\",\"url\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/\",\"name\":\"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/bitcoin.jpg\",\"datePublished\":\"2018-04-03T16:50:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/#\\\/schema\\\/person\\\/d08e190f732ea23e0fb1df4100c9c06c\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/bitcoin.jpg\",\"contentUrl\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/bitcoin.jpg\",\"width\":380,\"height\":250},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/#\\\/schema\\\/person\\\/d08e190f732ea23e0fb1df4100c9c06c\",\"name\":\"Kate Leaman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/kate-leaman.jpg\",\"url\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/kate-leaman.jpg\",\"contentUrl\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/kate-leaman.jpg\",\"caption\":\"Kate Leaman\"},\"description\":\"Kate is our resident cryptocurrency expert, she will be guiding you through the rise of new digital coins as well as providing insights of what's to come and what to avoid going forward..\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/KateLLeaman\"],\"url\":\"https:\\\/\\\/www.legitgambling.com\\\/news\\\/author\\\/kate-leaman\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees","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.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/","og_locale":"en_US","og_type":"article","og_title":"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees","og_description":"\u2018Coin Selection\u2019 is the technical term used to talk about the algorithm that allows Bitcoin to decide which bits of data are to be used to create a user&#39;s transaction. This is the digital equivalent of a person giving the cashier $5 for a $2 item and getting back $3 in change. This particular algorithm [&hellip;]","og_url":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/","article_published_time":"2018-04-03T16:50:09+00:00","og_image":[{"url":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg","type":"","width":"","height":""}],"author":"Kate Leaman","twitter_card":"summary_large_image","twitter_creator":"@KateLLeaman","twitter_misc":{"Written by":"Kate Leaman","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#article","isPartOf":{"@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/"},"author":{"name":"Kate Leaman","@id":"https:\/\/www.legitgambling.com\/news\/#\/schema\/person\/d08e190f732ea23e0fb1df4100c9c06c"},"headline":"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees","datePublished":"2018-04-03T16:50:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/"},"wordCount":529,"commentCount":0,"image":{"@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#primaryimage"},"thumbnailUrl":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg","articleSection":["Bitcoin"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/","url":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/","name":"Better Coin Selection Algorithm Allows Bitcoin To Cut Fees","isPartOf":{"@id":"https:\/\/www.legitgambling.com\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#primaryimage"},"image":{"@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#primaryimage"},"thumbnailUrl":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg","datePublished":"2018-04-03T16:50:09+00:00","author":{"@id":"https:\/\/www.legitgambling.com\/news\/#\/schema\/person\/d08e190f732ea23e0fb1df4100c9c06c"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.legitgambling.com\/news\/better-coin-selection-algorithm-allows-bitcoin-to-cut-fees\/#primaryimage","url":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg","contentUrl":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2017\/12\/bitcoin.jpg","width":380,"height":250},{"@type":"WebSite","@id":"https:\/\/www.legitgambling.com\/news\/#website","url":"https:\/\/www.legitgambling.com\/news\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.legitgambling.com\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.legitgambling.com\/news\/#\/schema\/person\/d08e190f732ea23e0fb1df4100c9c06c","name":"Kate Leaman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2018\/02\/kate-leaman.jpg","url":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2018\/02\/kate-leaman.jpg","contentUrl":"https:\/\/www.legitgambling.com\/news\/wp-content\/uploads\/2018\/02\/kate-leaman.jpg","caption":"Kate Leaman"},"description":"Kate is our resident cryptocurrency expert, she will be guiding you through the rise of new digital coins as well as providing insights of what's to come and what to avoid going forward..","sameAs":["https:\/\/x.com\/KateLLeaman"],"url":"https:\/\/www.legitgambling.com\/news\/author\/kate-leaman\/"}]}},"_links":{"self":[{"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/posts\/6434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/comments?post=6434"}],"version-history":[{"count":0,"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/posts\/6434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/media?parent=6434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/categories?post=6434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.legitgambling.com\/news\/wp-json\/wp\/v2\/tags?post=6434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}