Skip to content

refactor(ntx-builder): replace the account actors with a scheduler - #2585

Open
SantiagoPittella wants to merge 1 commit into
santiagopittella-ntx-extract-selectionfrom
santiagopittella-ntx-scheduler-swap
Open

refactor(ntx-builder): replace the account actors with a scheduler#2585
SantiagoPittella wants to merge 1 commit into
santiagopittella-ntx-extract-selectionfrom
santiagopittella-ntx-scheduler-swap

Conversation

@SantiagoPittella

Copy link
Copy Markdown
Collaborator

Summary

Now the loop spawns a task per account, up to --max-concurrent-txs at a time. The task picks notes, executes, proves, submits, and returns what happened, also this loops does the writting.

The scheduler doesn't hold anything in memory per account except which transactions it has submitted and not yet seen committed.

Changelog

[[entry]]
scope       = "ntx-builder"
impact      = "breaking"
description = "Removed `--idle-timeout` and `--max-account-crashes`."

[[entry]]
scope       = "ntx-builder"
impact      = "added"
description = "Added `--max-concurrent-txs` to bound the number of network transactions computed concurrently."

[[entry]]
scope       = "ntx-builder"
impact      = "changed"
description = "Network transactions are now built by short-lived per-account attempts driven by the committed-block loop."

@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-ntx-scheduler-swap branch from c33fb3c to ccbc958 Compare September 7, 2026 14:18
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.

1 participant