Skip to content

feat(simulation): implement capacity pressure model, duration-based simulation, and diurnal tx scaling#330

Merged
Tinna23 merged 1 commit into
StellarCommons:mainfrom
mxllv:feature/mxllv-issues-242-243-244-245
Jun 26, 2026
Merged

feat(simulation): implement capacity pressure model, duration-based simulation, and diurnal tx scaling#330
Tinna23 merged 1 commit into
StellarCommons:mainfrom
mxllv:feature/mxllv-issues-242-243-244-245

Conversation

@mxllv

@mxllv mxllv commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Implement the network load simulation API: struct definition with duration field, throughput simulator runner, capacity pressure fee scaling, and diurnal load pattern.

Changes

Issues Closed

Closes #242
Closes #243
Closes #244
Closes #245

…s, diurnal tx count

- Add duration_secs field to NetworkLoadConfig (StellarCommons#242)
- Add ledger_count helper and run method for full-duration simulation (StellarCommons#243)
- Add capacity_pressure_fee function to scale fees by capacity pressure (StellarCommons#244)
- Add diurnal_tx_count to scale tx volume by hour (StellarCommons#245)
- Add doc tests for capacity_pressure_fee

Closes StellarCommons#242
Closes StellarCommons#243
Closes StellarCommons#244
Closes StellarCommons#245
@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@mxllv Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Tinna23 Tinna23 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tinna23 Tinna23 merged commit 720878b into StellarCommons:main Jun 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants