recognize blockchain for beginners
Blockchain, What the hell?
Studying blockchain at first will lead to a little confusion. Just like the beginning I studied blockchain is quite very confusing. Here I will give a little reference for my friends to start studying blockchain one of the technologies behind the rapid development of Cryptocurrency in the world. Here I will try to discuss this blockchain as easy as possible, because it is actually a blockchain is a simple and simple technology.
Introduction
Basically in the field of technology activities are done is data processing, and in the processing of data that many elements - elements in it like where the data was placed, how the data is made, how the data is distributed and others.
As we know at this moment every data that we though it is centralized or just in store in a single computer that we usually call the server. Current system running has many shortcomings one of them is the data security becomes not maximal because the data is only located in one place where it makes our data can not validate the data.
The other is the problem if there is a system failure from the server will make the network down if we do not have a backup then it is lost the data we have.
Blockchain
Blockchain
is a technology introduced with Bitcoin by one or a group calling itself Satoshi Nakamoto which was originally used to record the financial transactions of bitcoin.
Simple blockchain is a data structure that can not be changed can only be added only. Each data from this blockchain is connected where if there is a change in one of the data block it will affect the next data.
With this blockchain every transaction from bitcoin is stored in an Open Ledger (Ledger) which is distributed into bitcoin networks. Each blockchain will be distributed to each computer connected to the network. In each addition of data there will be check whether the data is valid or not which is usually called mining process or known in other term Proof of work.
There are several elements in the blockchain that is Hash, Block & Proof of work data. Here we discuss one by one.
Hash
Before going any deeper about this data block I want to mention the term here Hash where Hash is a digital fingerprint or the identity of a digital data.
For example the following:
String data = "Hello World";
log (data.hashCode ());
// -862545276
Here we know the digital identity of the object "Hello World" is -862545276.
Any data or digital object in the data block will be in hash with SHA-256 algorithm.
Here's an example:
String data = Hello World
MessageDigest digest = MessageDigest.getInstance ("SHA-256");
byte [] bytes = digest.digest (data.getBytes ());
String hash
= DatatypeConverter.printHexBinary (bytes) .toLowerCase ();
log (hash);
// a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e
Block
Blockchain itself is kumpulah of some data block which is the data block is the data of the transaction that we make. Or we can define the data in this block. Which in this way Blockchain not only can be used to record financial transactions only.
In a block will also have a digital identity which we will haveh next. Hash here is the identity of the data block that we encrypt with the SHA-256 algorithm.
The hash data here will be two kinds: the hash of the block itself and the hash of the previous block.
{
"chain": [
{
"index": 0,
"timestamp": "01/12/2017",
"data": {
"amaount": 0.000005RTC
},
"prevHash":
good luck
FOLLOW ME @tantemuda
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by tantemuda from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.