Skip to content

Refactor code structure for improved readability and maintainability#387

Merged
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
dolaoluwa574-source:Dynamic-Fee-Estimation-and-Surge-Pricing-Logic
Jun 1, 2026
Merged

Refactor code structure for improved readability and maintainability#387
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
dolaoluwa574-source:Dynamic-Fee-Estimation-and-Surge-Pricing-Logic

Conversation

@dolaoluwa574-source
Copy link
Copy Markdown

closes #280

Summary:
Implements dynamic transaction fee estimation and surge pricing logic to improve fee accuracy and reduce failed transactions during periods of high network demand.

Key changes:

  • Adds dynamic fee estimation based on current network conditions
  • Implements surge pricing behavior to adjust fees during congestion
  • Adds or updates relevant service/module logic for fee calculation
  • Ensures safe fallbacks to base fees and caps to prevent excessive spikes
  • Includes tests and validation for new pricing behavior

Why this matters:
This change improves transaction reliability by making fees adaptive to real-time network conditions, helping users avoid underpriced transactions during surges while still keeping fees reasonable in normal conditions.

@Sadeequ Sadeequ merged commit a659845 into StellarFlow-Network:main Jun 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⛽ Testnet | Dynamic Fee Estimation and Surge Pricing Logic

2 participants