{"id":2782,"date":"2024-10-22T08:47:47","date_gmt":"2024-10-22T08:47:47","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=2782"},"modified":"2024-10-22T08:47:47","modified_gmt":"2024-10-22T08:47:47","slug":"what-is-a-bitcoin-node","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/ja\/what-is-a-bitcoin-node\/","title":{"rendered":"\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u30ce\u30fc\u30c9\u3068\u306f\uff1f"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The Bitcoin network is a peer-to-peer (P2P) network of&nbsp;<strong>\u201cnodes\u201d<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In previous lessons, you learned what a&nbsp;<strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/strong>&nbsp;does and what a<strong>&nbsp;P2P\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/strong>&nbsp;\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But what exactly is a Bitcoin node? What does a Bitcoin node do? How does a Bitcoin node work?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A&nbsp;<strong>Bitcoin node,&nbsp;<\/strong>or more specifically, a&nbsp;<strong>Bitcoin \u201cfull node\u201d,&nbsp;<\/strong>is simply a computer that runs the&nbsp;<strong>\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u30fb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2&nbsp;<\/strong>(known as a \u201cBitcoin client\u201d or \u201cBitcoin client software\u201d).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It could be a desktop PC or laptop as long as it has enough hard drive storage to store historical data.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/17205530\/computer-as-bitcoin-node.png\" alt=\"\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u30ce\u30fc\u30c9\" class=\"wp-image-219366\"\/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The terms \u201cnode and \u201cfull node\u201d are often used synonymously, but there\u2019s actually a difference between the two. That\u2019s because there are two types of nodes: \u201c<strong>full node<\/strong>\"\u3068\"<strong>light node<\/strong>\u201d (or \u201clighweight node\u201d). Full nodes form the backbone of the Bitcion network, while light nodes&nbsp;<em>depend<\/em>&nbsp;on full nodes for functioning. Since light nodes can\u2019t function on their own, I consider them more as a \u201cbarnacle\u201d or a \u201cparasite\u201d since they need to attach themselves to a full node. Going forward, unless specified, when I use the word \u201cnode\u201d, I mean \u201cfull node\u201d.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">What does a Bitcoin node do?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A node does three things:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Follow rules<\/li>\n\n\n\n<li>Share information<\/li>\n\n\n\n<li>Keep a copy of confirmed transactions<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">1. Follow Rules<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u308c\u305e\u308c&nbsp;<strong>\u30ce\u30fc\u30c9<\/strong>&nbsp;(a computer running the Bitcoin software) has been programmed to follow a set of rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is called the&nbsp;<strong>\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u30fb\u30d7\u30ed\u30c8\u30b3\u30eb<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A protocol is a set of predefined&nbsp;<em>rules<\/em>&nbsp;that dictates how the network operates, and that all network participants must abide by in order for the network to function.<\/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\"><strong>Each Bitcoin node is autonomous<\/strong>. If you have a computer that runs a Bittcoin client, the network doesn\u2019t \u201ctell you what to do\u201d. Instead, the Bitcoin client already knows what to do, and it makes its own decisions based on the Bitcoin protocol (rules).<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Because the rules are predefined and coded into the Bitcoin software, this prevents any disagreement on the Bitcoin network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By following these rules, a node is able to check the transactions it receives and only relay them if everything is legit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If there are any problems, the transaction isn\u2019t passed on.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/17195723\/bitcoin-transaction-validation.png\" alt=\"Bitcoin node follow rules\" class=\"wp-image-219351\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A transaction that does not follow the rules will be&nbsp;<strong>rejected<\/strong>&nbsp;by the P2P network of computers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, one rule is that a person must own an equal or greater amount of bitcoins than they are trying to send.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your node receives a transaction where someone has tried to send more bitcoins than they own, the transaction won\u2019t be passed on to other nodes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If any member of the Bitcoin network attempts to broadcast false information, all nodes on the network will immediately recognize it as invalid and reject it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u305c\u306a\u3089&nbsp;<strong>each and every node can verify all information on the network&nbsp;<em>itself<\/em><\/strong>, there is no need to trust other members of the network. This makes Bitcoin a&nbsp;<strong>trustless system<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Share information<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The primary job of a node is to&nbsp;<em>\u30b4\u30b7\u30c3\u30d7<\/em>\u2026.<strong>to share information with other nodes<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This \u201cinformation\u201d a node shares are&nbsp;<strong>\u53d6\u5f15<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are TWO types of transactions that nodes share:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Fresh transactions<\/strong>: transactions that have recently entered the network.<\/li>\n\n\n\n<li><strong>Confirmed transactions<\/strong>: transactions that have been \u201cconfirmed\u201d and written to a file. These transactions are not shared individually but are first packaged into\u00a0<strong>BLOCKS<\/strong>\u00a0before they are shared.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/17201845\/fresh-vs-confirmed-bitcoin-transactions-1.png\" alt=\"Fresh vs. Confirmed Transactions\" class=\"wp-image-219356\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A node shares both \u201cfresh\u201d transactions and&nbsp;<em>\u30d6\u30ed\u30c3\u30af<\/em>&nbsp;of \u201cconfirmed\u201d transactions.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What\u2019s a block?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s pretend you go to your local coffee shop and after you pay, you get a receipt that signifies a \u201c<em>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/em>\u201d with the barista. You really love going to this coffee shop and after multiple visits, you now have a stack of receipts. You bundle them together. That\u2019s a \u201c<em>\u30d6\u30ed\u30c3\u30af<\/em>\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So in Bitcoin, transactions that are bundled together is called a \u201c<strong>block\u201d<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Don\u2019t worry too much about blocks or the differences between fresh and confirmed transactions right now. It will all become clear in later lessons.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Keep a copy of confirmed transactions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As mentioned above, each node also keeps&nbsp;<strong>blocks of \u201cconfirmed\u201d transactions<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These are held together in a file called the \u201c<strong>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<\/strong>\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What\u2019s a chain?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the purposes of this lesson, a \u201c<strong>\u30c1\u30a7\u30fc\u30f3<\/strong>\u201d just means that when you create a new&nbsp;<strong>\u30d6\u30ed\u30c3\u30af<\/strong>&nbsp;(another bundle of transactions), you hook it onto the previous block. And once hooked, it\u2019s permanent. You can\u2019t \u201cunhook\u201d it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s forever attached to that previous block. So using the coffee shop example I mentioned earlier, imagine a chain of multiple bundles of receipts\u2026that\u2019s a \u201cchain of blocks\u201d or a&nbsp;<em>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<\/em>.<br><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/17202107\/bitcoin-node-stores-blockchain-1.png\" srcset=\"https:\/\/bpcdn.co\/images\/2022\/02\/17202107\/bitcoin-node-stores-blockchain-1.png 800w, https:\/\/bpcdn.co\/images\/2022\/02\/17202107\/bitcoin-node-stores-blockchain-1-768x466.png 768w, https:\/\/bpcdn.co\/images\/2022\/02\/17202107\/bitcoin-node-stores-blockchain-1-360x218.png 360w, https:\/\/bpcdn.co\/images\/2022\/02\/17202107\/bitcoin-node-stores-blockchain-1-780x473.png 780w\" alt=\"Each node keeps a copy of the blockchain.\" width=\"800\" height=\"485\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fresh transactions travel around the network until they are added to the blockchain, which is just a&nbsp;<strong>ledger of&nbsp;<em>\u78ba\u5b9a<\/em>&nbsp;\u53d6\u5f15<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no&nbsp;<em>single<\/em>&nbsp;\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<strong>&nbsp;Every node has its own copy of the blockchain.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All nodes do their best to&nbsp;<strong>stay in sync<\/strong>. If some nodes have outdated copies of the blockchain, other nodes who have the most recent copy of the blockchain will share their copy with them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The cool thing about each node having its own copy of the blockchain is if one (or more) nodes go offline, the Bitcoin network can continue to still operate!&nbsp;<strong>The more nodes that are running, the more difficult it is to shut down Bitcoin<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The network is NOT dependent on any single node. There is no central point of failure. In order to actually kill Bitcoin, every single copy of the blockchain must be destroyed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every node is independent. Nodes (computers) can leave and rejoin the network at will.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a node disconnects from the network and returns, the computer will just download the freshest copy of Bitcoin\u2019s blockchain and it becomes a node again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nodes are a critical part of the Bitcoin system.&nbsp;<strong>Without nodes, there is no Bitcoin network<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And without the Bitcoin network, there is no blockchain since nodes are needed to store copies of the blockchain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And with no blockchain, there is no Bitcoin system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6982\u8981<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So far, you\u2019ve learned that the Bitcoin network is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>a leaderless peer-to-peer network of\u00a0<strong>\u30ce\u30fc\u30c9<\/strong>\u00a0(computers running Bitcoin software),<\/li>\n\n\n\n<li>in which\u00a0<em>every<\/em>\u00a0node independently checks that all rules are being followed,<\/li>\n\n\n\n<li>verifies<strong>\u00a0fresh transactions<\/strong>\u00a0\u305d\u3057\u3066<\/li>\n\n\n\n<li>stores a copy of the\u00a0<strong>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3<\/strong>\u00a0(the ledger of confirmed transactions).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Because every node is doing the same work, there is no central point of failure. There is no centralized server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order for&nbsp;<strong><em>\u30d5\u30ec\u30c3\u30b7\u30e5<\/em>&nbsp;transactions to be ADDED to the blockchain<\/strong>, they go through a process called \u201c<strong>\u63a1\u6398\"<\/strong>&nbsp;which is done by a special type of node known as \u201c<strong>\u9271\u6c11<\/strong>\".<\/p>","protected":false},"excerpt":{"rendered":"<p>The Bitcoin network is a peer-to-peer (P2P) network of&nbsp;\u201cnodes\u201d. In previous lessons, you learned what a&nbsp;network&nbsp;does and what a&nbsp;P2P network&nbsp;is. But what exactly is a Bitcoin node? What does a Bitcoin node do? How does a Bitcoin node work? A&nbsp;Bitcoin node,&nbsp;or more specifically, a&nbsp;Bitcoin \u201cfull node\u201d,&nbsp;is simply a computer that runs the&nbsp;Bitcoin software&nbsp;(known as a \u201cBitcoin client\u201d or \u201cBitcoin client software\u201d). It could be a desktop PC or laptop as long as it has enough hard drive storage to store historical data. The terms \u201cnode and \u201cfull node\u201d are often used synonymously, but there\u2019s actually a difference between the two. That\u2019s because there are two types of nodes: \u201cfull node\u201d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,12],"tags":[],"class_list":["post-2782","post","type-post","status-publish","format-standard","hentry","category-beginners-guide-to-the-bitcoin-network","category-learn-crypto"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2782","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=2782"}],"version-history":[{"count":1,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2782\/revisions"}],"predecessor-version":[{"id":2783,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2782\/revisions\/2783"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/media?parent=2782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/categories?post=2782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/tags?post=2782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}