Skip to content

feat: implement transaction processor crate - #22

Open
bmuddha wants to merge 1 commit into
keeperfrom
processor
Open

feat: implement transaction processor crate#22
bmuddha wants to merge 1 commit into
keeperfrom
processor

Conversation

@bmuddha

@bmuddha bmuddha commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

What changed

Added the magicblock-processor crate, which schedules and executes transactions
over the keeper.

Why

Inbound transactions need conflict-aware scheduling that runs disjoint account
sets concurrently while reading and writing accounts through keeper/accountsdb.

Closes #11.

Impact

  • A sequencer fans conflict-free transactions across a pool of SVM executors and
    serializes the rest.
  • Conflicts are tracked per Pubkey with a write bit plus a per-executor
    occupancy bitset (MAX_EXECUTORS).
  • Adds a simulation path that runs against current state on owned account copies
    and returns the execution record without committing.

Reviewer notes

A quiescence barrier drains in-flight work for consistent snapshots at superblock
seals and during replay — the main concurrency-correctness surface.

Follow-up

engine wires this sequencer to durable state upstack.

@bmuddha
bmuddha force-pushed the processor branch 2 times, most recently from 1902b12 to c690458 Compare June 17, 2026 15:36
@bmuddha
bmuddha force-pushed the processor branch 2 times, most recently from 266c486 to ccbe21d Compare June 23, 2026 14:17
@bmuddha
bmuddha force-pushed the processor branch 2 times, most recently from 076b715 to b45cdf8 Compare June 25, 2026 19:52
@bmuddha
bmuddha force-pushed the keeper branch 2 times, most recently from 682b276 to 2b9a523 Compare June 26, 2026 10:36
@bmuddha
bmuddha marked this pull request as ready for review July 6, 2026 15:06
@bmuddha
bmuddha force-pushed the processor branch 2 times, most recently from 064ef18 to 8cc286d Compare July 15, 2026 19:44
@bmuddha
bmuddha force-pushed the keeper branch 2 times, most recently from ccddd3b to 9cf135d Compare July 15, 2026 19:59
@bmuddha
bmuddha force-pushed the processor branch 2 times, most recently from 496473d to d2d94dd Compare July 15, 2026 22:21
@bmuddha
bmuddha force-pushed the keeper branch 2 times, most recently from 7692d46 to 4c7d80d Compare July 16, 2026 20:43
@bmuddha
bmuddha force-pushed the processor branch 3 times, most recently from 067ddca to ef9cedd Compare July 16, 2026 21:28
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