Access to Peer ID and IP Address through code
Cosmos-SDK2 posts1,075 viewsLast activity Oct 2021
OR
OrestisOP
Sep 2021Hello there
Is there a way for an ABCI application to have code access to underlying information about the current node, such as a node identifier of its IP address (or even other fields from config.toml)?
As part of my research I want to run distributed protocols on top of Tendermint Core. The idea is that the code should sometimes do something different on every node (I know, still has to produce the same deterministic result…)
Thanks a lot and keep up the great work!
EB
ebuchman
Oct 2021This information is not provided directly over ABCI but in principle your ABCI app can load the same config files Tendermint loads or you can query for the info over the local Tendermint’s RPC