Skip to content

refactored streaming with protobuffers#5677

Merged
Giulio2002 merged 1 commit into
develfrom
lightclient
Oct 9, 2022
Merged

refactored streaming with protobuffers#5677
Giulio2002 merged 1 commit into
develfrom
lightclient

Conversation

@Giulio2002

Copy link
Copy Markdown
Contributor

No description provided.

@Giulio2002 Giulio2002 merged commit b8d7219 into devel Oct 9, 2022
@Giulio2002 Giulio2002 deleted the lightclient branch October 9, 2022 15:49

func (l *LightClient) Start(ctx context.Context) {
stream, err := l.sentinel.SubscribeBeaconBlock(ctx, &lightrpc.GossipRequest{})
stream, err := l.sentinel.SubscribeGossip(ctx, &lightrpc.GossipRequest{})

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

close of stream is commented-out is it intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no it is not, I will fix that, thank you for making me aware :)

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