Skip to content

Reduced priority fee for SDU scanning, fix for total crew at starbase, ix error fixes and more#11

Closed
Swift42 wants to merge 50 commits intoImGroovin:mainfrom
Swift42:main
Closed

Reduced priority fee for SDU scanning, fix for total crew at starbase, ix error fixes and more#11
Swift42 wants to merge 50 commits intoImGroovin:mainfrom
Swift42:main

Conversation

@Swift42
Copy link
Copy Markdown
Contributor

@Swift42 Swift42 commented Aug 6, 2024

Reduced priority fee for SDU scanning (30% of the full fee)

Reduced priority fee for SDU scanning (25% of the full fee)
@Swift42 Swift42 changed the title Update SLY_Assistant.user.js Reduced priority fee for SDU scanning (SLY_Assistant.user.js) Aug 6, 2024
Reduced priority fee for SDU scanning (30% of the full fee)
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Aug 6, 2024

Changed the initial 25% from the first pull request to 30%, just to be sure.

@Swift42 Swift42 changed the title Reduced priority fee for SDU scanning (SLY_Assistant.user.js) Reduced priority fee for SDU scanning and fix for total crew at starbase Oct 17, 2024
@Swift42 Swift42 changed the title Reduced priority fee for SDU scanning and fix for total crew at starbase Reduced priority fee for SDU scanning, fix for total crew at starbase, ix error fixes Oct 30, 2024
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Oct 30, 2024

Updated the pull request, so it contains now:

  • Reduced priority fee for SDU scanning (if a global priority fee is set)
  • Fix for total crew at a starbase
  • Fix for ix error caused by a "double mining stop tx" (which can happen when there are either RPC sync problems or a block re-org)
  • Fix for ix error while starting the mining
  • Fix for rare "Could not establish connection. Receiving end does not exist" from Solflare (retry method)
  • If the config parameter "Subwarp for short distances" is set, SLYA now prioritizes a sector near the target instead choosing the shortest warp distance, so it can subwarp the last field and therefore save time and fuel

@Swift42 Swift42 changed the title Reduced priority fee for SDU scanning, fix for total crew at starbase, ix error fixes Reduced priority fee for SDU scanning, fix for total crew at starbase, ix error fixes and more Oct 31, 2024
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Oct 31, 2024

Added another fix:
If "Tools->Starbase Status" is selected, closed and opened again, all starbases are shown twice. Fixed.

@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 6, 2024

New: The header of the status window now shows the SOL and Atlas balance of the wallet (updated every 100 seconds).

Fleets can be excluded now
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 14, 2024

Fleets can now be excluded in the config (e.g. for fleets that are manually controlled).

Risingson's stats code (PR ImGroovin#10) is now part of this pull request.
Including small improvements.
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 15, 2024

Risingson's stats code (PR #10 ) is now part of this pull request.
(including small improvements)

Changed the percentage of the prio fee for each tx, so that all txs get more or less equally executed.
Removed the "low priority fee" slider from the settings.
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 16, 2024

Changed the percentage of the prio fee for each tx, so that all txs get more or less equally executed.
Removed the "low priority fee" slider from the settings.

@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 19, 2024

Added new setting: Fill the tank of transporting fleets to 100% if refueling at the source starbase

Auto fee algorithm
- Fix: When a fleet is doing multiple warp jumps, evaluate also target sectors where the distance is equal to the maximum warp of the fleet
- New setting: Transporting fleets keep 1 resource to save CreatePDA transactions
@Swift42
Copy link
Copy Markdown
Contributor Author

Swift42 commented Nov 23, 2024

New:

  • automatic fee algorithm
  • fix: When a fleet is doing multiple warp jumps, evaluate also target sectors where the distance is equal to the maximum warp of the fleet
  • new setting: Transporting fleets keep 1 resource to save CreatePDA transactions

- miners can keep 1 rss, so that the token account doesn't get closed (also load 1 food more, so it applies to food, too)
Check Atlas balance before starting a craft. If not enough Atlas, pause the crafting job instead sending the craft transactions.
Added a retry method when the signature was confirmed, but the transaction couldn't be found, even after waiting for more than 1 minute (block re-org happened?)
Save/use the last scan end time, so after a reload the fleet waits accordingly.
Fixed a wrong scan end calculcation when warping after a scan
Fixed the scan end time after warp, again
Save the scan end time just before a fleet warps/subwarps
When saving the fleet config, the scan end time is now retained (and not overwritten anymore).
Data runners now also check the cargo room after a scan and warp/subwarp immediately to unload
Fixed retry of fleet state mismatch (MineAsteroid)
Fixed food resupply of scanning fleets (skip scan cooldown)
Sometimes 2s wait time isn't enough after completing a crafting job and the crew from the job isn't available for the next job.
Increased the time to 3s, so the RPC has more time to catch up.
Pinned version 1.95.5 of @solana/web3.js, because 1.95.6 and 1.95.7 were compromised.
Version number increased
Now pinned web3.js version 1.95.8, so it is the same version as in Groove's hotfix
Fix for: When importing the config, the global variables were not reflected in the UI.
@Swift42 Swift42 closed this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant