{"id":2830,"date":"2024-10-22T10:26:39","date_gmt":"2024-10-22T10:26:39","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=2830"},"modified":"2024-10-22T10:28:20","modified_gmt":"2024-10-22T10:28:20","slug":"what-is-bitcoin-mining","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/ja\/what-is-bitcoin-mining\/","title":{"rendered":"\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u306e\u30de\u30a4\u30cb\u30f3\u30b0\u3068\u306f\uff1f"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u201cMining\u201d is the process of&nbsp;<strong>\u53d6\u5f15\u306e\u78ba\u8a8d<\/strong>&nbsp;\u305d\u3057\u3066&nbsp;<strong>adding them to the blockchain<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nodes that participate in mining are known as&nbsp;<strong>\u9271\u6c11<\/strong>&nbsp;and form a critical part of the Bitcoin network. As part of the mining process,<strong>&nbsp;\u65b0\u3057\u3044\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3<\/strong>&nbsp;are&nbsp;<em>created<\/em>, which are \u201cpaid\u201d to miners.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A nice way to better understand mining is to first see how BItcoin would work&nbsp;<strong>if it did NOT have mining<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how it\u2019d work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s say this is a&nbsp;<strong>\u30d5\u30a1\u30a4\u30eb<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18102503\/blockchain-file-360x192.png\" alt=\"File called a blockchain\" class=\"wp-image-219381\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It is stored on a computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Think of this file kind of like a Word doc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And let\u2019s call this file, the \u201c<strong>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<\/strong>\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A blockchain is a distributed ledger of \u201c<strong>\u30d6\u30ed\u30c3\u30af<\/strong>\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019ll dive deeper into blockchain in a later lesson, but for now, just know that each block contains a&nbsp;<strong>bundle of transactions<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now imagine this is the&nbsp;<strong>Bitcoin Network.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18102714\/bitcoin-mining-bitcoin-network-diagram.png\" alt=\"Imagine this is the Bitcoin Network.\" class=\"wp-image-219382\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These are all computers, connected together across the internet, and they\u2019re running the&nbsp;<strong>\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u30fb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">They\u2019re all sharing a copy of the same file, which is the&nbsp;<strong>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to send a bitcoin to someone, or&nbsp;<strong>\u8b72\u6e21&nbsp;<em>ownership<\/em>&nbsp;of a bitcoin to someone else<\/strong>, you would initiate a&nbsp;<strong>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18103047\/bitcoin-mining-send-bitcoin.png\" alt=\"Bitcoin Mining: Send Bitcoin\" class=\"wp-image-219385\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The transaction is just a&nbsp;<strong>\u30e9\u30a4\u30f3<\/strong>&nbsp;of data (in purple).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18104636\/bitcoin-mining-transaction-line.png\" alt=\"Bitcoin transaction is a line of data\" class=\"wp-image-219388\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When you initiate a transaction, it gets&nbsp;<strong>sent to a node<\/strong>&nbsp;of the Bitcoin network.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18105007\/bitcoin-mining-transactio-sent-to-node.png\" alt=\"Bitcon transaction gets sent to a node\" class=\"wp-image-219390\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If Bitcoin did NOT have mining, the way this would work is that this computer would&nbsp;<strong>record the transaction straight to the blockchain<\/strong>, the shared file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18105220\/bitcoin-mining-transaction-written-straight-to-blockchain.png\" alt=\"Bitcoin transaction written straight to blockchain\" class=\"wp-image-219391\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then the computer would&nbsp;<strong>pass on that transaction to the other nodes<\/strong>&nbsp;it is connected to and they will&nbsp;<strong>write the transaction data to their own file<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18105451\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes.png\" alt=\"\" class=\"wp-image-219392\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Those nodes would pass the transaction to every node they\u2019re connected to and would also write the transaction data to their own file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And so on\u2026.<br><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18105559\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes-and-so-on.png\" srcset=\"https:\/\/bpcdn.co\/images\/2022\/02\/18105559\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes-and-so-on.png 960w, https:\/\/bpcdn.co\/images\/2022\/02\/18105559\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes-and-so-on-768x432.png 768w, https:\/\/bpcdn.co\/images\/2022\/02\/18105559\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes-and-so-on-360x203.png 360w, https:\/\/bpcdn.co\/images\/2022\/02\/18105559\/bitcoin-mining-transaction-written-straight-to-blockchain-other-nodes-and-so-on-780x439.png 780w\" alt=\"Bitcoin nodes record transaction directly into their blockchain\" width=\"960\" height=\"540\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This would continue until the transaction has&nbsp;<strong>propagated the ENTIRE Bitcoin network<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u3057\u3066&nbsp;<em>every<\/em>&nbsp;node has written it to their file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So that\u2019s a simple way of having a shared file or a&nbsp;<strong>shared \u201cledger\u201d of transactions<\/strong>&nbsp;or a \u201c<strong>\u5206\u6563\u578b\u5143\u5e33<\/strong>\".<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18110421\/bitcoin-mining-transaction-written-straight-to-blockchain-fully-propogated.png\" alt=\"Bitcoin ansaction has propagated the entire network\" class=\"wp-image-219395\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Notice how ALL computers now have the&nbsp;<strong>purple line<\/strong>&nbsp;(transaction) stored on their&nbsp;<strong>\u30d5\u30a1\u30a4\u30eb<\/strong>&nbsp;(blockchain).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When all the nodes have updated their copy of the file,<strong>&nbsp;the ownership of the bitcoin will have changed from one person to the next person<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18110628\/bitcoin-mining-transaction-written-straight-to-blockchain-tx-completed.png\" alt=\"All Bitcoin nodes have updated their copy of the file. \" class=\"wp-image-219396\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And that\u2019s an example of a simple Bitcoin transaction. Congratulations!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>But we have a problem\u2026<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There\u2019s a problem that needs to be solved if we were to do it this way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s say you want to sell your bitcoin to this&nbsp;<strong>purple dude<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So you create a transaction to send bitcoin to the purple dude.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18113346\/bitcoin-mining-purple-dude.png\" alt=\"Send bitcoi to purple dude\" class=\"wp-image-219401\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then you send this transaction to the node on&nbsp;<strong>this side of the Bitcoin network<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18113449\/bitcoin-mining-purple-dude-send-to-node.png\" alt=\"Send Bitcoin transaction to the node on this side of the network. \" class=\"wp-image-219402\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">But let\u2019s say you\u2019re the shady type, and since you can\u2019t help it, you try to do something shady.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because it\u2019s a network of connected computers, you create a SECOND transaction that sends the SAME bitcoin to a different person like this&nbsp;<strong>red dude<\/strong>&nbsp;(on the right side).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18113619\/bitcoin-mining-red-dude.png\" alt=\"Send same bitcoin to red dude\" class=\"wp-image-219403\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then you send this transaction with the&nbsp;<strong>red dude<\/strong>&nbsp;into another node on the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WTF?!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You\u2019ve just inserted TWO separate transactions into the network<\/strong>&nbsp;that involves trying to&nbsp;<strong>spend the SAME bitcoin<\/strong>!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can do this because it\u2019s a network of computers located in different places all over the world.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What a sneaky jerk. Congratulations! You are shady as hell!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18113807\/bitcoin-mining-red-dude-send-to-node.png\" alt=\"Send Bitcoin transaction to another node in network\" class=\"wp-image-219404\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So what will happen from here is that these&nbsp;<strong>two transactions<\/strong>&nbsp;will start propagating across the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some nodes will receive the&nbsp;<strong>\u30d1\u30fc\u30d7\u30eb&nbsp;<\/strong>transaction. Other nodes will receive the&nbsp;<strong>\u8d64&nbsp;<\/strong>transaction.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18114001\/bitcoin-mining-nodes-receive-different-transactions.png\" alt=\"Different bitcoin transactions propogate network\" class=\"wp-image-219405\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the illustration below, when a computer tries to pass on its&nbsp;<strong>\u8d64&nbsp;<\/strong>transaction, this computer has already received the&nbsp;<strong>\u30d1\u30fc\u30d7\u30eb&nbsp;<\/strong>transaction spending this bitcoin so it would&nbsp;<strong>reject<\/strong>&nbsp;\u305d\u308c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which is good, but here lies the problem\u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18130058\/bitcoin-mining-node-rejects-transaction-1.png\" srcset=\"https:\/\/bpcdn.co\/images\/2022\/02\/18130058\/bitcoin-mining-node-rejects-transaction-1.png 960w, https:\/\/bpcdn.co\/images\/2022\/02\/18130058\/bitcoin-mining-node-rejects-transaction-1-768x432.png 768w, https:\/\/bpcdn.co\/images\/2022\/02\/18130058\/bitcoin-mining-node-rejects-transaction-1-360x203.png 360w, https:\/\/bpcdn.co\/images\/2022\/02\/18130058\/bitcoin-mining-node-rejects-transaction-1-780x439.png 780w\" alt=\"Bitcoin node rejects transaction\" width=\"960\" height=\"540\"><br>Now you have two CONFLICTING transactions on the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u899a\u3048\u3066\u304a\u3044\u3066\u307b\u3057\u3044\u3001&nbsp;<strong>every computer on the network needs to all share the SAME EXACT file<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some computers can\u2019t hold a file with the&nbsp;<strong>\u30d1\u30fc\u30d7\u30eb&nbsp;<\/strong>transaction, while others hold a file with the&nbsp;<strong>\u8d64&nbsp;<\/strong>transaction. They all have to pick one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ALL computers have to pick the&nbsp;<strong>\u8d64&nbsp;<\/strong>transaction OR the&nbsp;<strong>\u30d1\u30fc\u30d7\u30eb&nbsp;<\/strong>transaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If Bitcoin were to operate this way where transactions are written directly to the file, you would create this DOUBLE SPEND problem.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/18114430\/bitcoin-mining-conflicting-transactions.png\" alt=\"Conflicting transactions on Bitcoin network\" class=\"wp-image-219407\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bitcoin solves this problem!<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Please read my lesson on the&nbsp;<a href=\"https:\/\/www.babypips.com\/crypto\/learn\/what-problems-did-bitcoin-solve\" target=\"_blank\" rel=\"noreferrer noopener\">Double Spending Problem<\/a>&nbsp;if you\u2019re not familiar with it.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">So how do the computers&nbsp;<strong>come to an agreement<\/strong>&nbsp;on which transaction is the legit one?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Mining is the solution.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bitcoin solves this problem of not having conflicting transactions written to the blockchain, the shared \u201cfile\u201d.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u201cMining\u201d is the process of&nbsp;confirming transactions&nbsp;and&nbsp;adding them to the blockchain. Nodes that participate in mining are known as&nbsp;miners&nbsp;and form a critical part of the Bitcoin network. As part of the mining process,&nbsp;new bitcoins&nbsp;are&nbsp;created, which are \u201cpaid\u201d to miners. A nice way to better understand mining is to first see how BItcoin would work&nbsp;if it did NOT have mining. Here\u2019s how it\u2019d work. Let\u2019s say this is a&nbsp;file. It is stored on a computer. Think of this file kind of like a Word doc. And let\u2019s call this file, the \u201cblockchain\u201c. A blockchain is a distributed ledger of \u201cblocks\u201d. I\u2019ll dive deeper into blockchain in a later lesson, but for now, [&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-2830","post","type-post","status-publish","format-standard","hentry","category-beginners-guide-to-bitcoin-mining","category-learn-crypto"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/comments?post=2830"}],"version-history":[{"count":3,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2830\/revisions"}],"predecessor-version":[{"id":2833,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2830\/revisions\/2833"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/media?parent=2830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/categories?post=2830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/tags?post=2830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}