Prepare, brace your self. Studying this would possibly enrage and confound you, it’d confuse you, you would possibly even get mad sufficient to punch your display screen (don’t do this.) Think about this a set off warning.
Bitcoin is a database. Interval. That’s what it’s. The blockchain is a database for storing previous updates to have the ability to reproduce the present state of that database, the UTXO set. The whole Bitcoin protocol is constructed across the database. What’s a legitimate entry in that database, and what’s not a legitimate database entry? Who’s allowed to suggest entries to that database, how do you make sure that solely these customers’ entries will probably be thought-about and accepted? What’s the authentication mechanism proscribing writing entries to this database? How do you throttle database entries so that folks can’t make so many it overloads or crashes the software program managing the database? How do you make sure that folks can’t make single entries which can be giant sufficient to trigger different denial of service considerations?
It’s all in regards to the database.
Proof-of-work? The whole goal of that within the protocol is to handle who can really course of updates to the database. Bitcoin is supposed to be a decentralized system, so it wanted a approach for the database to be up to date in a decentralized approach whereas nonetheless permitting customers to come back to consensus with all their particular person copies of the database on a single replace to it. If everyone seems to be simply updating their very own copy of the database by themselves, there isn’t a approach everybody will come to consensus on a single model of the database. Should you rely upon some authority figures to deal with updates, then the replace course of isn’t really decentralized. This was the purpose of POW, to permit anybody to course of an replace, however not with out incurring a verifiable price in doing so.
Proof-of-work is just a decentralized mechanism for updating a database.
The whole peer-to-peer community structure? It exists solely to propagate proposed database replace entries (transactions), and finalized database updates (blocks). Nodes verifying transactions as they enter their mempool? It’s to pre-filter proposed entry updates to the database and guarantee they’re legitimate. Nodes verifying {that a} block meets the required issue goal? It’s to pre-filter a proposed database replace and guarantee it is legitimate earlier than passing it on to different nodes to replace their native copy.
The peer-to-peer community exists purely to reconcile a number of copies of the identical database.
Bitcoin script? It actually exists for the only goal of functioning as an authorization mechanism for entries within the database. With the intention to delete an current entry within the present database state, the UTXO set, a person proposing that replace should present authentication proof assembly the situations of the script locking the prevailing database entry. Solely current entries, or UTXOs, may be “spent” in an effort to authorize the creation of latest entries into the database. Miners are the one ones within the protocol allowed to create entries with out assembly the situation of eradicating an current one by assembly the authorization necessities set out in it’s locking script.
Bitcoin script is just a mechanism to manage and prohibit who can write to the database.
Each single facet of what Bitcoin is revolves across the core central operate of sustaining a database, and making certain that many community individuals all retaining their particular person copies of that database stay in sync and agree on what the present state of the database is. The entire properties that make Bitcoin worth as a type of cash, or a method of cost, are actually derived from the way it features as a database.
Many individuals on this area suppose that this database needs to be used solely for a method of cost, or a type of cash, and I empathize with that view. I too suppose that’s an important use case for it, and I feel that each effort needs to be taken in an effort to scale that exact use case as a lot as doable with out sacrificing the sovereignty and safety of with the ability to immediately work together with that database your self.
However it’s nonetheless only a database while you boil all the way down to the target actuality of what Bitcoin is. Individuals prepared to pay the prices denominated in satoshis to put in writing an entry that’s thought-about legitimate underneath the principles of that database can accomplish that. There may be nothing you are able to do in an effort to cease them in need of altering what is taken into account a legitimate entry in that database, which entails convincing everybody else to additionally undertake a brand new ruleset concerning what’s a legitimate entry.
Individuals can freely compete inside the consensus guidelines to put in writing no matter they wish to this database, so long as they pay the prices required of the principles and incentive construction of mining to take action. Interval. Are lots of the issues folks can and are getting into into the database silly? Sure. After all they’re. The web is plagued by thoughts numbing quantities of silly issues in siloed databases far and wide. Why is that? As a result of persons are prepared to pay the associated fee to place silly issues in a database.
Whether or not that’s customers of the database paying the supplier and working, or the operator themselves permitting sure issues to be entered as a part of operations with out passing the associated fee to a person, is irrelevant. These silly issues solely exist someplace in digital kind as a result of indirectly, the associated fee is paid to take action.
Bitcoin is essentially no totally different from some other database in that regard. The one distinction is that there isn’t a singular proprietor or gatekeeper dictating what’s allowed or not. Each proprietor of a duplicate of the Bitcoin database is able to permitting or not permitting no matter they need; the issue is that if they select to refuse one thing that everybody else finds acceptable, they fall out of consensus with everybody else. Their native database is not in sync with the worldwide digital database that everybody else is following and utilizing.
Should you discover sure database entries unacceptable, then by all means change the principles your native copy validates new entries in opposition to. However that’s reducing off your nostril to spite your face. On the finish of the day Bitcoin runs on one easy axiom: pay to play. If folks pay the price, they get to play. That’s simply the way it works.
On the finish of the day, it’s solely as much as each particular person what they wish to permit or not permit of their database, however reducing via all of the semantics and philosophical debates happening proper now one factor stays unquestionably and objectively true: Bitcoin is a database.