erigon-pulse/cmd/lightclient/sentinel/handlers
Enrique Jose Avila Asapche f2d95d16cc
Adding light client requesting (#5580)
* separated the encoding

* picking random peer node

* sending ping request

* updated enconding and reading

* requesting ping interval and more verbose vars

* disconnecting from unresponsive peers

* penalizing instead of disconnecting for irresponsiveness

* closing stream for streamCodec

* solved meged issues

* changed back

* separated const values

* requesting ping interval to 1 sec

* added closing of read and write stream && receiving responses!

* fixecd typo

* general sending request function

* added constants of resqresp topics

* fixed uncorrect name

* refactored sending requests

* added todo

* little detail

* moved to main

* no need to sleep

* sending request retries until timeout

* type

* lint
2022-10-03 11:05:59 +02:00
..
handlers.go Adding light client requesting (#5580) 2022-10-03 11:05:59 +02:00
heartbeats.go separation of handlers (#5581) 2022-09-30 19:07:13 +02:00
streamHandler.go closing streams (#5583) 2022-10-01 00:25:17 +02:00
topics.go Adding light client requesting (#5580) 2022-10-03 11:05:59 +02:00