migalabs / armiarma

Armiarma is a Libp2p open-network crawler with a current focus on Ethereum's CL network
https://monitoreth.io
MIT License
36 stars 13 forks source link

Subdivision of Peer Struct #31

Closed tdahar closed 1 year ago

tdahar commented 2 years ago

After reviewing the Peer struct it may be possible to subdivide the Peer struct into smaller structs in order to organize code better and make it easier to read it. We could build different packages like Host, Connections, Messages... This way we could divide corresponding methods into the different structs. Please let me know what you think about it :)

Maybe this could be a good division? image

cortze commented 1 year ago

closing this, as it is solved in #52 -> even though the new version only supports the ethereum cl network, the crawler is modular enough to make it compatible with other networks