Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8dd02c2
feat: latest then live
0xNeshi Oct 16, 2025
d0dc9d7
feat: notify the client about chain tip reached
0xNeshi Oct 17, 2025
fdd41b4
feat: rename ChainTipReached -> SwitchingToLive
0xNeshi Oct 17, 2025
528bf86
feat: rewind, sync and live modes run in separate threads
0xNeshi Oct 17, 2025
cd0d303
Revert "feat: rewind, sync and live modes run in separate threads"
0xNeshi Oct 17, 2025
ff1dadc
feat: make handly_sync stream data in a separate thread
0xNeshi Oct 17, 2025
7c963a0
ref: minor handle_sync optimization
0xNeshi Oct 17, 2025
a076062
feat: make stream_rewind run in separate thread
0xNeshi Oct 17, 2025
6d1ddb1
test: add tests (not working)
0xNeshi Oct 17, 2025
b6336de
feat: stream_from supports starting from future block
0xNeshi Oct 18, 2025
37cb8e3
feat: ensure correct ordering of logs (first rewind then live)
0xNeshi Oct 18, 2025
6de0d03
docs: reword comment
0xNeshi Oct 20, 2025
2876ea9
fix: drop rewind_tx when rewind step is complete
0xNeshi Oct 20, 2025
f55cbab
test: fix scan_latest_then_live_exact_historical_count_then_live
0xNeshi Oct 20, 2025
a4de6f7
test: fix + add no live blocks test case
0xNeshi Oct 20, 2025
e2ce574
docs: improve comment explanations
0xNeshi Oct 20, 2025
d95f05a
docs: update readme
0xNeshi Oct 20, 2025
4685262
docs: update doc-comment
0xNeshi Oct 20, 2025
c81aac2
test: add example
0xNeshi Oct 20, 2025
e46bd76
docs: add duplicate reorg handling warning
0xNeshi Oct 20, 2025
c1e9116
build: add missing workspace example member to cargo
0xNeshi Oct 20, 2025
2104acd
docs: update where stale
0xNeshi Oct 20, 2025
c92bb81
ref: clippy
0xNeshi Oct 20, 2025
b5aecd6
fix: duplicate reorg handling
0xNeshi Oct 20, 2025
d8b70b9
docs: remove parallel reorg warnings
0xNeshi Oct 20, 2025
89c7532
ref: src/event_scanner.rs
0xNeshi Oct 20, 2025
b458047
fix: await all log consumers (preserve old behavior in other modes) (…
0xNeshi Oct 20, 2025
6d9cf45
fix: drop broadcast sender to indicate log consumers should be dropped
0xNeshi Oct 20, 2025
e59ebcb
fix: add missing live stream broadcaster drop
0xNeshi Oct 20, 2025
bd1e2eb
ref: move clippy allows to tests/common
0xNeshi Oct 20, 2025
aa0fec1
Merge remote-tracking branch 'origin/main' into latest-then-live
0xNeshi Oct 20, 2025
bff6587
test: fix doc tests
0xNeshi Oct 20, 2025
9db2569
chore: merge with main
0xNeshi Oct 24, 2025
9c35781
feat: Split sync scanners
0xNeshi Oct 24, 2025
a6fd39e
ref: remove printlns
0xNeshi Oct 24, 2025
c97f5a0
docs: add comment on why we use test-log
0xNeshi Oct 27, 2025
e24696b
Merge remote-tracking branch 'origin/main' into latest-then-live
0xNeshi Oct 27, 2025
4857720
test: fix test_sync_scanner_builder_last_call_wins
0xNeshi Oct 27, 2025
e71902a
test: align example names
0xNeshi Oct 27, 2025
c4eb6d6
docs: remove README section and update appropriate sync doc comment
0xNeshi Oct 27, 2025
6b60e20
docs: fix links
0xNeshi Oct 27, 2025
0f0bba4
test: fix doc tests
0xNeshi Oct 27, 2025
4158f0e
chore: merge with main
0xNeshi Oct 28, 2025
d8a0e29
docs: remove with_ prefix
0xNeshi Oct 28, 2025
244f5fb
docs: move latest events docs out of readme to appropriate builder fn
0xNeshi Oct 28, 2025
8a288cd
docs: remove errors section from readme
0xNeshi Oct 28, 2025
0dba25b
ref: move from_latest-related imports into the module
0xNeshi Oct 28, 2025
d4d9f0f
doc: explain handle_stream
0xNeshi Oct 28, 2025
a1313f3
ref: minor
0xNeshi Oct 28, 2025
7648eb7
ref: add #[allow(clippy::missing_panics_doc)] to from_latest start
0xNeshi Oct 28, 2025
24b4556
test: turn increase/decreaase macros into fns
0xNeshi Oct 29, 2025
8cd7f91
test: extend testcounter
0xNeshi Oct 29, 2025
f4c7ba9
Update README.md
0xNeshi Oct 29, 2025
d613e52
Update README.md
0xNeshi Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 133 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ members = [
"examples/historical_scanning",
"examples/live_scanning",
"examples/latest_events_scanning",
"examples/sync_scanning"
"examples/sync_from_latest_scanning",
"examples/sync_from_block_scanning",
Comment on lines -7 to +8
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Align names

]
resolver = "2"

Expand Down Expand Up @@ -32,6 +33,7 @@ chrono = { version = "0.4", features = ["serde"] }
tokio-stream = "0.1.17"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
test-log = { version = "0.2.18", features = ["trace"] }
hex = "0.4"

[package]
Expand Down Expand Up @@ -65,7 +67,11 @@ chrono.workspace = true
alloy-node-bindings.workspace = true
tokio-stream.workspace = true
tracing.workspace = true

[dev-dependencies]
tracing-subscriber.workspace = true
# used when debugging tests
test-log.workspace = true

[lints]
workspace = true
Expand Down
Loading