رفتن به نوار ابزار
بازگشت به دوره

Bitcoin and Cryptocurrencies

0% تکمیل شده
0/ 144 گام
  1. Introduction: welcome to the course
    introduction
    5 موضوع‌ها
  2. Bitcoin Protocol & Consensus: A High Level Overview
    Intro
    1 موضوع
  3. Basic Concepts
    2 موضوع‌ها
  4. Bitcoin From The Ground Up
    11 موضوع‌ها
  5. Bitcoin Review
    5 موضوع‌ها
  6. QUIZ
  7. BLOCKCHAIN HISTORY: FROM THE CYPHERPUNK MOVEMENT to JPMORGAN CHASE
    Intro
    2 موضوع‌ها
  8. Pre-Bitcoin
    4 موضوع‌ها
  9. Early Bitcoin
    4 موضوع‌ها
  10. Scalability Debate and Ethereum
    4 موضوع‌ها
  11. Enterprise Blockchain
    3 موضوع‌ها
  12. State of the Industry
    3 موضوع‌ها
  13. Review, Readings, & More
    3 موضوع‌ها
  14. Quiz
  15. BITCOIN MECHANICS AND OPTIMIZATION: technical overview
    Intro
    2 موضوع‌ها
  16. Cryptographic Hash Functions
    9 موضوع‌ها
  17. A Tamper-Evident Database
    12 موضوع‌ها
  18. Signatures, ECDSA, and Addresses
    9 موضوع‌ها
  19. Bitcoin Script
    7 موضوع‌ها
  20. Advanced Bitcoin Script
    6 موضوع‌ها
  21. Review, Readings, & More
    4 موضوع‌ها
  22. Quiz
  23. bitcoin in real life: wallet mechanics, mining, & more
    Intro
  24. Types of Users
  25. Wallets
  26. Wallet Mechanics
  27. Mining
  28. Real World Mining
  29. Bitcoin Governance
  30. Review, Readings, & More
  31. Quiz
  32. game theory and network attacks: how to destroy bitcoin
    Intro
  33. Pool Strategies
  34. Double Spending
  35. Censorship
  36. Selfish Mining
  37. Defenses
  38. Review, Readings, & More
  39. Quiz
  40. ethereum and smart contracts: enabling a decentralized future
    Intro
  41. Smart Contracts
  42. Ethereum
  43. Ethereum Virtual Machine
  44. Ethereum Use Cases
  45. Ethereum Ecosystem
  46. Review, Readings, & More
  47. Quiz
  48. The End
    Beginning of something new
درس 5, موضوع 2
در حال پیشرفت

Lecture 1 Summary

نویسنده اکتبر 27, 2020
درس پیشرفت
0% تکمیل شده

Author: Rea Savla

I. What is Bitcoin?

Cryptocurrency is a completely digital, formless currency, tied together using computer science, cryptography and economics. Bitcoin is the first and most widely used cryptocurrency.

Bitcoin is inspired by the Cypherpunk Movement in the 1980s, which advocated for protection of privacy from external entities using cryptography. Satoshi Nakamoto first outlined and created Bitcoin in 2008 and 2009.

Bitcoin aims to be pseudonymous, trustless, decentralized, and immutable. In addition, anyone with a computer and internet connection can join the Bitcoin network. Each computer is a node in the Bitcoin network, and each node may verify and audit the transaction history of their own funds. In Bitcoin, the minting and distribution of bitcoins is determined through mining; since anyone can mine and win bitcoins, this process also aims to be decentralized.

Some of the challenges Bitcoin addresses are:

  • The difficulty to ensure every Bitcoin node holds a consistent version of the transaction history
  • The difficulty to identify malicious actors

These conditions may normally allow a node to conduct a Double Spend Attack, in which the one spends the same funds more than once by tricking parts of the network to believe different versions of the transaction history. However, Satoshi overcame this problem using blockchain and Proof-of-Work. 

Bitcoin is robust because it serves the same functions as a bank:

  • Account management; the Bitcoin protocol gives users a way to create and manage their own identities (account)
  • Legitimacy; It ensures we are legitimate owners and accessors of our accounts
  • Record-keeping; It honestly records account balances at each transactions.

Unlike a bank, Bitcoin is decentralized and ensures a high degree of privacy and trust. 

Trust is built on the blockchain due to a high level of transparency: blockchain is a publicly verifiable ledger, not owned by any entity, and it prevents any single point of failure.

To maintain this trust, we need identity in Bitcoin for authentication and assigning blame. Bitcoin uses public keys to send funds and private keys to prove ownership of the public key and redeem the sent funds. Each individual is responsible for creating and managing their own private and public keys. Public keys are generated from Private keys and are used to send/receive funds. Private keys are randomly generated and used to prove ownership of the public key. The chances of guessing the same private key are very low.

In addition to proof of ownership, in order to be considered valid, transactions must also have enough available funds to spend from and guarantee that no other transaction uses the same funds. Bitcoin uses the Unspent Transaction Output (UTXO), in which users spend directly from transactions made to them.

Instead of storing transactions individually, Bitcoin batches them into “blocks,” built off of their previous blocks, thus forming the tamper-evident, blockchain data structure.

Users on the blockchain must come to a consensus on which updates and blocks to add to the blockchain. Doing so also prevents Double Spend Attacks. Bitcoin uses a form of peer validation to build a shared transaction history; everyone on the network casts votes on the validity of a transaction. To prevent a Sybil Attack, where users create multiple identities for malicious purposes, Bitcoin employs Proof of Work, where voting power is based on computational power, to make voting expensive.