GajuMine needs a configuration interface #1

Closed
opened 2025-05-22 20:28:43 +09:00 by zxq9 · 1 comment
Owner

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.

# 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.
zxq9 added the
enhancement
label 2025-05-22 20:28:43 +09:00
zxq9 self-assigned this 2025-05-22 20:28:43 +09:00
Author
Owner

Done!

Done!
zxq9 closed this issue 2025-05-27 23:15:44 +09:00
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/GajuMine#1
No description provided.