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 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

@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 force-pushed the processor branch 2 times, most recently from 114bf56 to 4e0fa26 Compare June 26, 2026 16:33
@bmuddha bmuddha force-pushed the keeper branch 2 times, most recently from 4e77f6c to dfef7ee Compare June 30, 2026 13:19
@bmuddha bmuddha force-pushed the processor branch 2 times, most recently from 4f637a3 to 756dc43 Compare June 30, 2026 15:56
@bmuddha bmuddha force-pushed the keeper branch 2 times, most recently from 6d1e8c8 to 23e702b Compare June 30, 2026 21:16
@bmuddha bmuddha force-pushed the processor branch 2 times, most recently from 4017081 to e4a411b Compare July 3, 2026 06:33
@bmuddha bmuddha force-pushed the keeper branch 2 times, most recently from 81e789d to 8d9b940 Compare July 6, 2026 09:01
@bmuddha bmuddha force-pushed the processor branch 2 times, most recently from b3c95bd to fe72258 Compare July 6, 2026 12:36
@bmuddha bmuddha force-pushed the keeper branch 2 times, most recently from c959878 to db8e61d Compare July 6, 2026 14:46
@bmuddha bmuddha marked this pull request as ready for review July 6, 2026 15:06
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