TECHNOLOGY 

Published on
KembaraXtra- Computer Science - Bitcoin
I. Cryptocurrency Fundamentals
A. Definition
  • A digital asset used for financial transactions, serving as an alternative to traditional currencies.
B. Uses
  • Transactional: Spending currency on goods/services.
  • Investment: Similar to gold; value is stored/speculated on.
C. Key Characteristic: Decentralization
  • No single controlling organization.
II. Bitcoin Basics
A. Origin
  • The first decentralized cryptocurrency, introduced in 2009.
B. Dominance
  • Most well-known cryptocurrency, with many alternatives ("altcoins") but none as dominant.
C. Unit of Currency
  • Bitcoin (BTC).
III. Blockchain Technology
A. Core Concept
  • Information grouped into chronological "blocks" linked together.
B. Bitcoin's Use of Blockchain
  • Blocks contain transaction records (movement of bitcoins).
C. Network Operation
  • Operates over a network (e.g., the internet).
  • Multiple computers ("nodes") process transactions and update the blockchain.
  • No single master copy of the blockchain.
D. Security
  • Encryption/Decryption: Ensures transaction integrity and prevents tampering.
  • Immutability: Data cannot be changed once written to the blockchain.
E. Bitcoin's Blockchain as a Public Ledger
  • Decentralized, immutable record of all Bitcoin network transactions.
IV. Bitcoin Wallets
A. Storage
  • Bitcoins are associated with key pairs held in a Bitcoin wallet.
  • The wallet holds cryptographic key pairs (private and public keys).
B. Key Pairs
  • Private Key: Randomly generated 256-bit number; must be kept secret. Allows spending of associated bitcoins.
  • Public Key: Derived from the private key; used to receive bitcoins.
C. Bitcoin Address
  • Text string generated from the public key; used to represent the public key when receiving bitcoins.
  • Example: 13pB1brJqea4DYXkUKv5n44HCgBkJHa2v1
D. Sending and Receiving Bitcoins
  • Sender needs the recipient's Bitcoin address (derived from their public key).
  • Sender uses their private key to authorize the transaction.
  • Recipient's private key is never shared.
V. Bitcoin Transactions
A. Definition
  • A transfer of bitcoins.
B. Process
  1. Wallet software constructs a transaction.
  2. Transaction details (sender, receiver, amount) are specified.
  3. Digitally signed with the sender's private key.
  4. Broadcast to the Bitcoin network.
  5. Network computers verify the transaction.
  6. Transaction added to a new block on the blockchain.
C. Structure
  • Inputs: Source of the bitcoins being transferred. Refers to a previous transaction's output, not directly to a Bitcoin address.
  • Outputs: The address where the bitcoin is sent.
D. Bitcoin Balance
  • Not explicitly stored in the wallet or directly in the blockchain.
  • Calculated from the history of transactions associated with an address.
VI. Bitcoin Mining
A. Definition
  • The process of maintaining the Bitcoin blockchain.
B. Miners
  • Computers around the world that add blocks of transactions to the blockchain.
C. Mining Process
  1. Verify Transactions: Ensure each transaction in the block is valid.
  2. Solve a Complex Problem: Miners must solve a computationally difficult problem (proof of work).
D. Proof of Work
  • Deters tampering with the blockchain.
  • Altering a block requires re-solving the problem for that block and all subsequent blocks.
E. Mining Rewards
  • The first miner to solve the problem is awarded a sum of bitcoins.
  • This is how new bitcoins are created.
  • Miners also claim transaction fees from transactions included in the block.
F. Bitcoin Limit
  • Designed to allow only 21 million coins to be mined in total.
  • After that, miners will rely solely on transaction fees.
VII. Bitcoin Origins
A. Genesis Block
  • The first block in the Bitcoin blockchain, mined in 2009.
B. Satoshi Nakamoto
  • Inventor of Bitcoin (presumed pseudonym).
C. Mining Profitability
  • Mining costs (hardware, electricity) must be less than the value of bitcoins awarded.
  • Specialized hardware is used for faster mining.
  • Mining is not a guaranteed profit due to costs and price volatility.
VIII. Anonymity and Blockchain Applications
A. Bitcoin Anonymity
  • The blockchain is public (all transactions are visible).
  • However, personal identities are not directly linked to addresses.
  • Attracts those seeking anonymity.
B. Blockchain Technology
  • Can be used beyond cryptocurrencies.
  • Suitable for any system needing a tamper-resistant record history.
Picture
0 Comments