Skip to content

Conversation

@avalonche
Copy link
Collaborator

@avalonche avalonche commented Dec 31, 2025

📝 Summary

  • Add --flashblocks.build-at-interval-end flag to wait for interval before building first flashblock instead of building immediately
  • Add --flashblocks.send-offset-ms to adjust flashblock send timing (positive = send later, negative = send earlier)
  • Refactor payload loop to wait for signal before building flashblocks
  • Fix log message in tx_manager (funding -> registering)

💡 Motivation and Context

Make flashblocks timing closer to every 200 ms


Sampling local timing

Screenshot 2026-01-01 at 11 44 04 am

✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@SozinM
Copy link
Collaborator

SozinM commented Jan 5, 2026

Why is index 5 flashblock in the middle?

@akundaz
Copy link
Contributor

akundaz commented Jan 5, 2026

Why is index 5 flashblock in the middle?

This is because the leeway time is applied to the last flashblock. Here it's set to 100ms so fb 5 comes 100ms earlier

@avalonche avalonche force-pushed the flashblock-timing-config branch from 734bf5f to ffe25ee Compare January 6, 2026 22:11
@avalonche avalonche force-pushed the flashblock-timing-config branch from ffe25ee to 6d023b5 Compare January 7, 2026 03:11
@avalonche avalonche force-pushed the flashblock-timing-config branch from 6d023b5 to 389949a Compare January 7, 2026 03:24
@avalonche avalonche merged commit 73053fd into main Jan 7, 2026
4 checks passed
@avalonche avalonche deleted the flashblock-timing-config branch January 7, 2026 03:51
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.

3 participants