Skip to content

Conversation

@LeoPatOZ
Copy link
Collaborator

No description provided.

@LeoPatOZ LeoPatOZ requested a review from 0xNeshi September 17, 2025 15:59
Base automatically changed from block-scanner to main September 17, 2025 16:26
Copy link
Collaborator

@0xNeshi 0xNeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work on the README!

First review iteration, left some small comments

The library exposes two primary layers:

- `EventScannerBuilder` / `EventScanner` – the main module the application will interact with.
- `BlockScanner` – lower-level component that streams block ranges, handles reorg, batching, and provider subscriptions. This is exposed to the user but has many edge cases which will be documented in the future. For now interact with this via the `EventScanner`
Copy link
Collaborator

@0xNeshi 0xNeshi Sep 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not really scanning blocks, but block ranges. I'm thinking that maybe BlockRangeScanner is a better name?
That way this becomes a sort of a primitive that we can use to also potentially implement an actual BlockScanner in the future.
Wdyt?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree - we should change it both here and in the code. Happy to do it here unless you want to take over

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do it

@0xNeshi 0xNeshi requested a review from d-carmo September 18, 2025 06:11
Copy link

@d-carmo d-carmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0xNeshi 0xNeshi merged commit 2be6742 into main Sep 18, 2025
6 checks passed
@0xNeshi 0xNeshi deleted the docs branch September 18, 2025 09:32
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.

4 participants