Welcome to the Bitcoin Wiki

Welcome to the BitcoinSV Wiki

This is a comprehensive guide to the Bitcoin protocol, Bitcoin Ledger and BitcoinSV network.

Here you can find information on and links to some of the amazing tools developed for Bitcoin including:

  • Planaria and Bitbus
  • The Moneybutton
  • Cashport
  • BSV Alias and Paymail

This site will also cover major second layer protocols that have been built for Bitcoin such as:

  • Metanet Protocol
  • Tokenized Protocol
  • B:, C:, BCAT: D: and other OP_RETURN protocols developed by _unwriter

Table of Contents

Quick Glossary

  1. Introduction
    1. What Is Bitcoin?
    2. History of Bitcoin
    3. Getting Started
  2. How Bitcoin Works
    1. Transactions, Blocks, Mining, and the Blockchain
    2. Bitcoin Transactions
    3. Constructing a Transaction
    4. Bitcoin Mining
    5. Mining Transactions in Blocks
    6. Spending the Transaction
    7. Bitcoin v0.1: The foundation of the protocol
  3. Deterministic wallets
    1. Introduction
    2. Keychains
    3. Talking to the Network
  4. Unspent Transaction Outputs
    1. Introduction
    2. Bitcoin Puzzles
      1. P2PK
      2. P2PKH
      3. P2RP
      4. P2RPH
      5. P2MS
      6. P2SH Sunset
      7. Other
  5. Wallets
    1. Wallet Technology Overview
    2. Wallet Technology Details
    3. Wallet Examples
  6. Transactions
    1. Introduction
    2. Transactions in Detail
    3. Transaction Outputs and Inputs
    4. Digital Signatures (ECDSA)
    5. Puzzles and solutions
    6. Signature stacking
    7. OP_RETURN
    8. Timelocks
  7. Building on Bitcoin
    1. Bitcoin tools
      1. Planaria
      2. etc
    2. Bitcoin wallet libraries
    3. Nakasendo SDK
    4. Metanet Protocol
    5. SV Alias and Paymail
    6. OP_RETURN protocols
      1. Tokenized Protocol
      2. B:
      3. C:
      4. BCAT:
  8. Advanced Bitcoin Scripting
    1. Introduction
    2. Opcodes used in Bitcoin Script
    3. Scripts with Flow Control (Conditional Clauses)
    4. Data passing in inputs
    5. OP_CODESEPARATOR
    6. OP_RETURN
    7. Complex Script Examples
  9. Payment Channels
    1. Introduction
    2. Establishing a channel
    3. Sequence
    4. Using a channel
    5. Closing a channel
    6. Examples
  10. The Metanet
    1. Introduction
    2. Metanet nodes and edges
    3. Signatures in Metanet
    4. Building a metanet graph
    5. Reading a metanet graph
  11. The Bitcoin Network
    1. Peer-to-Peer Network Architecture
    2. The Extended Bitcoin Network
    3. Network Discovery
    4. Exchanging “Inventory”
    5. Simplified Payment Verification (SPV)
    6. Bloom filters
    7. How SPV nodes use bloom filters
    8. SPV nodes and privacy
    9. Encrypted and Authenticated Connections
    10. Transaction Pools
  12. The Blockchain
    1. Introduction
    2. Structure of a Block
    3. Block Header
    4. Block Identifiers: Block Header Hash and Block Height
    5. The Genesis Block
    6. Linking Blocks in the Blockchain
    7. Merkle Trees
    8. Merkle Trees and Simplified Payment Verification (SPV)
    9. Bitcoin’s Test Blockchains
    10. Regtest – The local blockchain
    11. Testnet – Test your app
    12. Scaling Testnet – Test your app in the rain
    13. Using test blockchains for development
  13. Mining and Consensus
    1. Introduction
    2. Decentralized Consensus
    3. Independent Verification of Transactions
    4. Nodes
    5. The small world of mining
    6. Honesty and incentives
    7. Miner API
    8. Aggregating Transactions into Blocks
    9. Constructing the Block Header
    10. Mining the Block
    11. Successfully Mining the Block
    12. Validating a New Block
    13. Assembling and Selecting Chains of Blocks
    14. Mining and the Hashing Race
    15. Attacks
      1. 51% attack
      2. Small Block attack
      3. Network Split attack