Bitcoin is not just a currency. It is 3 layered technology stack.
read👇
The Word Bitcoin is used to simultaneously denote three different things, it might be confusing for beginners. Let me Break it out so that you can understand it at ease.
✨Three layers of Bitcoin technology stack
1) First / Base layer- Bitcoin Blockchain: Underlying decentralized ledger 2) second / middle layer- Bitcoin protocol and client: Software programs that conduct transactions 3) Third/ Top layer- Cryptocurrency: Bitcoin (BTC)
✨First layer
The First layer is the blockchain. The blockchain is the decentralized transparent ledger with the transaction records- the database that is shared by all network nodes, updated by miners, monitored by everyone, and owned and controlled by no one.
✨Second layer
The middle tier of the stack is the protocol - the software system that transfers the money over the blockchain ledger.
✨Top layer
The top layer is the currency itself, Bitcoin, which is denoted by BTC or btc when traded in transaction exchanges. There are hundreds of cryptocurrencies, of which Bitcoin is the first and the largest.
I hope this thread was helpful. If you liked it make sure you like it and retweet the first tweet so that it can help others too.
✨Financial instruments, records, and models 1. Currency 2. Private equities 3. Public equities 4. Bonds 5. Derivatives (futures, forwards, swaps, options, and more complex variations) 6. Voting rights associated with any of the preceding 7. Commodities
Continued...
8. Spending records 9. Trading records 10. Mortgage/loan records 11. Servicing records 12. Crowdfunding 13. Microfinance 14. Microcharity
Bit-manipulation is the underrated topic, it is confusing too. I have curated the best resources to learn bit-manipulation for coding interviews.
✨Learn Binary
-> Because we are going to work at the bit level, first you should understand the concept of binary numbers. Learn Concepts like decimal to binary conversion, signed and unsigned numbers, etc.
✨Introduction
-> Bitwise Operations let you manipulate numbers at bit level. Bitwise operations are faster than regular operations.
There are main 6 bitwise operators:
1)Bitwise AND
2)Bitwise OR
3)Bitwise XOR
4)Bitwise left-shift
5)Bitwise right-shift
6)Bitwise complement
✨Bitwise AND
-> The Bitwise AND tests 2 binary numbers and returns bit values of 1 for positions where both numbers had a one, and a bit value of 0 at every other position.
Real-life applications of Various Data Structures.
A thread👇
✨ STACK 1) UNDO option
2) Text editor, you push letter by letter to the stack so you erase back.
3) Recursion (in built stack)
✨QUEUE 1) Your browser deletes the history past one month.
2) All the pictures you delete from your phone will be stored in a queue, so that after sometimes front items can be popped out easily (permanently deleted)
3) Waiting list: Registration Requests are put in the queue.