lite: add helper functions for initiating the light client (#4486)
* add new net client
* hijack example test
* lint fixes
* reorganised file structure
* renamed funcs and added documentation
* implemented suggested changes
* restored example tests
* edited comments
* Update lite2/setup.go
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
* Update lite2/client.go
* lite cmds use HTTP client
* better naming
* Delete go.sum
* Delete go.mod
* restore go mod
* restore go.sum
* fix double import
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
|