-
Notifications
You must be signed in to change notification settings - Fork 0
TPS Analysis
O edited this page Dec 23, 2025
·
1 revision
- Maximum Block Weight: 4,000,000 weight units (same as Bitcoin)
- Maximum Block Serialized Size: 4,000,000 bytes (~3.8 MB)
- Minimum Transaction Weight: 240 weight units (WITNESS_SCALE_FACTOR Γ 60)
The O Blockchain uses dynamic block time based on business participation:
| Business Participation | Block Time | Blocks/Hour | Blocks/Day |
|---|---|---|---|
| Low (0%) | 12 seconds | 300 | 7,200 |
| Medium (50%) | 9 seconds | 400 | 9,600 |
| High (80%) | 6 seconds | 600 | 14,400 |
Source: src/consensus/o_pow_pob.h and src/consensus/o_pow_pob.cpp
- Transaction Weight: 240 (minimum)
- Transactions per Block: 4,000,000 Γ· 240 = ~16,667 transactions
| Block Time | Blocks/Second | Maximum TPS |
|---|---|---|
| 12 seconds | 0.083 | ~1,389 TPS |
| 9 seconds | 0.111 | ~1,852 TPS |
| 6 seconds | 0.167 | ~2,778 TPS |
Assuming average transaction weight of ~600 weight units (typical P2PKH with SegWit):
- Transactions per Block: 4,000,000 Γ· 600 = ~6,667 transactions
| Block Time | Blocks/Second | Realistic TPS |
|---|---|---|
| 12 seconds | 0.083 | ~556 TPS |
| 9 seconds | 0.111 | ~741 TPS |
| 6 seconds | 0.167 | ~1,111 TPS |
Assuming larger transaction weight of ~1,000 weight units (complex transactions):
- Transactions per Block: 4,000,000 Γ· 1,000 = 4,000 transactions
| Block Time | Blocks/Second | Conservative TPS |
|---|---|---|
| 12 seconds | 0.083 | ~333 TPS |
| 9 seconds | 0.111 | ~444 TPS |
| 6 seconds | 0.167 | ~667 TPS |
- Minimum (12-second blocks): 333-556 TPS
- Maximum (6-second blocks): 667-1,111 TPS
- Peak Theoretical: ~2,778 TPS (with minimum-sized transactions)
With typical business participation (30-50%), expect:
- Block Time: ~9-10 seconds
- Throughput: ~400-600 TPS (realistic)
- Peak: ~700-800 TPS (under optimal conditions)
| Blockchain | Block Time | Block Size | Theoretical TPS | Actual TPS |
|---|---|---|---|---|
| Bitcoin | 10 minutes | ~4 MB | ~7 TPS | ~3-7 TPS |
| Ethereum | ~12 seconds | Variable | ~15 TPS | ~15-20 TPS |
| O Blockchain | 6-12 seconds | ~4 MB | 333-1,111 TPS | 400-600 TPS (est.) |
- β Fast block times (6-12 seconds vs Bitcoin's 10 minutes)
- β Standard Bitcoin block size (4 MB weight limit)
- β Dynamic block time adapts to demand
- β SegWit support (efficient transaction encoding)
β οΈ Network propagation (faster blocks = more orphan risk)β οΈ Transaction complexity (O transactions may include measurement data)β οΈ Multi-currency support (may increase transaction size)β οΈ Database writes (3 LevelDB databases per transaction)
- Target: 400-600 TPS sustained
- Peak: Up to 800 TPS during high business activity
- Conservative: Plan for 300-400 TPS for capacity planning
- Layer 2 Solutions (mentioned in README as future plan)
- Transaction batching (combine multiple operations)
- Optimize transaction size (use efficient encoding)
- Network optimization (reduce propagation delays)
- These calculations assume the standard Bitcoin Core block weight limits are in use
- Actual TPS may be lower due to network conditions, mempool management, and validation overhead
- O-specific transaction types (water price measurements, validations, etc.) may have different sizes
- The dynamic block time system automatically adjusts throughput based on business participation
Last Updated: 2025-01-06
Configuration Source: src/consensus/consensus.h, src/consensus/o_pow_pob.h
Β© O International
A Nonprofit Association Focused on the Creation of a Water Price-Based Stable Coin
Association de Loi 1901 β France NumΓ©ro de Siret (French SIREN): 924 014 467 00014