kindelia / Kindelia

An efficient, secure cryptocomputer
https://kindelia.org/
602 stars 41 forks source link

Network info on http API #246

Open steinerkelvin opened 1 year ago

steinerkelvin commented 1 year ago

We should have an API endpoint like /info (maybe /stats but that doesn't seem a suitable place) that returns info like the network id and genesis block hash of the node's network. That way users can manually see which version the remote node is running plus in the future we can add automatic incompatibility warnings.