Skip to content

brech1/cl-p2p-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consensus Layer P2P

This project is a basic setup for a consensus layer peer-to-peer connection, as specified in the consensus layer specifications of the peer-to-peer interface.

I also made this brief post for my initial research on the topic which you may find complementary for the code.

It is based on the lighthouse client beacon chain networking and examples of basic implementations for both discovery and gossipsub connections, featuring:

Issues

After adding a PeerManager we usually manage to maintain a peer count > 0, however most peers still disconnect almost immediately. The reason for this should be investigated and fixed.

About

Consensus layer peer-to-peer connection setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages