{"action":"created","issue":{"url":"https://api.github.com/repos/NebulousLabs/Sia/issues/374","labels_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/374/comments","events_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/374/events","html_url":"https://github.com/NebulousLabs/Sia/issues/374","id":60106095,"number":374,"title":"Eliminating host config parameters","user":{"login":"DavidVorick","id":2316841,"avatar_url":"https://avatars.githubusercontent.com/u/2316841?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidVorick","html_url":"https://github.com/DavidVorick","followers_url":"https://api.github.com/users/DavidVorick/followers","following_url":"https://api.github.com/users/DavidVorick/following{/other_user}","gists_url":"https://api.github.com/users/DavidVorick/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidVorick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidVorick/subscriptions","organizations_url":"https://api.github.com/users/DavidVorick/orgs","repos_url":"https://api.github.com/users/DavidVorick/repos","events_url":"https://api.github.com/users/DavidVorick/events{/privacy}","received_events_url":"https://api.github.com/users/DavidVorick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T14:11:18Z","updated_at":"2015-03-06T14:20:53Z","closed_at":null,"body":"My thought is that we should remove some of the items from the host configuration, and let the host figure those out automatically. These are currently the configuration items supported by the API:\r\n\r\nTotalStorage\r\nMinFilesize\r\nMaxFilesize\r\nMinDuration\r\nMaxDuration\r\nPrice\r\nCollateral\r\n\r\nI propose we reduce them:\r\n\r\nTotalStorage\r\nMaxDuration\r\nPrice\r\nCollateral\r\n\r\nWhere both price and collateral can either be ints or the string \"auto\". If they are set to auto, the host will automatically determine the most profitable price and collateral to set based on the network conditions. (not recommended at first, b/c people can currently easily spoof supply and demand.)"},"comment":{"url":"https://api.github.com/repos/NebulousLabs/Sia/issues/comments/77565407","html_url":"https://github.com/NebulousLabs/Sia/issues/374#issuecomment-77565407","issue_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/374","id":77565407,"user":{"login":"DavidVorick","id":2316841,"avatar_url":"https://avatars.githubusercontent.com/u/2316841?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidVorick","html_url":"https://github.com/DavidVorick","followers_url":"https://api.github.com/users/DavidVorick/followers","following_url":"https://api.github.com/users/DavidVorick/following{/other_user}","gists_url":"https://api.github.com/users/DavidVorick/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidVorick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidVorick/subscriptions","organizations_url":"https://api.github.com/users/DavidVorick/orgs","repos_url":"https://api.github.com/users/DavidVorick/repos","events_url":"https://api.github.com/users/DavidVorick/events{/privacy}","received_events_url":"https://api.github.com/users/DavidVorick/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T14:20:53Z","updated_at":"2015-03-06T14:20:53Z","body":"The same should probably follow for what is returned when \"/host/status\" is called. I don't think we should simplify the interfaces though, because the modules need more information than the user does. I just want to simplify the api."}}