You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a new file will be created by skywire-cli to persist the user chosen settings regarding privacy and rewards of the user/node
the file will be JSON encoded and placed in ./local/privacy.json
if the file is not found, it will be generated by the visor with private defaults
the file will have the following fields
// privacy.json file with private defaults// default for reward_address is an empty string
{
"displayNodeIP" : false,
"reward_address" : "AG8Ray2A6sLqi6MiEJ2ecAYP4qxeEjbkoc"
}
upon startup the visor sends uptime requests to the uptime-tracker as usual but additionally includes a query to indicate whether the associated IPs geolocation can be displayed publically by the node-visualizer
the hypervisor API needs to support two new methods related to the privacy settings file
GET /visors/{pubkey}/privacy
PUT /visors/{pubkey}/privacy
the request will accept a JSON encoded request body that will contain the new settings to be placed in privacy.json
depending on whether we read in the privacy file on every request to the uptime tracker or only on startup these changes will take effect within an interval of 5 minutes or upon a restart
We should consider a framework by which a user can set a master public key (bip44)
it is preferable that the address contained in privacy.json is one derived from a bip44 master public key. We should additionally consider support for setting this master public key (not in the same file, perhaps in the main config file)
The text was updated successfully, but these errors were encountered:
PR#1391 reimplements this using a flat file reward.txt containing the reward address. This file is not json formatted. Reasoning explained in the PR.
An accompanying change in the struct of the visor is being implemented by erson. My pull request does little more than rearrange the cli interface to reflect the changes in reward and node privacy settings.
it is required to have displaynodeip as a part of the visor's conf and transmitted to the services in order for the service (discovery) to immediately reflect this setting.
./local/privacy.json
upon startup the visor sends uptime requests to the uptime-tracker as usual but additionally includes a query to indicate whether the associated IPs geolocation can be displayed publically by the node-visualizer
the hypervisor API needs to support two new methods related to the privacy settings file
GET /visors/{pubkey}/privacy
PUT /visors/{pubkey}/privacy
privacy.json
We should consider a framework by which a user can set a master public key (bip44)
it is preferable that the address contained in privacy.json is one derived from a bip44 master public key. We should additionally consider support for setting this master public key (not in the same file, perhaps in the main config file)
The text was updated successfully, but these errors were encountered: