SlideShare una empresa de Scribd logo
1 de 22
Decentralized Digital Currencies

Bitcoin and Beyond
Presented by Alex Akselrod
Why Digital Currency?
●

Cash for the Internet
–
–

Privacy

–
●

Security
Crypto-anarchy

Examples
–

Digicash – one of the very first cryptocurrencies

–

PayPal

–

eGold

–

Liberty Reserve
How they work
●

●

●

●

Digicash used Chaumian blind signatures and
a mint to check for double spends
PayPal and Liberty Reserve balance/d user
deposits against deposits with partner
institutions
eGold kept bullion in a vault and balanced
user deposits against that
Centralized ledgers – single point of failure
Decentralization
●

A public ledger so everyone plays by the rules
–

●

Each full peer verifies all transactions

Timestamps to prevent double-spending
–
–

●

Miners operate distributed timestamp server
Proof of work = lottery

Initial distribution
–

Mining rewards

–

“Scamcoins” often “pre-mine” - SolidCoin
The Nitty Gritty - Transactions
●

Each transaction is a set of ledger entries

●

Two lists
–

–

●

●

Outputs consist of amount and condition to redeem that
money - debit
Inputs consist of pointer to previous output and script that
makes the condition return true - credit

Total input amount >= total output amount, the
remainder is miner fees
All outputs are fully used up when used as inputs,
change outputs to new “address” help preserve privacy
Transaction Diagram

By Matthäus Wander (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/bysa/3.0)], via Wikimedia Commons
http://commons.wikimedia.org/wiki/File%3ABitcoin_Transaction_Inputs_and_Outputs.png
Blocks
●
●

●
●

Each block contains header and list of Txes
Header contains hash of last header, timestamp,
target, root of TX Merkle tree, nonce, and TX count is
replaced with padding
Arranged in a TREE of possible TX orderings
Hash of the block being less than the target is proof of
work – like HashCash, but reusable

●

First TX is the “coinbase” - trustless inflation

●

Until a TX is in a block, no work secures it
Blockchain
●
●

The blockchain is a ledger, blocks are pages
Longest branch of block tree by cumulative
proof of work is blockchain

●

Represents current network consensus state

●

Parameters change to keep time, limit supply
–

difficulty retargeting every 2016 blocks

–

subsidy halves every 210,000 blocks
Blockchain Diagram

By Matthäus Wander (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/bysa/3.0)], via Wikimedia Commons
http://commons.wikimedia.org/wiki/File%3ABitcoin_Block_Data.svg
P2P Network
●

Message-based protocol

●

Provides for
–

Peer discovery

–

Broadcast of transactions and blocks

–

Download of blockchain by new nodes

–

Download of memory pool by newly started nodes

–

Stateful (Bloom filter) connections for “lite” nodes

–

Alert broadcasts
Transaction Example
●

Alice has received two outputs – 5 mBTC and
10 mBTC, wants to pay Bob 12 mBTC

●

Bob generates “address,” gives it to Alice

●

Alice generates “change address,” creates TX:
–

Input 1: 5 mBTC

–

Input 2: 10 mBTC

–

Output 1: 12 mBTC to Bob's address

–

Output 2: 2.9 mBTC to her change address
Transaction Example, Continued
●

Alice broadcasts TX to peer nodes

●

Peers verify TX, add to mempool, rebroadcast

●

Eventually, transaction makes it to Bob's node

●

Miners include TX in block they're working on,
recalculate Merkle root and keep hashing

●

When a block is found, miner broadcasts

●

Peers validate and rebroadcast

●

Alice and Bob see their first confirmation!
Result
●

Decentralized payment network – more like
settlement network

●

Unconfirmed TXes = “cleared,” confirmed = “settled”

●

All TXes are in bitcoins

●

Limited supply – Thiers' Law

●

Open platform for commerce and innovation

●

No middlemen, no borders, no censorship, no SPOF,
only the rules of its own design
The Future Is Here
●

●

●

Criteria for redemption can specify complex
contracts using scripts
Scripts can check signatures, hashes, m-of-n
signatures, and transactions can enforce
nLockTime and limited selection of
input/output combinations
Applications include deposits, assurance
contracts, escrow, micropayments, bets
Caveats
●

Privacy is user-defined

●

Scalability
–
–

UTXO indexing/blockchain pruning, SPV

–

Off-chain transactions, centralized and not

–
●

Block size – CPU, network, storage

Off-chain bets and other complex contracts

Transaction malleability
–

Important to contracts with refund failsafes

–

Cause of the latest ruckus
Alt-coins
●

●

Many use same technology but alter
parameters like hash algorithm, block
frequency, monetary policy – Litecoin, Freicoin,
Dogecoin
Some use unique concepts – proof of stake,
additional scripting and data storage
capabilities – PPCoin, NXT, Ethereum,
Mastercoin
Bitcoin Mining
●
●

Progression: CPU, GPU, FPGA, ASIC
Mining chip manufacturers include KnC,
CoinTerra, Butterfly Labs, ASICMiner, BitFury,
Avalon – caveat emptor

●

Mining software includes cgminer, bfgminer

●

Pools include Eligius, Slush

●

Please consider P2Pool – peer-to-peer
decentralized pool - http://p2pool.in/
BFL EasyMiner
Butterfly Labs
wraps bfgminer,
Avalon wraps
cgminer

Courtesy of http://p2pool.in/
Alt-coin mining
●

●

Bitcoin mining software and ASICs can often
be adapted for SHA256-based coins
Litecoin and other scrypt-based coins are still
using GPUs, though ASICs are rumored
–
–

●

cgminer for AMD GPUs
cudaMiner for Nvidia GPUs

P2Pool supports Litecoin as well (maybe not
any more?)
Getting and Using Bitcoins
●

●

●

●

Buy from Coinbase, LocalBitcoins, or exchange –
caveat emptor
Sell goods or services for Bitcoin – Coinbase and
BitPay make it easy, or use FOSS
Trade for altcoins at Cryptsy and other
exchanges
Buy from many Coinbase and BitPay enabled
merchants like Overstock.com, Gyft.com,
fiverr.com, and adafruit.com
Desktop Bitcoin Wallets
●

Multibit – simple, SPV wallet

●

Electrum – uses a blockchain server

●

Hive – SPV wallet for Mac OS X

●

Bitcoin-QT and bitcoind – the full node

●

Armory – advanced security features, requires
bitcoind
Android and Web Bitcoin Wallets
●

Bitcoin Wallet by Andreas Schildbach – SPV

●

Mycelium – Android, uses a blockchain server

●

Blockchain.info – web-based and Android app

●

Coinbase – web-based and Android app

●

CoinKite – web wallet and debit card/terminal

Más contenido relacionado

La actualidad más candente

Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to EthereumArnold Pham
 
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!RustyQRussell
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesSergey Ivliev
 
CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102Blockstrap.com
 
Varnish in action pbc10
Varnish in action pbc10Varnish in action pbc10
Varnish in action pbc10Combell NV
 
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...JAX London
 
Introduction to Lightning Network
Introduction to Lightning NetworkIntroduction to Lightning Network
Introduction to Lightning NetworkAlan Carbery
 
LMAX Disruptor as real-life example
LMAX Disruptor as real-life exampleLMAX Disruptor as real-life example
LMAX Disruptor as real-life exampleGuy Nir
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksDavid Evans
 
A New Age of JVM Garbage Collectors (Clojure Conj 2019)
A New Age of JVM Garbage Collectors (Clojure Conj 2019)A New Age of JVM Garbage Collectors (Clojure Conj 2019)
A New Age of JVM Garbage Collectors (Clojure Conj 2019)Alexander Yakushev
 
Blockchain presentation
Blockchain presentationBlockchain presentation
Blockchain presentationKouTon
 
Varnish in action phpday2011
Varnish in action phpday2011Varnish in action phpday2011
Varnish in action phpday2011Combell NV
 
Become a Garbage Collection Hero
Become a Garbage Collection HeroBecome a Garbage Collection Hero
Become a Garbage Collection HeroTier1app
 
Varnish in action phpuk11
Varnish in action phpuk11Varnish in action phpuk11
Varnish in action phpuk11Combell NV
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceHasshi Sudler
 
Rust: Reach Further
Rust: Reach FurtherRust: Reach Further
Rust: Reach Furthernikomatsakis
 
Understanding the Disruptor
Understanding the DisruptorUnderstanding the Disruptor
Understanding the DisruptorTrisha Gee
 

La actualidad más candente (20)

Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
 
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
Pettycoin: Losing Tiny Amounts of Bitcoin At Scale!
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrencies
 
CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102
 
Varnish in action pbc10
Varnish in action pbc10Varnish in action pbc10
Varnish in action pbc10
 
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...
Java Core | Understanding the Disruptor: a Beginner's Guide to Hardcore Concu...
 
Introduction to Lightning Network
Introduction to Lightning NetworkIntroduction to Lightning Network
Introduction to Lightning Network
 
LMAX Disruptor as real-life example
LMAX Disruptor as real-life exampleLMAX Disruptor as real-life example
LMAX Disruptor as real-life example
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
 
A New Age of JVM Garbage Collectors (Clojure Conj 2019)
A New Age of JVM Garbage Collectors (Clojure Conj 2019)A New Age of JVM Garbage Collectors (Clojure Conj 2019)
A New Age of JVM Garbage Collectors (Clojure Conj 2019)
 
Blockchain presentation
Blockchain presentationBlockchain presentation
Blockchain presentation
 
04 - Qt Data
04 - Qt Data04 - Qt Data
04 - Qt Data
 
Varnish in action phpday2011
Varnish in action phpday2011Varnish in action phpday2011
Varnish in action phpday2011
 
Become a Garbage Collection Hero
Become a Garbage Collection HeroBecome a Garbage Collection Hero
Become a Garbage Collection Hero
 
Varnish in action phpuk11
Varnish in action phpuk11Varnish in action phpuk11
Varnish in action phpuk11
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Lightning Network
Lightning  NetworkLightning  Network
Lightning Network
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space Commerce
 
Rust: Reach Further
Rust: Reach FurtherRust: Reach Further
Rust: Reach Further
 
Understanding the Disruptor
Understanding the DisruptorUnderstanding the Disruptor
Understanding the Disruptor
 

Similar a Fredericksburg LUG Bitcoin slides

Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodGalin Dinkov
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmersWojciech Langiewicz
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Wojciech Langiewicz
 
On Private Blockchains, Technically
On Private Blockchains, TechnicallyOn Private Blockchains, Technically
On Private Blockchains, TechnicallyAlex Chepurnoy
 
Fluent destry saul
Fluent destry saulFluent destry saul
Fluent destry saulDestry Saul
 
“A bitcoin mining rig”
“A bitcoin mining rig”“A bitcoin mining rig”
“A bitcoin mining rig”glitterlabs
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For DevelopersAlex Chepurnoy
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Codemotion
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & EthereumBlockchainHub Graz
 
Crytomining hacking
Crytomining hackingCrytomining hacking
Crytomining hackingCis siva
 
Bitcoin and blockchain engineering
Bitcoin and blockchain engineeringBitcoin and blockchain engineering
Bitcoin and blockchain engineeringGregory Bataille
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationPaperchain
 
Node.js Blockchain Implementation
Node.js Blockchain ImplementationNode.js Blockchain Implementation
Node.js Blockchain ImplementationGlobalLogic Ukraine
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroTal Shmueli
 
Blockchan For Developers
Blockchan For DevelopersBlockchan For Developers
Blockchan For DevelopersAlex Chepurnoy
 
Keynote: Blockchain Technology: a Sustainable Concept for the Future?
Keynote: Blockchain Technology: a Sustainable Concept for the Future?Keynote: Blockchain Technology: a Sustainable Concept for the Future?
Keynote: Blockchain Technology: a Sustainable Concept for the Future?Ingo Weber
 

Similar a Fredericksburg LUG Bitcoin slides (20)

Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmers
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2
 
On Private Blockchains, Technically
On Private Blockchains, TechnicallyOn Private Blockchains, Technically
On Private Blockchains, Technically
 
Fluent destry saul
Fluent destry saulFluent destry saul
Fluent destry saul
 
“A bitcoin mining rig”
“A bitcoin mining rig”“A bitcoin mining rig”
“A bitcoin mining rig”
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For Developers
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
 
Ethereum overview
Ethereum overviewEthereum overview
Ethereum overview
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
Blockchain for Beginners
Blockchain for Beginners Blockchain for Beginners
Blockchain for Beginners
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
 
Crytomining hacking
Crytomining hackingCrytomining hacking
Crytomining hacking
 
Bitcoin and blockchain engineering
Bitcoin and blockchain engineeringBitcoin and blockchain engineering
Bitcoin and blockchain engineering
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentation
 
Node.js Blockchain Implementation
Node.js Blockchain ImplementationNode.js Blockchain Implementation
Node.js Blockchain Implementation
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Blockchan For Developers
Blockchan For DevelopersBlockchan For Developers
Blockchan For Developers
 
Keynote: Blockchain Technology: a Sustainable Concept for the Future?
Keynote: Blockchain Technology: a Sustainable Concept for the Future?Keynote: Blockchain Technology: a Sustainable Concept for the Future?
Keynote: Blockchain Technology: a Sustainable Concept for the Future?
 

Último

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

Fredericksburg LUG Bitcoin slides

  • 1. Decentralized Digital Currencies Bitcoin and Beyond Presented by Alex Akselrod
  • 2. Why Digital Currency? ● Cash for the Internet – – Privacy – ● Security Crypto-anarchy Examples – Digicash – one of the very first cryptocurrencies – PayPal – eGold – Liberty Reserve
  • 3. How they work ● ● ● ● Digicash used Chaumian blind signatures and a mint to check for double spends PayPal and Liberty Reserve balance/d user deposits against deposits with partner institutions eGold kept bullion in a vault and balanced user deposits against that Centralized ledgers – single point of failure
  • 4. Decentralization ● A public ledger so everyone plays by the rules – ● Each full peer verifies all transactions Timestamps to prevent double-spending – – ● Miners operate distributed timestamp server Proof of work = lottery Initial distribution – Mining rewards – “Scamcoins” often “pre-mine” - SolidCoin
  • 5. The Nitty Gritty - Transactions ● Each transaction is a set of ledger entries ● Two lists – – ● ● Outputs consist of amount and condition to redeem that money - debit Inputs consist of pointer to previous output and script that makes the condition return true - credit Total input amount >= total output amount, the remainder is miner fees All outputs are fully used up when used as inputs, change outputs to new “address” help preserve privacy
  • 6. Transaction Diagram By Matthäus Wander (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/bysa/3.0)], via Wikimedia Commons http://commons.wikimedia.org/wiki/File%3ABitcoin_Transaction_Inputs_and_Outputs.png
  • 7. Blocks ● ● ● ● Each block contains header and list of Txes Header contains hash of last header, timestamp, target, root of TX Merkle tree, nonce, and TX count is replaced with padding Arranged in a TREE of possible TX orderings Hash of the block being less than the target is proof of work – like HashCash, but reusable ● First TX is the “coinbase” - trustless inflation ● Until a TX is in a block, no work secures it
  • 8. Blockchain ● ● The blockchain is a ledger, blocks are pages Longest branch of block tree by cumulative proof of work is blockchain ● Represents current network consensus state ● Parameters change to keep time, limit supply – difficulty retargeting every 2016 blocks – subsidy halves every 210,000 blocks
  • 9. Blockchain Diagram By Matthäus Wander (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/bysa/3.0)], via Wikimedia Commons http://commons.wikimedia.org/wiki/File%3ABitcoin_Block_Data.svg
  • 10. P2P Network ● Message-based protocol ● Provides for – Peer discovery – Broadcast of transactions and blocks – Download of blockchain by new nodes – Download of memory pool by newly started nodes – Stateful (Bloom filter) connections for “lite” nodes – Alert broadcasts
  • 11. Transaction Example ● Alice has received two outputs – 5 mBTC and 10 mBTC, wants to pay Bob 12 mBTC ● Bob generates “address,” gives it to Alice ● Alice generates “change address,” creates TX: – Input 1: 5 mBTC – Input 2: 10 mBTC – Output 1: 12 mBTC to Bob's address – Output 2: 2.9 mBTC to her change address
  • 12. Transaction Example, Continued ● Alice broadcasts TX to peer nodes ● Peers verify TX, add to mempool, rebroadcast ● Eventually, transaction makes it to Bob's node ● Miners include TX in block they're working on, recalculate Merkle root and keep hashing ● When a block is found, miner broadcasts ● Peers validate and rebroadcast ● Alice and Bob see their first confirmation!
  • 13. Result ● Decentralized payment network – more like settlement network ● Unconfirmed TXes = “cleared,” confirmed = “settled” ● All TXes are in bitcoins ● Limited supply – Thiers' Law ● Open platform for commerce and innovation ● No middlemen, no borders, no censorship, no SPOF, only the rules of its own design
  • 14. The Future Is Here ● ● ● Criteria for redemption can specify complex contracts using scripts Scripts can check signatures, hashes, m-of-n signatures, and transactions can enforce nLockTime and limited selection of input/output combinations Applications include deposits, assurance contracts, escrow, micropayments, bets
  • 15. Caveats ● Privacy is user-defined ● Scalability – – UTXO indexing/blockchain pruning, SPV – Off-chain transactions, centralized and not – ● Block size – CPU, network, storage Off-chain bets and other complex contracts Transaction malleability – Important to contracts with refund failsafes – Cause of the latest ruckus
  • 16. Alt-coins ● ● Many use same technology but alter parameters like hash algorithm, block frequency, monetary policy – Litecoin, Freicoin, Dogecoin Some use unique concepts – proof of stake, additional scripting and data storage capabilities – PPCoin, NXT, Ethereum, Mastercoin
  • 17. Bitcoin Mining ● ● Progression: CPU, GPU, FPGA, ASIC Mining chip manufacturers include KnC, CoinTerra, Butterfly Labs, ASICMiner, BitFury, Avalon – caveat emptor ● Mining software includes cgminer, bfgminer ● Pools include Eligius, Slush ● Please consider P2Pool – peer-to-peer decentralized pool - http://p2pool.in/
  • 18. BFL EasyMiner Butterfly Labs wraps bfgminer, Avalon wraps cgminer Courtesy of http://p2pool.in/
  • 19. Alt-coin mining ● ● Bitcoin mining software and ASICs can often be adapted for SHA256-based coins Litecoin and other scrypt-based coins are still using GPUs, though ASICs are rumored – – ● cgminer for AMD GPUs cudaMiner for Nvidia GPUs P2Pool supports Litecoin as well (maybe not any more?)
  • 20. Getting and Using Bitcoins ● ● ● ● Buy from Coinbase, LocalBitcoins, or exchange – caveat emptor Sell goods or services for Bitcoin – Coinbase and BitPay make it easy, or use FOSS Trade for altcoins at Cryptsy and other exchanges Buy from many Coinbase and BitPay enabled merchants like Overstock.com, Gyft.com, fiverr.com, and adafruit.com
  • 21. Desktop Bitcoin Wallets ● Multibit – simple, SPV wallet ● Electrum – uses a blockchain server ● Hive – SPV wallet for Mac OS X ● Bitcoin-QT and bitcoind – the full node ● Armory – advanced security features, requires bitcoind
  • 22. Android and Web Bitcoin Wallets ● Bitcoin Wallet by Andreas Schildbach – SPV ● Mycelium – Android, uses a blockchain server ● Blockchain.info – web-based and Android app ● Coinbase – web-based and Android app ● CoinKite – web wallet and debit card/terminal