{"id":2836,"date":"2024-10-22T10:31:49","date_gmt":"2024-10-22T10:31:49","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=2836"},"modified":"2024-10-22T10:31:49","modified_gmt":"2024-10-22T10:31:49","slug":"what-is-a-bitcoin-miner","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/es\/what-is-a-bitcoin-miner\/","title":{"rendered":"\u00bfQu\u00e9 es un minero de Bitcoin?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Does it involve any picks, shovels, or caves?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/08\/11131623\/btc-miner.png\" alt=\"Bitcoin miner\" class=\"wp-image-228640\" title=\"BTC Miner\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOPE.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this lesson, I will explain what a Bitcoin miner is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, we have the Bitcoin network again that contains conflicting transactions mentioned in the example. from the&nbsp;<a href=\"https:\/\/tradecenterfx.com\/beginners-guide-to-bitcoin-mining\/\" target=\"_blank\" rel=\"noreferrer noopener\">lecci\u00f3n anterior<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some nodes contain a \u201c<strong>purple<\/strong>&nbsp;\u201d transaction while others contain a \u201c<strong>red<\/strong>&nbsp;\u201d transaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But both transactions are trying to spend the same bitcoin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How do the computers come to an AGREEMENT on which transaction is the legit one?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is where \u201c<strong>mining\u201d<\/strong>&nbsp;comes in.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18144614\/bitcoin-mining-which-is-legit-transaction.png\" alt=\"Which Bitcoin transaction is the legit one?\" class=\"wp-image-219445\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s go inside this computer and take a deeper look.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18144737\/bitcoin-mining-deeper-look.png\" alt=\"Inside look at Bitcoin node\" class=\"wp-image-219446\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This node is a \u201c<strong>miner<\/strong>\u201c.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a Bitcoin miner?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A miner node is a Bitcoin full node that does additional work by&nbsp;<strong><em>confirming<\/em>&nbsp;transactions.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All miners are nodes, but not all nodes are miners. A Bitcoin miner can\u2019t operate without running a node. But a full node is not necessarily a miner.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While a full node will receive, store and broadcast transactions to other nodes, a miner node will do the same but it will also try to&nbsp;<strong>create new blocks<\/strong>&nbsp;of transactions and then attempt to broadcast them to other nodes who will then either accept or reject the new block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you\u2019ll see in the next lesson, due to the way \u201cmining\u201d works, a miner requires the use of&nbsp;<strong>specialized hardware<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re curious, here\u2019s an example of a mining machine. Isn\u2019t it beautiful?\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/08\/11132227\/antminer-1.png\" alt=\"Antminer\" class=\"wp-image-228643\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How does a Bitcoin miner \u201cmine\u201d?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s now go deeper and take a look inside a miner and see how it \u201cmines\u201d the transactions from the memory pool onto its file (the \u201cblockchain\u201d).<br><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18150534\/bitcoin-mining-node-deeper-look.png\" srcset=\"https:\/\/bpcdn.co\/images\/2022\/02\/18150534\/bitcoin-mining-node-deeper-look.png 960w, https:\/\/bpcdn.co\/images\/2022\/02\/18150534\/bitcoin-mining-node-deeper-look-768x432.png 768w, https:\/\/bpcdn.co\/images\/2022\/02\/18150534\/bitcoin-mining-node-deeper-look-360x203.png 360w, https:\/\/bpcdn.co\/images\/2022\/02\/18150534\/bitcoin-mining-node-deeper-look-780x439.png 780w\" alt=\"Deeper look into Bitcoin miner\" width=\"960\" height=\"540\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019re now looking inside a miner\u2019s&nbsp;<strong>memory pool<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It has the&nbsp;<strong>purple<\/strong>&nbsp;transaction in there.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151013\/bitcoin-miner-memory-pool-one-tx.png\" alt=\"Bitcoin miner with one transaction in memory pool\" class=\"wp-image-219448\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">But with a memory pool, you can have&nbsp;<strong>more than one transaction<\/strong>&nbsp;in there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So let\u2019s pretend there are more fresh transactions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, this memory pool contains&nbsp;<strong>four transactions<\/strong>. (In reality, a memory pool can hold thousands.)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151304\/bitcoin-miner-memory-pool-four-tx.png\" alt=\"Bitcoin miner with four transaction in memory pool\" class=\"wp-image-219449\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So what does miner do with all these transactions in its memory pool?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It will create a container called a \u201c<strong>candidate block<\/strong>\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which is just a container for transactions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The miner will fill this candidate block with transactions from the memory pool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a candidate block?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Think of a candidate block as a<strong><em>&nbsp;temporary<\/em>&nbsp;block<\/strong>&nbsp;that\u2019s created using transactions selected from the memory pool.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This temporary block is called a \u201ccandidate block\u201d because it\u2019s&nbsp;<strong>not yet a valid block<\/strong>. Only blocks that have actually been a<strong>dded to the blockchain<\/strong>&nbsp;(which is what the miner is trying to do) are considered valid blocks.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151548\/bitcoin-miner-candidate-block.png\" alt=\"Bitcoin miner creates a candidate block\" class=\"wp-image-219451\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So what this miner will do is&nbsp;<strong>fill this candidate block with transactions<\/strong>&nbsp;from the memory pool.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151651\/bitcoin-miner-candidate-block-fill.png\" alt=\"Bitcoin will fill candidate block\" class=\"wp-image-219452\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Like so\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151733\/bitcoin-miner-candidate-block-filled-with-tx.png\" alt=\"Bitcoin miner fills candidate block with transactions\" class=\"wp-image-219453\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Since space is limited, only a limited number of transactions can be included in each block. Miners are incentivized to prioritize the transaction with the highest fees.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And then, it will try and add this \u201cblock\u201d of transactions to the file (the \u201cblockchain\u201d).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So how does the candidate block actually get added to the blockchain?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18151944\/bitcoin-miner-add-candidate-block-to-blockchain.png\" alt=\"How does the candidate block actually get added onto the blockchain?\" class=\"wp-image-219454\"\/><\/figure>","protected":false},"excerpt":{"rendered":"<p>Does it involve any picks, shovels, or caves? NOPE. In this lesson, I will explain what a Bitcoin miner is. Here, we have the Bitcoin network again that contains conflicting transactions mentioned in the example. from the&nbsp;previous lesson. Some nodes contain a \u201cpurple&nbsp;\u201d transaction while others contain a \u201cred&nbsp;\u201d transaction. But both transactions are trying [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,12],"tags":[],"class_list":["post-2836","post","type-post","status-publish","format-standard","hentry","category-beginners-guide-to-bitcoin-mining","category-learn-crypto"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/comments?post=2836"}],"version-history":[{"count":1,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2836\/revisions"}],"predecessor-version":[{"id":2837,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2836\/revisions\/2837"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/media?parent=2836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/categories?post=2836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/tags?post=2836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}