Skip to content

Commit 28d2364

Browse files
authored
Miniature mainnet (#402)
* Created "mini mainnet" topology * Updated logbook
1 parent 10e6d96 commit 28d2364

File tree

4 files changed

+3549
-1
lines changed

4 files changed

+3549
-1
lines changed

Logbook.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Leios logbook
22

3+
## 2025-06-12
4+
5+
### "Miniature mainnet" topology
6+
7+
Because the 10,000 [pseudo-mainnet](data/simulation/pseudo-mainnet/topology-v1.ipynb) runs so slowly and consumes so much memory in the Rust and Haskell simulations, thus making it impractical for repeated use and for large experiments, we created a smaller 750-node topology that faithfully mimics mainnet. It has nearly the same diameter as mainnet and have very similar stake distribution and edge degree.
8+
9+
- Methodology: [topology-v2.ipynb](data/simulation/pseudo-mainnet/topology-v2.ipynb)
10+
- Network: [topology-v2.yaml](data/simulation/pseudo-mainnet/topology-v2.yaml)
11+
- Metrics: [topology-v2.md](data/simulation/pseudo-mainnet/topology-v2.md)
12+
13+
| Metric | Value |
14+
|--------|-------|
15+
| Total nodes | 750 |
16+
| Block producers | 216 |
17+
| Relay nodes | 534 |
18+
| Total connections | 19314 |
19+
| Network diameter | 5 hops |
20+
| Average connections per node | 25.75 |
21+
| Clustering coefficient | 0.332 |
22+
| Average latency | 64.8ms ms |
23+
| Maximum latency | 578.3ms ms |
24+
| Stake-weighted latency | 0.0ms ms |
25+
| Bidirectional connections | 1463 |
26+
| Asymmetry ratio | 84.85% |
27+
328
## 2025-06-11
429

530
### Additional data analyses in Leios trace processor
@@ -79,7 +104,7 @@ Here are a few personal (@bwbush) observations, reflections, and conclusions on
79104
5. It appears that front running can best be eliminated (at the ledger level, but not at the mempool level) by strictly ordering transactions by their IB's slot and VRF.
80105
- Other IB and EB ordering proposals create complexity in the ledger rules and would be difficult to fully analyze for vulnerabilities.
81106

82-
## Rust simulation
107+
### Rust simulation
83108

84109
Implemented random sampling of transactions from the Leios mempool. When transaction traffic is high enough that IBs are completely full, it should ensure that different IBs contain different transactions when possible.
85110

0 commit comments

Comments
 (0)