Enrique Jose Avila Asapche
93add6cacf
Gossip subscription ( #5567 )
...
* added subscription to topics
* keeping track of topic subscription
* subscribing to beaconBlock
* listening to messages
* ops
* not processing our own messages
* ops
2022-09-29 13:39:42 +02:00
Giulio rebuffo
f9c9ee5d07
Made handlers disconnection better. ( #5556 )
...
* made handlers a bit better
* made handlers a bit better
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-28 13:39:55 +02:00
Alex Sharov
e4ad73bcb4
erigon3: agg to use workers for compress and merge ( #5561 )
2022-09-28 13:05:26 +07: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
b47b13c1ff
added handler for ping p2p method ( #5530 )
...
* added handlers
* updated mod and sum
* ops
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-26 22:34:31 +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
Giulio rebuffo
e4362cce1c
licensed lightclient ( #5509 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 21:01:39 +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
Giulio rebuffo
b940eae2e0
lightclient actually gets peers lol ( #5502 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 02:14:10 +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
Giulio rebuffo
622d355f5a
first commit ( #5493 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 01:53:27 +02:00