REST VC: Subscribe to Beacon API events (#13354)

* Initial code for head event streaming

* handle events and error

* keepalive event

* tests

* generate new mock

* remove single case select

* cleanup

* explain eventByteLimit

* use 2 channels in test

* review

* more review

---------

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
This commit is contained in:
Radosław Kapka
2024-01-04 18:14:45 +01:00
committed by GitHub
parent cfef8f4676
commit e68b2821c1
25 changed files with 351 additions and 49 deletions

View File

@@ -212,3 +212,7 @@ func (m *Validator) SetProposerSettings(_ context.Context, settings *validatorse
m.proposerSettings = settings
return nil
}
func (_ *Validator) StartEventStream(_ context.Context) error {
panic("implement me")
}