mimblewimble / grin-wallet

Grin Wallet
Apache License 2.0
183 stars 133 forks source link

[CONTRACTS] Add `owner_api_listen_interface` as hidden configuration field #714

Closed yeastplume closed 3 months ago

yeastplume commented 3 months ago

This is probably far too limiting, and in particular makes docker deployments difficult as there's no way to access the wallet APIs at all from outside the deployed container, (which is necessarily set up to run the owner API as a service and nothing else).

This PR adds owner_api_listen_interface as a configuration field, but doesn't output the field into the configuration file by default, i.e. a user will really need to know what they're doing in order to enable this field. This should provide a good compromise.

Note this is for the experimental contracts branch only, but some discussion merited as to whether to merge into master just yet.