Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi, and Prognostications
1
Florida West Coast Section
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Michael A. Ramalho, Ph.D.�IEEE Florida West Coast Section Blockchain Local Group Founding Chair�mar42@cornell.edu
Sponsored by FWCS Blockchain Local Group and�University of Maryland Global Campus
October 24, 2025
Today’s Objectives:
2
© 2025 FWCS IEEE SP/COMM. All rights reserved.
DISCLAIMER:
Primarily a technical talk on blockchain mechanics, operation, and theory.
Technical Analysis and Appraisal - Use at your own risk.
3
© 2025 FWCS IEEE SP/COMM. All rights reserved.
What are Blockchains?
Blockchains are software-defined data structures in which:�
HEADER
PAYLOAD
Newest Block
..... Older Blocks .....
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin/Ethereum: Public Permissionless Blockchains & DeFi
5
Key Technologies:
Alt Title: Cryptographic Hash Functions Gone Wild!
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
6
Public-Key�Cryptography�Basic Concept
ASIDE: Direct Participation in Crypto Facilitated by Public Key Cryptography
“Not your Keys – Not your Crypto!”
Hardware�wallet/vault�(Ledger Nano X )
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
7
Input_Data
“One-Way” Hash Function (SHA-256)
Output_Hash (256 bits for SHA-256)
Arbitrary Length Input
Advanced Encryption Standard (AES)
Deterministic value, but appears random relative to similar looking inputs.
Fixed-length Output (256 bits for SHA-256)
0x7F83B1657FF1FC53B92DC18148A1D65DFC2D4B1FA3D677284ADDD200126D9069
0x451CAE5B3608B3556D46E41809AFBF80C1ADBEC092504D6FE86FA31A22795525
Hello World!
Hello Vorld!
“W” and “V” in ASCII�are only one bit different!
On average, 128 of the 256 bits will be different. For ANY difference in input!�“The Avalanche Effect” of hashing.
HASHSHA-256
HASHSHA-256
Designed to be virtually impossible to go this way.
“One-Way Functions”
Easy to go this way. Output “appears random”.
Essential Blockchain Technology: Cryptographic Hash Functions
Input_Data1:Input_Data2
HashSHA-256
Output_Hash1,2
Deterministic 256 bit value, but appears random relative to:�Hash(Input_Data1) OR Hash(Input_Data2).
Concatenation of Inputs (of arbitrary length)
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
8
What if you interpreted HASHSHA-256(“string”) as a Unsigned 256-bit number?
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
9
Cryptographic Hashing for Large Sets of Data: Binary Hash Chain
Pioneer: Ralph Merkle (1979) - Invented Merkle Trees.
Bitcoin�Block
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
10
HISTORY: Bitcoin introduced Blockchain to the World in October 2008 - Right?
Pseudonym for one or more persons.
Merkel Root�(for block)
“Previous� Hash” in�Bitcoin�Header
Reference�[3]
1990
Stuart
Scott
Publish hashes in NY Times!
Stuart
Bitcoin needed better technology�than New York Times!
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Documents in referenced work (transactions in Bitcoin)
11
HISTORY/TRIVIA: What was Bitcoin’s Problem To Solve?
Pioneer: Satoshi Nakamoto and colleagues.
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin: Cryptographic Hashes Tie All the Blocks Together
12
PAYLOAD�(transactions here)
BLOCK (N-1)
Merkle Root
Hash of Previous�Block Header
HEADER�ELEMENTS
Hash
PAYLOAD�(transactions here)
BLOCK N
Merkle Root
Hash of Previous�Block Header
HEADER�ELEMENTS
Hash
PAYLOAD�(transactions here)
BLOCK (N+1)
Merkle Root
Hash of Previous�Block Header
HEADER�ELEMENTS
Hash
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin: Requires Miners to ”Find a Header Hash” below a Target Value
13
If we want the result to be < 2(255-1) ... that is equivalent to saying we want : 0b00XXXXXXX ...XX
(256-1-1) = 254 bits don’t care
(1+1) = two zero bits
If we want the result to be < 2(255-k) ... that is equivalent to saying we want : 0b0 ... 0XXX ...XXX
(256-k-1) bits don’t care
(k+1) zero bits
If we want the result to be < 2(255-k) ... but also to be ≥ 2(255-k-1)) ...�that is equivalent to saying we want : 0b0 ... 01XXX ...XX
(k+1) zero bits
(256-k-2) bits don’t care
The number of leading zeros tells�us what the target value was�(to within a power of 2).
Header Hash for Block 833,954 (Mar 9, 2024, 3:25:31):
0x000000000000000000031ae555d445f1f0349d68afba1da7c3bd9b908868dd6c
78 leading zeros (19*4+2). Thus k = 77. Target value was < 2(255-77) , but also ≥ 2(255-78)��2178 > Bitcoin Block Target Value ≥ 2177
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
OK ... So how does Bitcoin find such a hash value?
If we want the result to be < 2255 ... that is equivalent to saying we want : 0b0XXXXXXXX ...XX
(256-1) = 255 bits don’t care
one zero bit
20 position
2255 position
14
Bitcoin: How do you ”Find a Header Hash” below a Target Value?
HASH{[Bitcoin Block Header without Nonce field] : [Nonce]} = “256-bit Number”
Nonce Field
A Bitcoin Block
Payload�(transactions�are here)
Header
0 ... 00
0 ... 01
0 ... 10
0 ... 11
...
Nonce =
Let’s see what happens when we increment the Nonce
... and ...
We interpret the result as a 256-bit unsigned integer
Question: How many Nonces do we need to try on average to get this result?
Partial Answer: There is a 50% probability of the first bit being a “0” (p = 1/21).
Full Answer: Bernoulli trial. Mean of distribution is 1/p. On average you need 2 trials.
Key Result: To get J leading zeros in the result .. on average expect to try 1/(1/2J) = 2J Nonces!
Header Hash for Block 833,954 (Mar 9, 2024, 3:25:31):
0x000000000000000000031ae555d445f1f0349d68afba1da7c3bd9b908868dd6c
Bitcoin’s Target uint256 had 78 leading zeros (19*4+2) ⋍ 278 nonces tried ⋍ 3*1023 Hashes�Network Hashrate* of > 5 x 1020 Hashes per Second!
Let’s say we want the result to be < 2255 ... that is the hash result is: 0b0XXXXXXXX ...XX
255 bits don’t care
one zero bit
Need >1020 guesses/sec!�Until HASHSHA-256 is broken�there is no other way!
* - 3*1023 hashes / 600 sec = 5 *1020
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
15
Bitcoin (and all Proof-of-Work Crypto) is a Horrible Waste of Power!
Bitcoin power consumption estimated�to be 138 ~ 194 TWh (terawatt-hours).
Equivalent to electricity use of Belgium�and the Netherlands – COMBINED!
��
IMHO, Should be called�“Proof of Random Guessing”�(or “Proof of Effort”)
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Public Permissionless Blockchain Consensus Algorithms
16
The inventors of blockchain (Drs. Haber & Stornetta in 1990) used the NY Times �as their “single point of proof” for storing the hashes.
The inventor of Bitcoin (Satoshi Nakamoto in 2008) “solved” the problem�of “a single point of proof” by:
* - Sunny King and Scott Nadal in their whitepaper “PPCoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake”
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin’s “Proof of Work” Consensus Algorithm Resolves Conflicts!
17
2 Different Miners “Solve Hash Problem” at Nearly the Same Time
B1
“Nakamoto Consensus” - A Natural Fit for Open Permissionless Systems (any node can join at any time).
A
New Block Every ~10 min
B2
C
3/4 miners work here – next block�expected in ~13.3 min ((4/3)*10)
1/4 miners work here - next block�expected in ~40 min (4*10)
X
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin’s Consensus Exploited To Fix August 15, 2010 Overflow Error*
18
B1
A
* - https://en.bitcoin.it/wiki/Value_overflow_incident
74638
74637
Overflow error (Created 184B BTC to 2 Addresses & 0.01 BTC Block Award)
Within 5 hours, new client forced a soft fork that rescinded block validity after the fact.
Unpatched clients continued to build on “Bad Chain”.
B2
Updated nodes begin to build on last valid block (according to new rules/checks).
Once update pushed to clients representing > 50% of hashpower, it was only�a matter of time until the “Good Chain” overtook the “Bad Chain” (~19 hours).
Community decided: “Bad Chain”
74691
NEW�74638
Result: It is as if the Bad Chain blocks never existed!
Bitcoin Lies:
Transaction�4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
“Good Chain”
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
19
Can We Solve the Power Consumption Problem? – YES!
Let’s simplify Bitcoin’s mining problem to find solution:
Ethereum has transitioned from Proof-of-Work to Proof-of-Stake :
Pioneers: PoS Innovators and Ethereum Core Developers (PoW->PoS)
Algorand is a Pure Proof-of-Stake (PoS) crypto:
Pure PoS:�Highest Chance�of Being Chosen
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Seeding the CSPRNG to Select ONE Validator – in a “Fair Manner”
20
Seed
CSPRNG�(note: deterministic)
Clock
M-bit Output
(Uniform pdf)
0
[2M-1]
~
p(x)
~
2M
1
Cryptocurrency Mechanics and DeFi – Part 1�
Problem reduces to:
Hash�(what�else?)
S1
S2
S3
S4
S5
S6
S7
S8
SN
Each Validator enrolls with �a random secret of their choice!
Seed
Problem:
Last CPU to send�their secret (after seeing�all others) can determine the seed!*
METHOD 2: FAIL
H1
H2
H3
H4
H5
H6
H7
H8
HN
Step 1: Enroll with�a hash of your secret�random number
ENROLL
S1
S2
S3
S4
S5
S6
S7
S8
SN
Step 2: After enrollment�is complete, then send�secret random number
VERIFY PREVIOUSLY�SENT HASHES
Step 3: Verify previously sent hash is correct for secret sent.
WORKS: “RanDAO�commit-reveal” *
* - Ethereum uses this. There are other schemes as well.
S1
S2
S3
S4
S5
S6
S7
S8
SN
Seed
Hash
Step 4: Method 2 Hash
* - Also called “grinding”.
Hey – this is blockchain problem! �Can’t we solve by adding yet another hash?
Take Away: CSPRNG Schemes Exist to Choose “Fairly” for PoS.
Answer to PoW Power Wastefulness: Proof of Stake (and derivatives)
21
Public Permissionless Blockchain Nodes (validators) are not fully autonomous! Major departure from Bitcoin design.
Image Credit:�https://www.coindesk.com/tech/2022/09/06/the-final-countdown-to-the-ethereum-merge-has-officially-begun/
Proof of Stake
Proof of Work
"Ethereum 1.0”
“Difficulty Bomb” triggered (hash target-level set very low – no one can mint a block – PoW died).
“THE MERGE” - Ethereum's Transition from Ethereum 1.0 (PoW) to Ethereum 2.0 (PoS)
... BUT THIS IS DEBATABLE ... BECAUSE ...
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Ethereum Virtual Machines ⋍ {~Bitcoin Transaction Train + Smart Contracts}
22
A smart contract is a computerized transaction protocol that executes the terms of a contract. The general objectives of�smart-contract design are to satisfy common contractual conditions (such as payment terms, liens, confidentiality, and even enforcement), minimize exceptions both malicious and accidental, and minimize the need for trusted intermediaries.
All parties MUST TRUST smart contract!
Smart Contract Execution isn’t free ... It costs “gas”.
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Ethereum Virtual Machines (EVMs) – A Deeper Look
23
Gas fees are paid in Ethereum's native currency, ether (ETH).�Gas prices are specified in gwei (1 gwei = 0.000000001 ETH).
Image Credit: https://ethereum.org/en/developers/docs/gas/
Smart Contact is interpreted code – executed upon an ”event”.
Point 1: Only use external storage when absolutely required.
Point 2: Pass Enough Gas!
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Ethereum Smart Contracts (Solidity)
24
The first time this smart contract is called, the “constructor” instantiates the state needed on the blockchain (part of�“world state”). There is a cost (in gas) to instantiate state that will forever be on the blockchain – so don’t ever instantiate�local/temporary state on the blockchain!
Here, three things are required. If not met, the call/method�terminates and “reverts” any blockchain state to where it�was prior - but gas fees still consumed (as EVM executed it)!
Smart Contract execution can trigger other “events” and “errors”.
Default uint is uint256. Operations with unit32 cost more gas!
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Consensus Mechanism Summary: PoW vs PoS
25
”Proof-of-Work” Properties (“The Genius of Satoshi Nakamoto’s Bitcoin” – “Nakamoto Consensus”):
“Proof-of-Stake” Properties:
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
On Scaling Public Permissionless Blockchains ...
26
* - Many crypto hacks target Layer 1 to Layer 2 interface.
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Blockchain Governance and Challenges in Crypto Regulation
27
A Decentralized Autonomous Organization (a DAO) is a organization - represented by rules encoded as a computer program (smart contract) or in blockchain governance structure - that is:
[Member-directed communities without centralized leadership used for ANY purpose.]
Bitcoin’s Original Goal: To eliminate the need of a mutually acceptable trusted third party. Just trust the code.
But the blockchain code can be changed by the blockchain’s DAO governance!
PROBLEMS/CONCERNS/ISSUES:
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Stablecoins ... Then (Early 2022) and Now (Oct 2025)
28
Tether (USDT), USD Coin (USDC), TerraUSD (UST)*, Binance USD (BUSD), ...
May 13,�2022
(was 3rd�largest)
StableCoins (graphic from a deck presented in early 2022):
TerraUSD was a class of “algorithmic�Stablecoin” based on creation/burning�of underlying token LUNA.*
* - https://www.richmondfed.org/publications/research/economic_brief/2022/eb_22-24
UST failed as a result of cryptocurrency LUNA which used the Terra PoS blockchain.*
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
GENUS ACT (signed into law July 18, 2025) - U.S. law that creates rules for stablecoins.
If Tether were a county, it would rank 18th among foreign holders of U.S. Treasuries�($127 Billion as of July 2025).
29
Why Stake Your Crypto?
Proof-of-Stake (PoS) crypto staking generalizations:
Pure Proof of Stake (PPoS): Algorand
* - Ethereum supply today is ~120M ETH.
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
30
Miscellany: What are CBDCs and Cryptocurrency Treasure Companies?
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
There are other crypto investment opportunities besides just owning crypto itself.
31
Bitcoin, Ethereum and DeFi - Closing Summary
Bitcoin:
Ethereum/DeFi:
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
YOU MADE IT ...
32
© 2025 FWCS IEEE SP/COMM. All rights reserved.
33
START: Cryptographic Hash Functions Gone Wild!
Arbitrary Input Length
Fixed Length Output
Hash�Function
Michael A. Ramalho, Ph.D.�IEEE Florida West Coast Section Blockchain Community Founding Chair�mar42@cornell.edu
THANK YOU!�Now -> Q & A
Permissionless
Decentralized
Trustless
Transparent
Censorship Resistant
Programmable
DeFi:
END: DeFi beginning to upset the Financial World Order!
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin Crypto Supply: The Math
34
Original Bitcoin Money Supply Design (it has not changed!)
Total BTC Limit = 10,500,000 [ 1 + 1/2 + 1/4 +1/8 + 1/16 ... ]
First four years
Next four years
... and so on ...
= 1
Total BTC Limit = 21,000,000 BTC
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Blockchain Block Explorers: Bitcoin Example (https://www.blockchain.com/explorer/blocks/btc/918349)
35
Coinbase Transaction
Miner Name
0x00000000000000000000b41746bf85c75721dadb8fd9cb9758edc46836bbf57b
Block Award
Total Transaction Fees
Individual Transactions
0x3f0dd381d012af8bff5570d554fe528860219093222d340ea4289837b34c742a
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Ethereum “Merge” from PoW to PoS – Quick Look at Block Components
36
Ethereum�Pre-Merge�(similar to Bitcoin components)
Fundamentally Straightforward��A lot of testing to ensure�the merge went smoothly
Ethereum PROVED that�(energy-wasting) PoW�blockchains can�transition to PoS!
[ ... by changing�consensus algorithm]
Ethereum�Post-Merge
Additional “post-merge” fields (mostly) due to ”virtual machine” state required by smart contract functionality�(next slide).
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi, and Prognostications
37
Florida West Coast Section
Bitcoin/Ethereum: Public Permissionless Blockchains, DeFi and Prognostications
Michael A. Ramalho, Ph.D.�IEEE Florida West Coast Section Blockchain Local Group Founding Chair�mar42@cornell.edu
Sponsored by FWCS Blockchain Local Group and�University of Maryland Global Campus
October 24, 2025