Giulio rebuffo
59df60a2c1
Added proper Message Id for Consensus Gossip subscription ( #5584 )
...
* first prototype
* Added Proper Message ID to gossip
* ops
* ops
* lint why?
* u kidding?
* just why
* maybe
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-30 23:53:54 +02:00
Giulio rebuffo
3f1d5a4c92
Support for Goerli/Sepolia/Mainnet Fork ids on Consensus Layer ( #5575 )
...
* added proper chain config
* updated configs
* save progress
* fix lint
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-30 00:20:09 +02:00
Enrique Jose Avila Asapche
123d7379cc
Gossip lightclient ( #5549 )
...
* added subscription to gossip
* added all handlers with logs
* disconnecting from peers with goodbye message received
* added time out for stream
2022-09-27 22:34:06 +02:00
Giulio rebuffo
6d6e511b0f
added ENR setup for subnets ( #5511 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 22:41:51 +02:00
Enrique Jose Avila Asapche
abfa374165
LightClient P2P refactoring ( #5507 )
...
* 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
2022-09-25 20:39:09 +02:00
Enrique Jose Avila Asapche
b7606dcccb
added networkConfig.go ( #5501 )
...
* 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>
2022-09-24 22:09:04 +02:00
Giulio rebuffo
0fb982bfeb
Added p2p connection and libp2p host to Erigon Lightclient ( #5500 )
...
* added p2p connection and libp2p host
* added p2p connection and libp2p host
* oooops
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 20:48:56 +02:00
Giulio rebuffo
71112c1aae
Added discovery and connection to consensus layer bootnodes ( #5497 )
...
* added peer discovery functionality
* added discovery and connection to consensus layer bootnodes
* lint
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 16:44:34 +02:00