feat(live-tail): replace adder with raw gouroboros NtN ChainSync#100
feat(live-tail): replace adder with raw gouroboros NtN ChainSync#100
Conversation
…Sync Drop the adder dependency entirely and use gouroboros directly for the live chain tail. ChainSync provides block headers over NtN (TCP), and BlockFetch retrieves full blocks on-demand only for our pool's minted blocks to preserve tx count in notifications. - Remove 5 adder imports, add 4 gouroboros protocol imports - Replace pipeline.Pipeline with direct ouroboros.Connection - New startLiveTail() with host failover, stall detection, keepalive - New handleRollForward() processes ledger.BlockHeader directly - Reuse extractVrfFromHeader from sync.go (eliminate duplicate) - Net -57 lines, 9 fewer go.mod dependencies
Manual trigger workflow that builds multiarch (amd64+arm64) and pushes to Docker Hub with a custom tag. For testing feature branches before merge.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reverts PR #100 (raw NtN ChainSync live tail) which broke pool block matching — adder hashes IssuerVkey to pool ID internally, raw ChainSync does not. Restores the battle-tested adder pipeline and starts it immediately in full mode so notifications work during historical sync. - Adder pipeline runs in parallel with historical ChainSync - Nonce ProcessBlock gated behind historicalSyncDone to prevent corruption - Leaderlog/nonce/nextblock commands unblocked during sync (Koios fallback)
Summary
extractVrfFromHeaderfrom sync.goTest plan