Running Simulation...
Calculating medians and mempool growth
Blockchain Growth & Fee Simulator
Corrected v2.0
WARNING: AI GENERATED. original human code found here: https://github.com/spackle-xmr/Dynamic_Block_Demo/blob/main/Dynamic_Blocksize_econ_draft.py
Simulation Parameters
► Run Simulation
Network Constants
Steady State (Bytes)
Network blocksize at start (M_L, M_S initial)
Z_M (Penalty Free Zone)
Guaranteed penalty free block weight.
T_R (Ref Transaction)
Reference tx weight for fee calculation.
R_Base (Factor)
Base multiplier for penalty calculation.
Median Algorithm Tuning
mid_100k (Long Term Index)
Middle index for Long Term window.
mid_100 (Short Term Index)
Middle index for Short Term window.
T_sim (Discretization)
Tx size step (Bytes). Granularity of sim.
M_L Growth Factor
M_L_weight = max(min(M_B,
X
·M_L), Z_M, M_L/
X
). New=2, Old=1.7
M_N Cap Factor
M_N = min(M_S,
X
·M_L). Caps short-term effect.
Scenario Settings
n (Number of Blocks)
Total duration of the simulation.
Traffic Pattern (RUN_TYPE)
1: Linear Ramp
2: Fast Linear Ramp
3: Fast Parabolic Ramp
4: Fast Exponential Ramp
5: Maximum Flood
6: Ramp To Sine Wave
Shape of transaction influx.
Ramp Multiplier
End volume / start volume (RUN_TYPE 6)
ADD_NOISE
USERS_PAY_MORE
LARGE_SIMULATION_MODE
Performance
Fast Median (circular buffer)
Simple Block Building
Use Web Worker (no UI freeze)
Results Summary
Click "Run Simulation" to generate data.
Combined Analysis
(All Metrics)
⚙️ Scale Controls
Block Size
×
TxPool Size
×
Volume
×
Fees
×
Penalty
×
Reset
Block Weight / Size
(Bytes)
TxPool (Mempool) Size
(Bytes)
Broadcast Volume
(Bytes/Block)
Total Fees
Penalty (P_B)
Long Term Median (M_L)
Short Term Median (M_S)
Penalty Median (M_N)
= min(M_S, X×M_L)