spacemeshos / pm

Project management. Meta-tasks related to research, dev, and specs for the Spacemesh protocol and infrastructure.
http://spacemesh.io/
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

Make discovery service aware of platform, versions etc. #244

Closed pigmej closed 10 months ago

pigmej commented 11 months ago

Because sometimes we may need to ship different node-config based on the platform / version where the node is running on we need to extend the discovery service.

lrettig commented 11 months ago

@pigmej why not put this logic into smapp? i.e., let it download all the metadata and sort it out locally.

pigmej commented 11 months ago

1) based on that we can have dynamically adjusted config on our end 2) we get the per os downloads "for free" so we can act accordingly 3) we don't have to maintain too much logic on smapp side 4) especially later on we could serve different configs based on whatever we need in given moment WITHOUT needing to update logic on smapp side.

That is meant to work only in case when let's say M1 apple silicon is having issues and needs config change etc. Nothing permanent, nothing "true metadata".