Skip to content

feat: indexer-backed u5c sync#2

Open
Mercurial wants to merge 6 commits into
mainfrom
feat/u5c-sync-indexer
Open

feat: indexer-backed u5c sync#2
Mercurial wants to merge 6 commits into
mainfrom
feat/u5c-sync-indexer

Conversation

@Mercurial
Copy link
Copy Markdown
Contributor

Summary

  • add ChainSync indexer + event hub wiring (tcp/socket, keepalive, start point)
  • persist block refs alongside blocks and fix history pagination
  • implement U5C SyncService backed by ZoneTree with follow-tip streaming + ChainSync logs

Testing

  • dotnet build Razor.slnx
  • grpcurl ReadTip/DumpHistory/FetchBlock/FollowTip (manual)

Mercurial and others added 6 commits February 8, 2026 06:58
…y and performance

- Updated ChainEventHub to use explicit types for channels and improved error handling.
- Refactored ChainSyncIndexer to use a partial class for better organization and readability.
- Introduced GenesisConfig class for managing genesis parameters and loading from JSON.
- Enhanced error logging and handling in ChainSyncIndexer.
- Added new SyncServiceHandler for handling gRPC requests related to block fetching and history dumping.
- Improved pipeline depth calculation based on slot gaps.
- Updated project references and removed unnecessary properties from ChainSyncOptions.
Switch from local ProjectReferences to NuGet PackageReferences.
Chrysalis.Cbor → Chrysalis.Codec rename, V2 interface types
(ITransactionBody, ITransactionOutput, IValue, IBlock).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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