ryanholmdahl / MonaMiner

EXCLUSIVELY for mining Monacoin. Do not use to mine other currencies.
0 stars 0 forks source link

Move api keys to new user_config file #14

Closed ParkerBeck closed 6 years ago

ParkerBeck commented 6 years ago

This PR moves api keys to the new user_config file, where actual user information can be configured. config.json will now be reserved for MonaMiner config and will generally not be changed for a specific user.

Requests that did not need the api would still check in CONFIG['pools'][pool]['api_key'] for a key. Now it will make sure to check for a key only if $API_KEY is present.

Resolves #7

ryanholmdahl commented 6 years ago

lgtm