masa-finance / masa-oracle

Masa Oracle: Decentralized Data Protocol 🌐
https://developers.masa.ai/docs/category/oracle-node
MIT License
16 stars 14 forks source link

fix: private ip address issue in node data #439

Closed jdutchak closed 1 month ago

jdutchak commented 1 month ago

Problem

Currently the private ip address of a node can find its way into the node data on a worker node. The node data is used to filter through validators and workers and this requires the public ip to always be stored in the node data for processing.

functions handling this GetPriorityAddress getBestPublicAddress isPreferredAddress

mudler commented 1 month ago

@jdutchak is going to share to @teslashibe the services used to identify the public IPs so we can pay one of the services to be reliable until https://github.com/masa-finance/roadmap/issues/69 is worked out