{"id":803,"date":"2018-03-07T07:00:13","date_gmt":"2018-03-07T06:00:13","guid":{"rendered":"https:\/\/www.blocktac.com\/?p=803"},"modified":"2018-03-05T14:51:35","modified_gmt":"2018-03-05T13:51:35","slug":"how-the-blockchain-works","status":"publish","type":"post","link":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/","title":{"rendered":"How the blockchain works"},"content":{"rendered":"<p>A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks. The only two operations are add transaction and view transaction. So the basic blockchain processing consists of the following steps:<\/p>\n<ul>\n<li>Add new and undeletable transactions and organize them into blocks.<\/li>\n<li>Cryptographically verify each transaction in the block.<\/li>\n<li>Append the new block to the end of the existing immutable blockchain.<\/li>\n<\/ul>\n<p>More comprehensively, a blockchain is also a distributed database that maintains a doubly linked list of ordered blocks. Each block averages 1 megabyte and contains control data of approximately 200 bytes, such as a timestamp, a link to a previous block, some other fields, and 1 to N transactions as can fit in the remaining space.<\/p>\n<p>The blocks once recorded are designed to be resistant to modification. Through the use of a peer-to-peer network and a distributed timestamping server, a public blockchain database is managed autonomously. Blockchains are an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way.<\/p>\n<p>The ledger itself can also be programmed to trigger transactions automatically. Blockchains are secure by design and an example of a distributed computing system of interactive consistency, of decentralized consensus. These features make blockchains ideal for recording events, medical records, identity management, transaction processing, and a host of emerging applications.<\/p>\n<p>The public blockchain is also a peer-to-peer program with one very important difference: not only does it move files (data) from peer to peer, it also ensures that all the peers have the same exact data. It enforces this. If the data changes on one machine, it changes on all the machines. There are rules specifying exactly how a change can be made, and if someone doesn\u2019t follow them and modifies their copy illegally, they\u2019re ignored.<\/p>\n<p>As noted, the way current public blockchains like Bitcoin and Ethereum work is that new data is just appended onto the old. Data is only written, never deleted. This is how it gets the name <em>blockchain<\/em>, because new data is added in batches, or blocks, and appended to the existing blocks, forming a chain of blocks.<\/p>\n<p>Not only does everyone have the same database (blockchain), but everyone gets a locker within the blockchain that only they can access. Normally, exclusive access to something is managed with usernames and passwords. The public blockchain has no central authority to manage usernames and passwords, so instead it uses cryptography.<\/p>\n<p>Each user is able to generate a locker address and a private key code that allows them to unlock the locker. The locker is only an analogy, of course. In reality it\u2019s just an ID number (referred to as an address), which is tagged to a user\u2019s data. The private key is a code that allows the user to prove they\u2019re the creator (or owner) of that <em>address<\/em>. Only the person who generated the address would have the private key, and no one can ever determine what the private key is from the address alone.<\/p>\n<p>Finally, not only are static data stored in the dataset, but you can store executable code in it too. A piece of code written in JavaScript-type language, such as Ethereum Solidity, might be sitting there on everyone\u2019s machine waiting to be executed and no one can change it. This code is also tagged with someone\u2019s address. The owner of that address gets to decide what operations are open to the public and what only they can execute. They only get to make this decision at the time the code is written. Once written, it cannot be changed. Everyone will still be able to see the code and what it\u2019s doing, but can only interact with it in the ways specified by the owner.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end&#8230;<\/p>\n","protected":false},"author":2,"featured_media":801,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[69],"tags":[72],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How the blockchain works - BLOCKTAC<\/title>\n<meta name=\"description\" content=\"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.\" \/>\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.blocktac.com\/en\/news\/how-the-blockchain-works\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How the blockchain works - BLOCKTAC\" \/>\n<meta property=\"og:description\" content=\"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/\" \/>\n<meta property=\"og:site_name\" content=\"BLOCKTAC\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-07T06:00:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-05T13:51:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"452\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Francisco Guill\u00e9n\" \/>\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\":\"Organization\",\"@id\":\"https:\/\/www.blocktac.com\/#organization\",\"name\":\"BlockTac\",\"url\":\"https:\/\/www.blocktac.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.blocktac.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/01\/Logo-blocktac-web.png?fit=101%2C50&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/01\/Logo-blocktac-web.png?fit=101%2C50&ssl=1\",\"width\":101,\"height\":50,\"caption\":\"BlockTac\"},\"image\":{\"@id\":\"https:\/\/www.blocktac.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.blocktac.com\/#website\",\"url\":\"https:\/\/www.blocktac.com\/\",\"name\":\"BLOCKTAC\",\"description\":\"Blocktac - Certify your Knowledge and Experience\",\"publisher\":{\"@id\":\"https:\/\/www.blocktac.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.blocktac.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1\",\"width\":452,\"height\":300},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage\",\"url\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/\",\"name\":\"How the blockchain works - BLOCKTAC\",\"isPartOf\":{\"@id\":\"https:\/\/www.blocktac.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage\"},\"datePublished\":\"2018-03-07T06:00:13+00:00\",\"dateModified\":\"2018-03-05T13:51:35+00:00\",\"description\":\"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/www.blocktac.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How the blockchain works\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.blocktac.com\/#\/schema\/person\/d447ca8ff6960ed362dac91602c1c269\"},\"headline\":\"How the blockchain works\",\"datePublished\":\"2018-03-07T06:00:13+00:00\",\"dateModified\":\"2018-03-05T13:51:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage\"},\"wordCount\":666,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.blocktac.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1\",\"keywords\":[\"Blockchain\"],\"articleSection\":[\"News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.blocktac.com\/#\/schema\/person\/d447ca8ff6960ed362dac91602c1c269\",\"name\":\"Francisco Guill\u00e9n\",\"url\":\"https:\/\/www.blocktac.com\/en\/author\/fguillen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How the blockchain works - BLOCKTAC","description":"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.","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.blocktac.com\/en\/news\/how-the-blockchain-works\/","og_locale":"en_US","og_type":"article","og_title":"How the blockchain works - BLOCKTAC","og_description":"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.","og_url":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/","og_site_name":"BLOCKTAC","article_published_time":"2018-03-07T06:00:13+00:00","article_modified_time":"2018-03-05T13:51:35+00:00","og_image":[{"width":452,"height":300,"url":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Francisco Guill\u00e9n","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.blocktac.com\/#organization","name":"BlockTac","url":"https:\/\/www.blocktac.com\/","sameAs":[],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.blocktac.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/01\/Logo-blocktac-web.png?fit=101%2C50&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/01\/Logo-blocktac-web.png?fit=101%2C50&ssl=1","width":101,"height":50,"caption":"BlockTac"},"image":{"@id":"https:\/\/www.blocktac.com\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.blocktac.com\/#website","url":"https:\/\/www.blocktac.com\/","name":"BLOCKTAC","description":"Blocktac - Certify your Knowledge and Experience","publisher":{"@id":"https:\/\/www.blocktac.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.blocktac.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage","url":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1","width":452,"height":300},{"@type":"WebPage","@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage","url":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/","name":"How the blockchain works - BLOCKTAC","isPartOf":{"@id":"https:\/\/www.blocktac.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage"},"datePublished":"2018-03-07T06:00:13+00:00","dateModified":"2018-03-05T13:51:35+00:00","description":"A blockchain is a database encompassing a physical chain of fixed-length blocks that include 1 to N transactions, where each transaction added to a new block is validated and then inserted into the block. When the block is completed, it is added to the end of the existing chain of blocks.","breadcrumb":{"@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.blocktac.com\/en\/"},{"@type":"ListItem","position":2,"name":"How the blockchain works"}]},{"@type":"Article","@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#article","isPartOf":{"@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage"},"author":{"@id":"https:\/\/www.blocktac.com\/#\/schema\/person\/d447ca8ff6960ed362dac91602c1c269"},"headline":"How the blockchain works","datePublished":"2018-03-07T06:00:13+00:00","dateModified":"2018-03-05T13:51:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#webpage"},"wordCount":666,"commentCount":0,"publisher":{"@id":"https:\/\/www.blocktac.com\/#organization"},"image":{"@id":"https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1","keywords":["Blockchain"],"articleSection":["News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.blocktac.com\/en\/news\/how-the-blockchain-works\/#respond"]}]},{"@type":"Person","@id":"https:\/\/www.blocktac.com\/#\/schema\/person\/d447ca8ff6960ed362dac91602c1c269","name":"Francisco Guill\u00e9n","url":"https:\/\/www.blocktac.com\/en\/author\/fguillen\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.blocktac.com\/wp-content\/uploads\/2018\/03\/bloques.jpg?fit=452%2C300&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9BDnS-cX","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/posts\/803\/"}],"collection":[{"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/posts\/"}],"about":[{"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/types\/post\/"}],"author":[{"embeddable":true,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/users\/2\/"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/comments\/?post=803"}],"version-history":[{"count":0,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/posts\/803\/revisions\/"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/media\/801\/"}],"wp:attachment":[{"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/media\/?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/categories\/?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blocktac.com\/en\/wp-json\/wp\/v2\/tags\/?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}