* 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
* separated convertions into utils.go
* added log to bad peers
* more verbose errors and names
* warn when banning bad peer
* has and get in function name
* space
* lint
* ops
* little rename
* deleted unused func
* revert
* added networkConfig.go and mainnet config
* added goerli and sepolia networkConfig
* using map
* renaming to poop
* proper name
* fixed a bunch of stuff
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>