mana-ethereum / mana

Ethereum full node implementation written in Elixir.
Other
274 stars 47 forks source link

getting p2p version and caps into the peer #701

Closed InoMurko closed 5 years ago

InoMurko commented 5 years ago

This expand a Peer struct with p2p_version and caps. 1. Setup for rating and 2. Both Parity and Geth support JSONRPC admin methods where caps is returned for connected peers. My next step in the works is to create a separate struct that will have Peer + other related fields that will help us maintain Peers rating, but related just to ratings.

hayesgm commented 5 years ago

Looks awesome