Skip to content

Host improvements

David Vorick requested to merge host-improvements into master

I set out to improve the host, did a little bit, and then dropped the HostInfo struct from the modules package.

When I did this, I broke the api. So this PR is actually mostly about upgrading the host API to match the RESTful paradigms that we've been aiming at with the other modules. I also switched up the GET/POST orientation for some of the miner and wallet calls to be more consistent with the rest of the naming. (only /wallet/backup is affected in the wallet)

The next PR will be some additional changes to the API code for the other modules - no functional changes, but I found a way to write the API that should be less error prone. It's a pretty small change and should be purely cosmetic. After that I'll continue with the host stuff.

Merge request reports