Showing posts with label CRYPTOCURRENCY. Show all posts
Showing posts with label CRYPTOCURRENCY. Show all posts

Blockchain Security


Blockchain Technology and Security


Undoubtedly Bitcoin’s Blockchain has some strong advantages. One of them is anonymous transactions. Bitcoin holder does not need to provide personal information. Users are using a cryptographic hash function (which the blog explains later) to represents their pseudonymous identity on the network. Bitcoin payments are fast, and almost no-cost transfers to anywhere in the world, for which different transaction parties only need to access the Internet. The system has double-spending protection meaning that one cannot send the same coin to several people at once. This attribution is done through proof of work protocol.         


            The Bitcoin system is very user friendly where convenience and ease of use of Bitcoins is a fundamental aspect of this currency.  The other main advantage of Bitcoin is that transactions are made without intermediaries, as opposed to any other payment system where all the reactions must go through the clearing house as banks or central banks. This independence from governments and financial institutions makes it very attractive to the users that would like to maintain its privacy as well as it makes it very popular on the black markets. As previously discussed the limited and strictly planned supply of this currency reduces risks of inflation. Safety and security are probably one of the key advantages in use as long as one follow the basic safety rules in the network. Bitcoin has some great advantages in its security procedures which are accomplished through implying a blockchain systems to store the information.

            The essence of the blockchain is to maintain a common and collective accounting book of transactions, in digital form, distributed throughout the network in the same copies. This technology is based on peer-to-peer networks without central computers, systems that manage and verify transactions. Each computer on the network can participate in the transmission and authentication of the transaction. In the case of the blockchain, these will be blocks within the transaction book. The book is open to everyone but fully protected from unauthorized access by complex cryptographic tools. The user has only insight into his transactions. Because of this transaction, the transactions are public, but only accessible under the user's access rights and their entire history, from the very beginning of the blockchain to this day, can be reviewed and verified.    

           The chain of blocks as a transactional accounting book with current technology and computing power cannot be counterfeited. It is estimated that to break the blockchain network requires computing power equal to half the internet. Nevertheless, the introduction of quantum computers will require the implementation of new cryptographic security. The blockchain transactions recorded in the blockchain are irreversible. Attempting to change one block entails a change in the entire blockchain following it. If someone tries to cheat, change, or enter an unauthorized transaction, the blockchain nodes in the verification and reconciliation process will discover that one of the copies of the book is a non-compliant transaction on the network and refuses to include it in the chain of blocks. Data, transactions and their order are resistant to counterfeiting and manipulation of any kind. The same blockchain philosophy, advanced mathematical methods, and cryptographic security allow us to trust the data contained in the accounting books of the transaction. Next section will describe key protocols or producers involved in the creation of a blockchain.

Blockchain ecosystem and security

The blockchain ecosystem and all the different protocols involved in creating/verifying transaction are making Bitcoin very secure, resistant to fraud or double spending. Cryptographic hash function is used to digest a message of transaction that is coming from party A to party B. Bitcoin is using the SHA256 standard to accomplish such a digest. SHA 256 converts any message (doesn't matter what length) to 256-bit length numerical representation of that message. If the message is changed then the SHA256 function will change too. This process is irreversible, which mean that we cannot translate hash function back to the original message.       
            The Digital Signatures are used to sing this transaction message by the sender. Each of the Bitcoin users has two different sign keys. One is private and one is public to verify if party a sign the document. Both of those keys are mathematically connected. If the party A signed one document is will result in digital signature which is just like SHA 256 just set of alphanumeric figures that are connected to the public key. Each signed message will result in the different set of numbers which makes it very secure (more than the manual signature that is always the same).

            When the transaction message is created it is sent out to everyone on the system to verify it. Other parties have public verification key of party A to do it. Now people with huge computers with enormous computing power can begin “mining” and competing for the reward associated with “mining”. Previously mentioned “mining” is a reward based system, where different nodes compete to be the first one to create and add a new block to a chain of a block. The first person to do it will receive a reward of 12.5 Bitcoins as of this year. This reward will get smaller over a time and there is a system that determines it. Sometime in the 22nd century, there will be no more rewards available because the system will reach the limit of 21 million Bitcoins issued.
               
            Those “miners” collect different transaction and put them into the ledger structure (like in the accounting system) to create a list/ block of those transactions. All transactions are connected to each other through hash functions.
Once the block is ready to be connected to the chain. Mainers include the hashtag (generated through Proof of work protocol) of the previous block to the new block. After that competition starts. Computers are trying to generate the hash that correspondents to challenges issued by the system, which is asking them to create a hash with many 0 in front of the hash function. As one knows, one message will result in only one particular hash function; therefore, miners have to include a nonce which is an arbitrary set of text to the block that will help computers meet the challenge. Computers accomplished that by guessing random values, just like in brute force attack that is used in cracking the password. The first computer to do it will be accepted through the others and add to the system.
               
            Now, if anyone would like to change a block or create a different transaction then he or she would have to have a computer with the greatest power on the system to create the new chain of blocks that is longer than existing one, so the system can accept it; because only the longest chain is accepted. This computer must have a better guessing power than all the other computers together, due to proof-of-work protocol. And it would have to generate longest chain of block in just 10 min.  It seems impossible as of now. And it might be impractical. If some have the best computer out there one could be just “mining” and getting the rewards.

I know that it all seems very complex. If you would like to understand it better, please watch these videos made by Khan Academy, that explain everything carefully.

Will Bitcoin Replace Money (aka USD)?

Characteristics of Cryptocurrency
We know that cryptocurrencies have some technological advances over regular USD, but can it replace it? Let’s see what are some cryptocurrency advantages over regular money like dollar or euro?

Cryptocurrencies are designed to reduce unnecessary transaction fees by removing intermediaries. Ecosystems are based on the blockchain technology which is very secure and enhances the privacy of a user. Where users are not using real names but pseudonyms which are usually set of alphanumeric figures that are randomly generated and very hard to associate them with others. Cryptocurrencies are usually decentralized which means there is no political risk associated with them and nobody has control over money supply or interest rates as opposed to banking systems. When the transaction is made it cannot be undone as opposed to Central Bank that could potentially reverse some transactions.

            There are over 1400 different active cryptocurrencies, which seems a lot. The creation of a digital money is far less expensive than setting up physical infrastructure to produce and manage dollar or euro. In the cryptocurrency, there is just software, which is using social science to nurture the currency. As one can tell by comparing the names of different cryptocurrencies that creator is using their imaginations in creating logos or names. Like the Coinye which is featuring a logo Kanye West as a fish. Authors were inspired by one of the South Park episodes. Unfortunately, this coin was discontinued and is no longer active. You can also find coins such as: Putin or Donal Trump. Those coins are just copies of Bitcoins and they don't bring anything new to the world.  In fact almost 90% of all alt-coins are shit. I will write about it in a separate post.       
            Let's talk about what Bitcoin is. This is a decentralized, independent of any particular entity, virtual currency, operating on peer-to-peer networks. It has been since 2009 and was created by a person or group with the nickname Satoshi Nakamoto. Bitcoins are obtained in a complex process of "mining". "Miners" are rewarded with newly created Bitcoins for transaction verification. What is important in the Bitcoin system is that this process enables the extraction of a predetermined number of Bitcoins at a given time and their maximum possible quantity is set at 21 million. On the graph, one can see the predicted amount of Bitcoins in time. This means that the Bitcoin supply is growing more slowly and when the amount reaches 21 million it will stop.
total bitcoins
Bitcoin vs. Money
Does Bitcoin pose key characteristics of money? Some of the key characteristics of money as defined by XX are durability, portability, divisibility, uniformity, limited supply, acceptability, availability. Bitcoin ecosystem works as a medium of exchange and payment system, but it is not quite universal.  Internet access has about 40% of the world population, making it difficult for the cryptocurrency worldwide to prevail. It is a measure of value because Bitcoin holders can value a service or product with Bitcoins. It has a digital form, so individuals can say that it is durable, since it can be stored on the servers. It is easy to carry if one have the internet on your phone. However one may have a problem when he or she finds itself in a place with no Internet access. This digital currency is a uniform because one Bitcoin is worth as much as another Bitcoin, and divisible because one can only send some fraction of a Bitcoin. It has also been designed to store value over a long period of time, due to a strictly defined supply and a maximum specified quantity. It has a built-in deflation mechanism, which some may consider being a great advantage for fiduciary money. With the assessment of its stability in the long run investors still, have to wait. Since its inception, Bitcoin has been able to change very rapidly, but it is hard to name it volatile currency since it has a short existence.


            To sum-up, Bitcoin can be defined at this moment as a medium of exchange. The status of money lacks universal acceptance, availability and long-term stability.

RSI

The RSI (Relative Strength Index) indicator gives quite good signals at the time when a given action is in a horizontal trend. RSI simply gives the trader idea of the speed and change of the price movements.

To analyze chart using this indicator, it is necessary to determine the overbought and oversold levels. The overbought level is usually set at 70-80% and the sell-out level at 20-30%.

 
Let’s look at the LTCBTC 4hour chart.
The buy signal (B) is generated with the indicator rising above the sell-out level.
The sales signal (S) is generated when the indicator drops below the w level.

We can notice that the LTCBTC has formed a horizontal price action. Based on that scenario, you would build up you position whenever RSI is below 30 and sell some of your position (eg 25% of all holdings) every time RSI reaches 70.


Learn how RSI is calculated here