The Rising price of bitcoins — the virtual currency currently worth more than $ 250 billion — has attracted a lot of attention in recent weeks. But the real value of bitcoin is not in its growing value. And technological breakthrough, which is generally allowed to form the network. Still unknown inventor of Bitcoin, of which mention under the pseudonym Satoshi Nakamoto, developed an entirely new method of creating a decentralized, network consensus on the General Ledger transaction. This innovation was made possible thanks to the fully decentralized electronic payment system, which for decades dreamed of cyrobank.
How does bitcoin work? How digital signatures allow for virtual payments? The invention Nakamoto solves the problem of double spending, which limited previous attempts to create digital currencies? What is the future for bitcoin? All in good time.
theUntil 1970-ies of all known encryption schemes have been symmetric: the recipient of an encrypted message had to use the same secret key to decrypt the message which was used by the sender for encryption. But that all changed with the advent of asymmetric encryption schemes. It was a scheme in which a key for decryption of the message (known as the private/the personal/the private/the private key, private key) different from the key needed for encryption (public/open/shared key, public key) — no practical way to know the private key being available to the public.
Whitfield Diffie, an important person in the development of cryptography in the 70's
This means that you could easily reveal your public key, allowing you to use it to encrypt a message that only you, as the owner of the private key can decrypt. This breakthrough changed the field of cryptography, because it became obvious that any two people can communicate securely over an insecure channel without worrying that they will be able to read someone else.
Asymmetric encryption was another innovative use of digital signatures. In conventional public key cryptography, the sender encrypts the message with the public key of the recipient, and the recipient decrypts it with its private key. But it can flip: when the sender encrypts the message with its own key and the recipient decrypts it using the public key of the sender.
This does not protect the secrecy of the message, since anyone can obtain the public key. But this provides cryptographic proof that the message was created by the owner of the private key. Anyone with public key can verify the proof without knowing the secret key.
Very soon people realized that these digital signatures can make it possible to cryptographically secure digital money. Using a classic example, let's suppose Alice has a coin and she wants to pass it on to Bob.
She wrote the message "I, Alice, give her coin to Bob," and then signs the message with his own private key. Now Bob — or anyone else — can decrypt the signature using the public key of Alice. Since only Alice can create a protected message, Bob can use this to demonstrate that the coin now belongs to him.
If Bob wants to send a coin to Carol, he will follow the same procedure and declare that the coin Carol, encrypting the message with its private key. Carol can use this chain of signatures — the signature of Alice, transmitting a coin to Bob, and Bob's signature, transmitting the coin Carol — as proof that she owns this value.
Note that none of this requires formal third party for authorization or authentication of transactions. Alice, Bob and Carol can generate its own pair of public-private keys without help of third parties. anyone who knows the public keys of Alice and Bob can independently check whether a cryptographically valid chain of signatures. Digital signatures — combined with several innovations, which we will discuss later, allow people to engage in banking activities without needing a Bank.
theThe General scheme of digital cash are described in the previous section, is very close to how the real work bitcoin payments. Here's a simplified diagram of how the real bitcoin transactions:
Bitcoin transaction contains a list of inputs and outputs. Each output is associated with a particular public key. To last charge spent these coins, it needs input with a corresponding digital signature. Bitcoin uses elliptic curve cryptography for digital signatures.
For Example, suppose that you have the private key corresponding to the Public Key D in the diagram above. Someone wants to send you a 2.5 bitcoins. That someone creates a transaction like Transaction 3 2.5 bitcoins coming to you — the owner's public key D.
When you're ready to spend these bitcoins, you will create a new transaction kind of Transaction 4. You list the Transaction 3, the terminal 1 as a source of funds (findings indexed by zeros, so that the output 1 will be the second exit). You use your secret key to generate a Signature D signature that can be verified by using the public key of D. These 2.5 bitcoins are now divided between two new insights: 2 bitcoins to the Public Key E, and 0.5 bitcoins to the Public Key F. Now they can spend only the owners of the relevant secret keys.
A Transaction can have multiple inputs, and it must spend all of the bitcoins from the relevant conclusions of the previous transaction. If a transaction displays less bitcoins than it receives, the difference is treated as a payment for the transaction (the Commission) received by the bitcoin miner that processed the transaction. More on this later.
The network of bitcoin addresses that people use to send each other bitcoins, extracted from the public key like a Public Key D. the Exact details of the format of the addresses bitcoins are complicated and change over time, but a bitcoin address can be represented as a hash (short and random chain of bits, which serves as a cryptographic fingerprint) of the public key. Bitcoin addresses are encoded in a custom format Base58Check, which minimizes the risk of errors. A typical bitcoin address looks like this: 18ZqxfuymzK98G7nj6C6YSx3NJ1MaWj6on.
This transaction takes 6,07 bitcoins from one address input, and divides them between the two addresses output. One address output gets a little more than 5 bitcoins, and the other slightly less than 1 bitcoin. More likely, one of these addresses output belongs to the sender — sends "change" myself — and the other belongs to a third party.
Of Course, the real bitcoin transactions can be much more complicated simple examples shown above. Perhaps the most important function, illustrated above, is that instead of the public key, the output can have a verification script, written in a simple scripting language specific to bitcoin. To spend this output, the subsequent transaction must have settings that allow this script to evaluate to true (true).
This allows bitkulovoy network to implement arbitrarily complex conditions that determine how to spend the money. For example, a scenario may require three different signature stored in different people, and also require that the money was not spent until a certain time in the future. Unlike with Ethereum, the bitcoin language does not support looping, so the script is guaranteed to complete in a short period of time.
theMany people in the 1980-ies and 1990-ies wanted to use digital signatures to create a completely decentralized electronic cash system. But a fully decentralized system of digital currency were two big problems that demanded solutions.
One of the problems is how to introduce new coins into the system. Obviously, a viable payment network requires the creation of new coins, but if allowed to create new coins to anyone, anytime, the currency will quickly be useless.
The Second issue is that double-spending. Rules of bitcoin say that every transaction output can be spent only once. If someone tries to spend money twice the output, the bitcoin community in a certain way will be able to track this effort and to cancel the last transaction.
The Obvious solution would be to create a company that will manage a total record of all the transactions. Work traditional payment networks like MasterCard and PayPal. But the inventor of bitcoin Satoshi Nakamoto wanted to build a network that will not be managed by any single organization.
Therefore, Nakamoto invented the General Ledger — the blockchain — which is supported by computers, called nodes, operating in peer-to-peer network. Thousands of computers around the world store a separate copy of the entire block that holds every transaction that has occurred since the launch of the network in 2009. The network rewards the nodes that help to create the block chain, allowing them to create new bitcoins — so the problem of distribution of coins and at the same time creates the incentive to solve the problem of updating the book of records.
It looks like this: when the user wants to perform a bitcoin payment, it uses software to create a new transaction. From the user's perspective, it just means enter the transaction amount and the bitcoin address of the recipient in the network, and then press "send".
The Client software formulates a transaction and send it to the nearest node in the bitcoin network. The first node that hears about the transaction, shares it with others until it is widely distributed...
Recommended
The Oculus zuest 2 virtual reality helmet for $300. What's he capable of?
Why is the new Oculus zuest 2 better than the old model? Let's work it out together. About a decade ago, major technology manufacturers introduced the first virtual reality helmets that were available to ordinary users. There were two ways to find yo...
The mysteries of neurotechnology - can the brain be used as a weapon?
DARPA has launched the development of a neural engineering system to research a technology that can turn soldiers into cyborgs Despite the fact that the first representatives of the species Homo Sapiens appeared on Earth about 300,000 - 200,000 years...
What materials can be used to build houses on Mars?
Marsha constructions n the surface of the Red Planet SpaceX CEO Elon Musk is hopeful that humans will go to Mars in the next ten years. Adapted for long flight ship Starship is already in development, but scientists have not yet decided where exactly...
Related News
Lockheed Martin is developing a supersonic airliner
Among the developers of the various manned equipment erupted a real battle for who will release early supersonic aircraft, which will receive mass distribution. And recently, one of the largest manufacturers in the face of Lockhee...
In Russia introduced a system of liquid breathing
Today, Vice-President of the Russian Federation Dmitry Rogozin at the meeting with Serbian President Aleksandar Vucic showed him a number of innovative Russian developments in various fields. One of them was a unique system of liq...
Every Monday in the new issue of «News high-tech» we summarize the previous week, talking about some of the most important events, the key discoveries and inventions. This time we will talk about smart sweater from Samsu...
Electric eel has inspired scientists to create a biological energy source
For several decades scientists are looking for a way to create the most safe and biologically friendly way to supply energy to electrical devices implanted in the human body. Think to yourself: well, who wants to put in your body ...
Russia is working on hypersonic passenger aircraft
Despite the fact that modern aircraft allow us to travel great distances much faster than even, say, 50 years ago, on flights over long distances takes a lot of time. To solve this problem called hypersonic Airliners, one of which...
Is it possible to turn the Sahara desert into a giant solar panel?
In 1986, the voltage spike during security checks at the Chernobyl reactor caused a catastrophic explosion. Thirty-one people died on the spot, many more died due to the effects of the release. Along with the accident at Fukushima...
Every Monday in the new issue of «News high-tech» we summarize the previous week, talking about some of the most important events, the key discoveries and inventions. This time we will talk about Volkswagen MOIA, artific...
In the U.K. introduced the eternal sneakers with graphene sole
Any kind of footwear, especially sports, wear out really fast. Moreover, the material of the sole is not so important. Rubber, rubber or even metal mounted taps sooner or later become useless. But what if in the manufacture of sol...
Only 4 hours Google "nurtured" the best chess players in history
Chess is a difficult game. At least by human standards. But for heavy-duty artificial intelligence this is a common hobby that can be mastered in a very short time. In an article published in the online library Arxiv.org engineers...
Qualcomm Snapdragon 845 officially presented
the Second day of Qualcomm, as expected, devoted to the new member of the family of mobile processors. In this article we'll discuss about Snapdragon 845 and what breakthroughs can we expect from flagship smartphones in 2018. At...
Sponge City: the city of the future, which will protect from flooding and heat
due to abrupt climate change becoming ever more pressing question of adapting cities to new weather conditions. According to meteorologists, the average annual rainfall in recent years has increased several times. And a group of a...
Report from the summit Qualcomm. The first day
these days In the USA is the world technology summit organized by Qualcomm. Hi-News.ru had the opportunity to cover this event, so we will be happy to tell you what surprises are in store for us company and its partners, who took ...
NVIDIA has taught artificial intelligence to create a fake video
every day news and its achievements become more and more. On the days that AI created within the walls of Google, for the first time in history gave rise to new AI, superior to any alternative developed by man. Today will tell you...
The electric cars? Pfft... the Chinese have built the cargo ship on batteries
While the company Elon musk announces new models of passenger electric vehicles and even introduced the world to his first , Chinese engineers are not sitting idle. Without any problems they created the first ever electric for coa...
Every Monday in the new issue of «News high-tech» we summarize the previous week, talking about some of the most important events, the key discoveries and inventions. This time we will talk about the drones Kalashnikov, ...
Private new Zealand aerospace company is preparing for the second test run
the new Zealand company Rocket Lab is aiming to market the private space sector, is preparing for the second test launch of his missiles Electron. Next week, on Friday, December 8, will open the 10-day window within which the comp...
Every Monday in the new issue of «News high-tech» we summarize the previous week, talking about some of the most important events, the key discoveries and inventions. This time we will focus on the flying taxi VTOL SureF...
The neural network allows to make nuclear reactors safer
Engineers from Purdue University (Indiana, USA) are developing a new system that will be able to greatly increase the efficiency of inspections of the integrity of nuclear reactors through the use of artificial intelligence (AI). ...
Elon Musk has completed the construction of the world's largest battery in 100 days
You sure about how the famous inventor and, no doubt, a talented entrepreneur Elon Musk has won the tender for construction in Australia, the world's largest lithium-ion battery Tesla Powerpack. The Musk personally announced, amon...
The homeless of new York had proposed to settle in the comb
Design Agency from new York has proposed to use the blank walls of apartment blocks, securing them here like honeycombs from bee hives, created on a 3D printer, transforming the walls are not only art objects, but also providing t...
Comments (0)
This article has no comment, be the first!