Learning bit coin richard caetano (2015)

269 133 0
Learning bit coin richard caetano (2015)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Table of Contents Learning Bitcoin Credits About the Author Acknowledgments About the Reviewers www.PacktPub.com Support files, eBooks, discount offers, and more Why subscribe? Free access for Packt account holders Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions Setting up a Wallet A brief history of money Buying your first bitcoin in 15 minutes Signing up for a wallet – five minutes Adding a funding source – ten minutes Buying bitcoin – less than a minute Looking at your Bitcoin balance Explaining Bitcoin addresses Sending and receiving bitcoins Sending bitcoins Receiving bitcoins Private keys and wallets Transactions and confirmations Transactions Confirmations Comparing Bitcoin wallets Online wallets Desktop wallets Mobile wallets Hardware wallets Summary Buying and Selling Bitcoins Understanding Bitcoin's price volatility Exchange rates Bitcoin's price history Price bubbles Theft Seizure Following exchange rates and news Price tickers Detailed price tracking Candlestick charts Market orders Trading techniques News sources Comparing Bitcoin exchanges Volume and liquidity Fees and commissions Transfer limits Jurisdiction and regulations Service uptime Trading Bitcoins on an exchange Setting up an account Depositing funds Using Coinbase Exchange Funding and orders Order book and history Price charts Physical Bitcoins Summary Protecting Your Bitcoins Storing your bitcoins Bitcoin savings Paper wallets One time use paper wallets Creating a paper wallet Verifying your wallet's balance Importing versus sweeping Importing your paper wallet Paper wallet guidelines Paper wallet services Brainwallets Creating a brainwallet Increasing brainwallet security Deterministic wallets Creating a deterministic wallet Spending from a deterministic wallet Type Hierarchical Deterministic wallets Installing a HD wallet Bitcoins in cold storage Cold storage with Electrum Verifying access to a private key Good housekeeping with Bitcoin Summary Understanding the Blockchain The Genesis block Satoshi Nakamoto The whitepaper The blockchain Keys, transactions, and blocks Creating a transaction Digital signatures Public key encryption Signing a document Elliptic Curve Cryptography Bitcoin addresses Cryptographic hashes Generating a Bitcoin address Signing a transaction Decentralized network Broadcasting the transaction The blockchain Blocks Forks The Bitcoin supply Proof of work Confirmation Difficulty level Mining Solving a difficult problem Transaction fees Network attacks 51 percent attacks Race attacks Finney attacks Alternative coins Summary Installing a Bitcoin Node Understanding a Bitcoin node Bitcoin Core Internals of a node Node discovery Messaging Maintaining a Blockchain Transaction relaying Bitcoin wallets Installing the client Requirements Starting the client Connecting to the network Downloading the blockchain Using the client Encrypting your wallet Backing up your wallet Balance and history Receiving transactions Sending transactions Executing Bitcoin operations Opening the console Working with an encrypted wallet Working with Bitcoin addresses Creating and sending a transaction Generating a destination address Selecting a funding source Specifying a change address Including a transaction fee Defining the transaction in JSON Encoding and signing the transaction Reviewing the transaction Broadcasting the transaction Summary Understanding the Mining Process Digital gold Bitcoin mining Exploring the mining ecosystem Validating transactions Proof-of-Work SHA-256 Scrypt Mining rewards Difficulty metrics Mining hardware Mining conditions Mining pools Mining shares Fees and Payout Cloud mining Estimating profitability Hardware efficiency Factoring in the difficulty level Selecting a currency Exchange rates Setting up a mining client Requirements Capital Hardware Facilities Choosing the equipment Choosing the software Connecting to a mining pool The payout method The pool fees The pool speed Additional features Avoiding large pools Running the client Summary Programming Bitcoin Programmable money Decentralized applications Blockchains Public Blockchains Permissioned Blockchains Smart contracts Installing BitcoinJS Requirements Beginning the installation Editing the source code Programming common Bitcoin operations Checking your balance Generating addresses for a website Sending transactions Simple transactions Building an Escrow contract Generating the keys Generating the Escrow address Creating a withdraw script Signing the transaction Broadcasting the transaction Refunding Summary Exploring Alternative Coins Open source money The rise of the alt-coin Namecoin Decentralized domain name service Merged mining Litecoin Block rate Scrypt mining Peercoin Proof-of-stake Primecoin Prime numbers Mining prime numbers Evaluating an alt-coin Developer activity Launching of the alt-coin The legitimate feature set Protocols built on the Bitcoin Blockchain Digital assets Building a voting system with Counterparty The XCP alt-coin Creating a voting system Creating a wallet Funding the wallet Creating the tokens Sending tokens Casting votes Verifying the results Finishing up The future of finance Index Learning Bitcoin Learning Bitcoin Copyright © 2015 Packt Publishing All rights reserved No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: November 2015 Production reference: 1271015 Published by Packt Publishing Ltd Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-78528-730-5 www.packtpub.com Credits Author Richard Caetano Reviewers Francesco Canessa Jose Celano Commissioning Editor Edward Bowkett Acquisition Editor Tushar Gupta Content Development Editor Dharmesh Parmar Technical Editor Namrata Patil Copy Editor Alpha Singh Project Coordinator Harshal Ved Proofreader Safis Editing Indexer Rekha Nair Production Coordinator about / Understanding a Bitcoin node installing / Installing the client URL, for downloading / Installing the client starting / Starting the client connecting, to network / Connecting to the network using / Using the client closed blockchains / Permissioned Blockchains Cloud Mining about / Cloud mining Coinbase URL / Buying your first bitcoin in 15 minutes, Online wallets, Importing versus sweeping account, setting up / Setting up an account URL, for licenses / Setting up an account funds, depositing / Depositing funds about / Paper wallet guidelines Coinbase Exchange URL / Fees and commissions, Service uptime fundings / Funding and orders orders / Funding and orders order book and history / Order book and history price charts / Price charts Coinbase exchange using / Using Coinbase Exchange Coinbase Exchange platform URL / Using Coinbase Exchange Coin Desk URL / Price tickers CoinDesk URL / News sources CoinKite URL / Online wallets Coinomi URL / Mobile wallets Coinwarz about / Selecting a currency URL / Selecting a currency confirmations about / Transactions and confirmations, Confirmations Counterparty used, for building voting system / Building a voting system with Counterparty Counterwallet URL / Creating a wallet cryptographic hashes / Bitcoin addresses CURRENCY* BTC URL, for video / News sources D Dead Pirate Roberts about / Seizure decentralized network / Decentralized network Deep cold storage / Bitcoins in cold storage desktop wallets about / Desktop wallets MulitBit / Desktop wallets Bitcoin/QT / Desktop wallets Electrum / Desktop wallets Armory / Desktop wallets Detailed Price tracking about / Detailed price tracking deterministic wallets about / Deterministic wallets creating / Creating a deterministic wallet spending from / Spending from a deterministic wallet Hierarchical Deterministic (HD) wallets / Type Hierarchical Deterministic wallets digest / Cryptographic hashes Digital Gold about / Digital gold digital signature about / Digital signatures using / Digital signatures document signing / Signing a document domain name system (DNS) / Namecoin double spending / The Genesis block E electronically traded funds (ETF's) / Transfer limits Electrum URL / Desktop wallets, Importing versus sweeping, Installing a HD wallet about / Type Hierarchical Deterministic wallets using / Cold storage with Electrum Eligius URL / Additional features Elliptic Curve Digital Signature Algorithms (ECDSA) / Elliptic Curve Cryptography encrypted wallet working with / Working with an encrypted wallet entropy about / Private keys and wallets Escrow contract building / Building an Escrow contract keys, generating / Generating the keys Escrow address, generating / Generating the Escrow address withdraw script, creating / Creating a withdraw script transaction, signing / Signing the transaction transaction, broadcasting / Broadcasting the transaction refunding / Refunding Ethereum URL / Smart contracts exchange Bitcoins, trading on / Trading Bitcoins on an exchange exchange rates about / Exchange rates reference link / Exchange rates following / Following exchange rates and news exchanges BTC-E / Service uptime ANXPRO / Service uptime Coinbase Exchange / Service uptime Bitstamp / Service uptime Kraken / Service uptime BTC China / Service uptime F Fermat remainder / Mining prime numbers Field-Programmable Gate Arrays, (FPGA's) / Mining hardware finance future / The future of finance FinCEN about / Jurisdiction and regulations Friecoin / Alternative coins G Genesis block about / The Genesis block Satoshi Nakamo / Satoshi Nakamoto Bitcoin whitepaper / The whitepaper blockchain / The blockchain GHash.io URL / Additional features Git about / Bitcoin Core Github about / Bitcoin Core H hardware wallets about / Hardware wallets hash about / Proof-of-Work HD Wallet installing / Installing a HD wallet Hierarchical Deterministic Wallets / Generating addresses for a website high quality Bitcoin news and content CoinDesk / News sources The Coin Telegraph / News sources Bitcoin Magazine / News sources housekeeping, with bitcoin best practices / Good housekeeping with Bitcoin I installation, client about / Installing the client requisites / Requirements internals, Bitcoin node about / Internals of a node node discovery / Node discovery messaging / Messaging Blockchain, maintaining / Maintaining a Blockchain transaction relaying / Transaction relaying Bitcoin wallet / Bitcoin wallets invalid Bitcoin address / Explaining Bitcoin addresses J JSON about / Executing Bitcoin operations transaction, defining in / Defining the transaction in JSON K key about / Keys, transactions, and blocks keychains about / Private keys and wallets Kraken URL / Service uptime L Ledger URL / Hardware wallets lightweight clients about / Desktop wallets Litecoin / Alternative coins about / Litecoin block rate / Block rate scrypt mining / Scrypt mining URL / Developer activity Local Bitcoins URL / Buying your first bitcoin in 15 minutes M makers / Fees and commissions market orders about / Market orders merged mining about / Merged mining URL / Merged mining Miners / Forks miners about / Confirmations mining client, requisites capital / Capital hardware / Hardware facilities / Facilities mining client, setup about / Setting up a mining client requisites / Requirements equipment, selecting / Choosing the equipment software, selecting / Choosing the software mining conditions about / Mining conditions mining ecosystem exploring / Exploring the mining ecosystem transactions, validating / Validating transactions proof-of-work / Proof-of-Work reward / Mining rewards difficulty metrics / Difficulty metrics hardware / Mining hardware mining hardware about / Mining hardware mining pool connecting to / Connecting to a mining pool payout method / The payout method fees / The pool fees speed / The pool speed additional features / Additional features large pools, avoiding / Avoiding large pools client, running / Running the client mining pools about / Mining pools payout / Fees and Payout fees / Fees and Payout mining process / Forks mining profitability, estimating about / Estimating profitability hardware efficiency / Hardware efficiency factoring, in difficulty level / Factoring in the difficulty level currency, selecting / Selecting a currency exchange rate / Exchange rates mining reward about / Mining rewards mining shares about / Mining shares mobile wallets about / Mobile wallets Breadwallet / Mobile wallets Coinomi / Mobile wallets Mycelium / Mobile wallets money about / A brief history of money Motherboard about / Facilities reference link / Facilities MulitBit URL / Desktop wallets Multibit URL / Importing versus sweeping Mycelium URL / Mobile wallets N Namecoin / Alternative coins about / Namecoin decentralized domain name service (DNS) / Decentralized domain name service merged mining / Merged mining URL / Developer activity network attacks about / Network attacks 51 percent attack / 51 percent attacks race attack / Race attacks Finney attack / Finney attacks news events following / Following exchange rates and news news sources about / News sources NodeJS about / Installing BitcoinJS URL / Beginning the installation Node Package Manager (NPM) / Beginning the installation nodes / Blocks nonce about / Proof-of-Work Notepad++ (Windows Only) URL / Editing the source code O online wallets about / Online wallets characteristics / Online wallets Circle / Online wallets Coinbase / Online wallets Xapo / Online wallets CoinKite / Online wallets ANXPro / Online wallets Open Coinbase URL / Setting up an account open source money about / Open source money alt-coin / The rise of the alt-coin order book about / Market orders P paper wallets about / Paper wallets one time use paper wallets / One time use paper wallets creating / Creating a paper wallet balance, verifying / Verifying your wallet's balance importing, versus sweeping / Importing versus sweeping importing / Importing your paper wallet guidelines / Paper wallet guidelines services / Paper wallet services passphrase / Creating a brainwallet Peercoin about / Peercoin proof-of-stake / Proof-of-stake URL / Developer activity Physical Bitcoins about / Physical Bitcoins Physical Money about / A brief history of money pooling about / Mining pools Preev URL / Price tickers price tickers about / Price tickers price tickers apps about / Price tickers btcReport / Price tickers Coin Desk / Price tickers XBT Apps / Price tickers Bitcoin Wisdom / Price tickers Preev / Price tickers price volatility, Bitcoin about / Understanding Bitcoin's price volatility exchange rates / Exchange rates price history / Bitcoin's price history price bubbles / Price bubbles theft / Theft seizure / Seizure Primecoin about / Primecoin prime numbers / Prime numbers prime numbers, mining / Mining prime numbers URL / Developer activity Primecoin whitepaper URL / Mining prime numbers private keys about / Private keys and wallets programmable money about / Programmable money decentralized applications / Decentralized applications blockchains / Blockchains smart contracts / Smart contracts programming operations, Bitcoin about / Programming common Bitcoin operations balance, checking / Checking your balance addresses, generating for website / Generating addresses for a website proof-of-stake method / Peercoin, Proof-of-stake proof-of-work about / Confirmations, Proof-of-Work SHA-256 / SHA-256 Scrypt / Scrypt proof of work about / The Bitcoin supply URL / Finney attacks public blockchains / Public Blockchains Public Key Encryption / Public key encryption R Reddit Thread URL / Creating a brainwallet round about / Fees and Payout S Salsa20 about / Scrypt Satoshi about / Mining rewards scriptPubKey key about / Reviewing the transaction Scrypt about / Scrypt scrypt / Scrypt mining SHA-256 about / SHA-256 ShapeShift about / The XCP alt-coin URL / The XCP alt-coin spread about / Market orders, Order book and history State of Bitcoin report about / News sources Sublime Text URL / Editing the source code T taker/maker schema / Fees and commissions takers / Fees and commissions Testnet / Open source money Testnet / Open source money TESTNET3 / Generating a Bitcoin address Textmate (OS/X Only) URL / Editing the source code The Coin Telegraph URL / News sources Titan Bitcoin URL / Physical Bitcoins trading techniques about / Trading techniques transaction creating / Creating a transaction signing / Signing a transaction broadcasting / Broadcasting the transaction sending / Sending transactions simple transactions / Simple transactions transaction history finding / Balance and history transactions about / Transactions receiving / Receiving transactions sending / Sending transactions, Creating and sending a transaction creating / Creating and sending a transaction destination address, generating / Generating a destination address funding source, selecting / Selecting a funding source change address, specifying / Specifying a change address transaction fee, including / Including a transaction fee defining, in JSON / Defining the transaction in JSON encoding / Encoding and signing the transaction signing / Encoding and signing the transaction reviewing / Reviewing the transaction broadcasting / Broadcasting the transaction references / Broadcasting the transaction validating / Validating transactions Trezor URL / Hardware wallets U undefined value / Beginning the installation V valid Bitcoin address / Explaining Bitcoin addresses voting system building, with Counterparty / Building a voting system with Counterparty, Finishing up XCP alt-coin / The XCP alt-coin creating / Creating a voting system wallet, creating / Creating a wallet wallet, funding / Funding the wallet tokens, creating / Creating the tokens tokens, sending / Sending tokens votes, casting / Casting votes results, verifying / Verifying the results W wallet encrypting / Encrypting your wallet backing up / Backing up your wallet Wallet Generator URL / Paper wallet services Wallet Import Format (WIF) / Programming common Bitcoin operations wallets about / Private keys and wallets WarpWallet URL / Increasing brainwallet security wick about / Candlestick charts X Xapo URL / Online wallets XBT Apps URL / Price tickers XCP / The XCP alt-coin ... Depositing funds Using Coinbase Exchange Funding and orders Order book and history Price charts Physical Bitcoins Summary Protecting Your Bitcoins Storing your bitcoins Bitcoin savings Paper wallets... Alternative coins Summary Installing a Bitcoin Node Understanding a Bitcoin node Bitcoin Core Internals of a node Node discovery Messaging Maintaining a Blockchain Transaction relaying Bitcoin wallets... first bitcoin in 15 minutes Signing up for a wallet – five minutes Adding a funding source – ten minutes Buying bitcoin – less than a minute Looking at your Bitcoin balance Explaining Bitcoin

Ngày đăng: 06/03/2019, 10:35

Từ khóa liên quan

Mục lục

  • Learning Bitcoin

    • Table of Contents

    • Learning Bitcoin

    • Credits

    • About the Author

    • Acknowledgments

    • About the Reviewers

    • www.PacktPub.com

      • Support files, eBooks, discount offers, and more

        • Why subscribe?

        • Free access for Packt account holders

    • Preface

      • What this book covers

      • What you need for this book

      • Who this book is for

      • Conventions

      • Reader feedback

      • Customer support

        • Downloading the example code

        • Errata

        • Piracy

        • Questions

    • 1. Setting up a Wallet

      • A brief history of money

      • Buying your first bitcoin in 15 minutes

        • Signing up for a wallet – five minutes

        • Adding a funding source – ten minutes

        • Buying bitcoin – less than a minute

        • Looking at your Bitcoin balance

      • Explaining Bitcoin addresses

      • Sending and receiving bitcoins

        • Sending bitcoins

        • Receiving bitcoins

      • Private keys and wallets

      • Transactions and confirmations

        • Transactions

        • Confirmations

      • Comparing Bitcoin wallets

        • Online wallets

        • Desktop wallets

        • Mobile wallets

        • Hardware wallets

      • Summary

    • 2. Buying and Selling Bitcoins

      • Understanding Bitcoin's price volatility

        • Exchange rates

        • Bitcoin's price history

        • Price bubbles

        • Theft

        • Seizure

      • Following exchange rates and news

        • Price tickers

        • Detailed price tracking

        • Candlestick charts

        • Market orders

        • Trading techniques

        • News sources

      • Comparing Bitcoin exchanges

        • Volume and liquidity

        • Fees and commissions

        • Transfer limits

        • Jurisdiction and regulations

        • Service uptime

      • Trading Bitcoins on an exchange

        • Setting up an account

        • Depositing funds

        • Using Coinbase Exchange

          • Funding and orders

          • Order book and history

          • Price charts

      • Physical Bitcoins

      • Summary

    • 3. Protecting Your Bitcoins

      • Storing your bitcoins

        • Bitcoin savings

        • Paper wallets

          • One time use paper wallets

          • Creating a paper wallet

          • Verifying your wallet's balance

          • Importing versus sweeping

          • Importing your paper wallet

          • Paper wallet guidelines

          • Paper wallet services

        • Brainwallets

          • Creating a brainwallet

        • Increasing brainwallet security

          • Deterministic wallets

            • Creating a deterministic wallet

            • Spending from a deterministic wallet

          • Type 2 Hierarchical Deterministic wallets

        • Installing a HD wallet

        • Bitcoins in cold storage

          • Cold storage with Electrum

        • Verifying access to a private key

      • Good housekeeping with Bitcoin

      • Summary

    • 4. Understanding the Blockchain

      • The Genesis block

        • Satoshi Nakamoto

        • The whitepaper

        • The blockchain

      • Keys, transactions, and blocks

        • Creating a transaction

        • Digital signatures

        • Public key encryption

        • Signing a document

        • Elliptic Curve Cryptography

        • Bitcoin addresses

          • Cryptographic hashes

          • Generating a Bitcoin address

        • Signing a transaction

        • Decentralized network

        • Broadcasting the transaction

      • The blockchain

        • Blocks

        • Forks

        • The Bitcoin supply

        • Proof of work

        • Confirmation

        • Difficulty level

        • Mining

        • Solving a difficult problem

        • Transaction fees

      • Network attacks

        • 51 percent attacks

        • Race attacks

        • Finney attacks

      • Alternative coins

      • Summary

    • 5. Installing a Bitcoin Node

      • Understanding a Bitcoin node

        • Bitcoin Core

        • Internals of a node

          • Node discovery

          • Messaging

          • Maintaining a Blockchain

          • Transaction relaying

          • Bitcoin wallets

      • Installing the client

        • Requirements

        • Starting the client

        • Connecting to the network

        • Downloading the blockchain

      • Using the client

        • Encrypting your wallet

        • Backing up your wallet

        • Balance and history

          • Receiving transactions

        • Sending transactions

      • Executing Bitcoin operations

        • Opening the console

        • Working with an encrypted wallet

        • Working with Bitcoin addresses

        • Creating and sending a transaction

          • Generating a destination address

          • Selecting a funding source

          • Specifying a change address

          • Including a transaction fee

          • Defining the transaction in JSON

          • Encoding and signing the transaction

          • Reviewing the transaction

          • Broadcasting the transaction

      • Summary

    • 6. Understanding the Mining Process

      • Digital gold

        • Bitcoin mining

      • Exploring the mining ecosystem

        • Validating transactions

        • Proof-of-Work

          • SHA-256

          • Scrypt

        • Mining rewards

        • Difficulty metrics

        • Mining hardware

      • Mining conditions

        • Mining pools

          • Mining shares

          • Fees and Payout

        • Cloud mining

        • Estimating profitability

          • Hardware efficiency

          • Factoring in the difficulty level

          • Selecting a currency

          • Exchange rates

      • Setting up a mining client

        • Requirements

          • Capital

          • Hardware

          • Facilities

        • Choosing the equipment

        • Choosing the software

      • Connecting to a mining pool

        • The payout method

        • The pool fees

        • The pool speed

        • Additional features

        • Avoiding large pools

        • Running the client

      • Summary

    • 7. Programming Bitcoin

      • Programmable money

        • Decentralized applications

        • Blockchains

          • Public Blockchains

          • Permissioned Blockchains

        • Smart contracts

      • Installing BitcoinJS

        • Requirements

        • Beginning the installation

        • Editing the source code

      • Programming common Bitcoin operations

        • Checking your balance

        • Generating addresses for a website

      • Sending transactions

        • Simple transactions

      • Building an Escrow contract

        • Generating the keys

        • Generating the Escrow address

        • Creating a withdraw script

        • Signing the transaction

        • Broadcasting the transaction

        • Refunding

      • Summary

    • 8. Exploring Alternative Coins

      • Open source money

        • The rise of the alt-coin

      • Namecoin

        • Decentralized domain name service

        • Merged mining

      • Litecoin

        • Block rate

        • Scrypt mining

      • Peercoin

        • Proof-of-stake

      • Primecoin

        • Prime numbers

        • Mining prime numbers

      • Evaluating an alt-coin

        • Developer activity

          • Launching of the alt-coin

          • The legitimate feature set

      • Protocols built on the Bitcoin Blockchain

        • Digital assets

      • Building a voting system with Counterparty

        • The XCP alt-coin

        • Creating a voting system

        • Creating a wallet

        • Funding the wallet

        • Creating the tokens

        • Sending tokens

          • Casting votes

        • Verifying the results

        • Finishing up

      • The future of finance

    • Index

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan