GajuMine needs a configuration interface #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Configuration
Accounts
So far GajuMine checks for a "GajuMine" wallet in the default wallets location managed by GajuDesk, and if it doesn't exist, creates it and a new key also called "GajuMine". These are magic values which simplified writing the app early on, but magic values are silly and must eventually die. This is the point at which they should die.
What it should do instead is to ask the user what account(s) it should mine for and allow them to enter or remove accounts to mine for, and let them just switch on.
Memory management
Another thing GajuMine does is checks the amount of memory available and then goes totally greedy and uses as much of it as it can. That's silly and not even optimal.
What it should do instead is show how much memory it detects to the user, then ask the user for a maximum amount of memory that the user wants to allow it to consume, and then perform its calculation with that max as its new ceiling.
Solution
A new button should be introduced on the GajuMine interface that provides a short little configuration interface that allows users to add public keys and set the memory max. In the event that a wallet does not yet exist the first time they run GajuMine (this is easily discovered by simply checking the GajuDesk prefs file) it should start up GajuDesk for them, and let GajuDesk do the key creation prompting.
Done!