SlideShare a Scribd company logo
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

More Related Content

What's hot

Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
Arnold 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 cryptocurrencies
Sergey Ivliev
 
CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102
Blockstrap.com
 
Varnish in action pbc10
Varnish in action pbc10Varnish in action pbc10
Varnish in action pbc10
Combell 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 Network
Alan Carbery
 
LMAX Disruptor as real-life example
LMAX Disruptor as real-life exampleLMAX Disruptor as real-life example
LMAX Disruptor as real-life example
Guy 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 Cypherpunks
David 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 presentation
KouTon
 
04 - Qt Data
04 - Qt Data04 - Qt Data
04 - Qt Data
Andreas Jakl
 
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 Hero
Tier1app
 
Varnish in action phpuk11
Varnish in action phpuk11Varnish in action phpuk11
Varnish in action phpuk11
Combell NV
 
Bitcoin
BitcoinBitcoin
Bitcoin
Sikun Lin
 
Lightning Network
Lightning  NetworkLightning  Network
Lightning Network
Felix Crisan
 
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
Hasshi Sudler
 
Rust: Reach Further
Rust: Reach FurtherRust: Reach Further
Rust: Reach Further
nikomatsakis
 
Understanding the Disruptor
Understanding the DisruptorUnderstanding the Disruptor
Understanding the Disruptor
Trisha Gee
 

What's hot (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 to Fredericksburg LUG Bitcoin slides

Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
Galin Dinkov
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmers
Wojciech 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 2
Wojciech Langiewicz
 
On Private Blockchains, Technically
On Private Blockchains, TechnicallyOn Private Blockchains, Technically
On Private Blockchains, Technically
Alex Chepurnoy
 
Fluent destry saul
Fluent destry saulFluent destry saul
Fluent destry saul
Destry 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 Developers
Alex 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 Disruption
WSO2
 
Ethereum overview
Ethereum overviewEthereum overview
Ethereum overview
Alexander (Alex) Komyagin
 
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
Codemotion
 
Blockchain for Beginners
Blockchain for Beginners Blockchain for Beginners
Blockchain for Beginners
Cyber Security Alliance
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
BlockchainHub Graz
 
Crytomining hacking
Crytomining hackingCrytomining hacking
Crytomining hacking
Cis siva
 
Bitcoin and blockchain engineering
Bitcoin and blockchain engineeringBitcoin and blockchain engineering
Bitcoin and blockchain engineering
Gregory 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 presentation
Paperchain
 
Node.js Blockchain Implementation
Node.js Blockchain ImplementationNode.js Blockchain Implementation
Node.js Blockchain Implementation
GlobalLogic Ukraine
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
Tharindu Weerasinghe
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
Tal Shmueli
 
Blockchan For Developers
Blockchan For DevelopersBlockchan For Developers
Blockchan For Developers
Alex 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 to 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?
 

Recently uploaded

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

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