Skip to content

Conversation

@AlCutter
Copy link
Collaborator

This PR makes the stream package a little simpler to use/reason about:

  • StreamAdaptor now returns a Go iterator, and iterates only over the explicitly request range of entries (previously it would hang forever and return new entries if/when the tree grew)
  • EntryReader is replaced with an iterator wrapper for StreamAdaptor

@AlCutter AlCutter force-pushed the simpler_stream branch 10 times, most recently from ddad324 to 7879f23 Compare May 21, 2025 10:43
@AlCutter AlCutter force-pushed the simpler_stream branch 3 times, most recently from 1f6b4cf to 1889b19 Compare May 21, 2025 14:23
@AlCutter AlCutter marked this pull request as ready for review May 22, 2025 16:11
@AlCutter AlCutter requested a review from a team as a code owner May 22, 2025 16:11
@AlCutter AlCutter requested review from phbnf and removed request for phbnf May 22, 2025 16:11
@AlCutter AlCutter merged commit 59b9561 into transparency-dev:main May 22, 2025
15 checks passed
@AlCutter AlCutter deleted the simpler_stream branch May 22, 2025 16:30
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.

2 participants