|
1 | 1 | # Leios logbook
|
2 | 2 |
|
| 3 | +## 2024-09-26 |
| 4 | + |
| 5 | +### Team session on requirements for metrics |
| 6 | + |
| 7 | +- Reviewed status of certificates |
| 8 | + - Options |
| 9 | + - ALBA |
| 10 | + - BLS |
| 11 | + - other |
| 12 | + - Dimitar, Raphael, Tolik, and Pyrrhos are investigating viability of ALBA |
| 13 | + - Potential use of ZK to reduce size |
| 14 | + - Non-ALBA options are still on the table |
| 15 | +- Reviewed plan for Sundae Labs work |
| 16 | + - First step is a simplified Praos ledger |
| 17 | + - Transactions remove UTxOs and add new UTxOs |
| 18 | + - Transactions are opaque objects with an identifier (hash) and padding/representation of size in bytes |
| 19 | + - Delays caused by cryptography etc. are modeled |
| 20 | + - Ledger is set of active inputs |
| 21 | + - Subsequent steps |
| 22 | + - IBs |
| 23 | + - EBs |
| 24 | + - Votes 1 |
| 25 | + - Endorsement |
| 26 | + - Votes 2 |
| 27 | + - L1 diffusion |
| 28 | + - . . . |
| 29 | +- Brainstorming of metrics, experiments, variants, etc. |
| 30 | + - Generate loads randomly and/or based on historical data. |
| 31 | + - DB sync provides distributions of transaction sizes, etc. |
| 32 | + - Mempool data requires more effort to extract |
| 33 | + - Experiment with measuring throughput at 20%, 40%, 60%, 80% of theoretical network bandwidth. |
| 34 | + - Measure memory and disk growth. |
| 35 | + - Can services be run as separate components, on separate VMs, with varied levels of trust, with/without large amount of stake? |
| 36 | + - Packing of transactions: |
| 37 | + - Measure % duplicate, % conflicting, % non-conflicting txs in final ledger update |
| 38 | + - Scoopers and other Dex batching may naturally produce conflicting txs |
| 39 | + - Design an attack scenario that maximizes conflicts and/or duplicates. |
| 40 | + - Memory pool modeling may be necessary: |
| 41 | + - Investigate what logic will be used to include txs in IBs. |
| 42 | + - If a node is elected twice in short succession, can it include dependencies of the second IB upon the first? |
| 43 | + - Consider design variant where input blocks (minus VRF signature) are proposed and then adopted (adding signature). |
| 44 | + - What is the latency distribution of nodes receive txs/IBs after they are referenced by the ranking block? |
| 45 | + - How long does it take txs to reach the slowest nodes? |
| 46 | + - What is the optimal IB size? |
| 47 | + - Could third parties propose an IB that is then signed by a VRF-elected Leios node? |
| 48 | + - Can IBs depend upon IBs? |
| 49 | + - Will Leios adversely affect tx batching and chaining? |
| 50 | + - Compare freshest first vs oldest first. |
| 51 | + - Are there synergies or conflicts with Validation Zones (Babbel Fees)? |
| 52 | + - Are the validation zones the same as IBs? |
| 53 | + - Are the tx-reconciliation algorithms for validation zones and IBs compatible? |
| 54 | + - Might adding more Leios stages improve throughput? |
| 55 | + - Is this level of node/ledger change impractical for the ecosystem? |
| 56 | + - Should Leios be more like a high-throughput side chain (L1.5)? |
| 57 | + - Assess the API impact of Leios for node following, indexing, etc. |
| 58 | +- Next week settle on initial common formats for simulation I/O. |
| 59 | + - Protocol parameters |
| 60 | + - Crypto: CPU delays and signature/certificate sizes |
| 61 | + - Network nodes and topology |
| 62 | + - Output traces |
| 63 | +- Use Haskell's Aeson-style YAML serialization and configure Serde to mimic that in Rust. |
| 64 | + |
3 | 65 | ## 2024-09-25
|
4 | 66 |
|
5 | 67 | ### Team session on network simulation
|
|
23 | 85 | - Full-time work may start next week, depending upon final signatures to the contract
|
24 | 86 | - Clarifications
|
25 | 87 | - The `L` parameter is some multiple of the slot length, probably dozens of slots
|
| 88 | + - Is header diffusion a push or pull process? |
| 89 | + - The Leios paper differs from Cardano practice. |
| 90 | + - The two approaches may be isomorphic. |
26 | 91 | - The paper has some ambiguity regarding whether handling equivocations is strictly part of simplified or full Leios
|
27 | 92 | - IBs might be diffused to neighbors if they nominally valid but the node might nevertheless choose not to vote on them
|
28 | 93 | - A few concerns about Leios that may need early investigation
|
|
0 commit comments