All cryptocurrencies works at the almost same way. Cryptocurrencies are based on a Peer to Peer (P2P) network. Down here we cover multiple arguments inerhit how cryptocurrencies works:
At the end of reading you will be able to understand the basics. Each section here it is only a little overview of how the bitcoin and cryptocurrencies works. In the next months I will deeply going over any section below.
The BitCoin Core software works as a Peer in a network composed by thousand of peer (that's why most of people call it: decentralization). The two main task of a peer are:
Currently you don't know yet about the:
The Address or Public Key, it is the code to share with your friends and with business's people and get the payments! Take care that if you share your main Public Key, people knows how many bitcoin you own. So, attention to the Privacy, the privacy concern about BitCoin is completely misinterpreted, there is no privacy between payments (if I send some bitcoin to your main address/public-key, and you have shared your main address/public-key, I can read and know all your payments you did). But in a context where you know how to operate, the Public Key and the sharable address that it is the same, works exactly like your IBAN or Swift code.
First thing to know is: the Secret Key is a random big number (2^256, a 256-bit number, about a number composed by 70 digits, it means if you did "heads or tails" 256 times you get your "private key") based on an ellyptic curve (y^2 = x^3+7 aka Secp256k1, it means your "Public Key", that it is your y in the formula, is derived by your Private Key that is your x). Also if you see as a sequence of letter and number from A to F and from 0 to 9 is called Hexadecimal (here a realtime converter to test/check and understand) derived from a Binary number.
The process to derive Public Key from the Private Key it's a very easy task. But to calculate the Private Key from the Public Key it's pretty impossible. The Public and Private keys are strictly connected together. With Private Key it is an easy and fast task to generate the Public Key, by the way the inverse path it is the one most difficult process that exists (a super computer could do it in about more than billion billion of years, let me say: don't try this at home).
The working protocol is based in a few main steps, but also there are some few rules.
First of all, we have a block genesis at start of each blockchain project. We have also a timing, in bitcoin is around 10/11 minutes per block. While the block is generated there is also a transaction pool where transactions go in a queue list. The timing is given foe the main process: The Mining Process. After the first block, it's generated also a problem to solve, this problem will solve by a brute force attack by miner (simply try to decode), so the computer of miner are generating million of random numbers, it's like a lottery. If any miners could get the solution
To make some examples, a bitcoin block it's similar any kind of package, like TCP/IP. There is a header, and a content block with all transactions. Anyway, the blockchain is agnostic at public key levels. If you generate your wallet, until you make a payment, the blockchain doesn't know about your existence. In to the block of blockchain are stored only the transactions sent by wallet. The record it is simply the value to move from a public key sender and the public key as receiver. Tha's all.
Just a web developer
Read MoreThere is a why my photo is low res. I'm working in a little web game!