Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:15
372a5fd

Before you upgrade

This is a major release. Some changes need a step from you. Read the 2.0 section of UPGRADING.md before you upgrade from v1.7.0.

The changes that can break how you use the app today:

  • CashPilot Desktop 2.0, which needs CashPilot 3.0 for server commands (#378)

Download

Pick the file for your computer. The same files are under Assets at the bottom of this page.

Install on Windows

  1. Download the file.
  2. Edge may say the file "isn't commonly downloaded". Open the ... menu on that warning and choose Keep. Edge then shows a box that starts "Make sure you trust". Open the arrow next to Delete and choose Keep anyway.
  3. Open the file. The first time, Windows may say "Windows protected your PC". Click More info, then Run anyway.
  4. Follow the installer. CashPilot Desktop is then in the Start menu, and you can remove it in Settings > Apps > Installed apps.

Why the warnings: the Windows files are not code-signed yet. Windows warns about any unsigned file that few people have downloaded. To check that your file is the one this release built, compare it with SHA256SUMS, or run gh attestation verify <file> -R GeiserX/CashPilot-Desktop.

Install on macOS

  1. Open the zip file, then drag CashPilot Desktop to Applications.
  2. Open CashPilot Desktop. The first time, macOS asks: "CashPilot Desktop" is an app downloaded from the Internet. Are you sure you want to open it? Click Open.

The app is signed and notarized by Apple. macOS still asks once for every app downloaded from the Internet.

Install on Linux

Unpack it with tar -xzf CashPilot-Desktop-linux-amd64.tar.gz, then run ./"CashPilot Desktop". It needs GTK 3 and WebKitGTK 4.1.

What changed for you

Changed

  • 2.0.0 needs CashPilot 3.0.0 or newer for server commands, and some changes need a step from you. Under an older server, Desktop 2.0 only reports. It still listens on TCP 8086 while the switch is on, but a server that never listed desktop_commands never learns the address. A server that stops listing it, for example after a downgrade to 2.x, can still get the address in one more heartbeat. The heartbeat after that leaves it out. The window and the background helper each send their own heartbeats, so each can send that one. To stop server commands before a downgrade, turn the switch off first. Desktop 1.7.0 also only reports under CashPilot 3.0.0, so upgrade the server first. Server commands start on at a first join and off after an upgrade from 1.x. Desktop sends the command address only when the server's previous heartbeat answer listed desktop_commands. The pairing moves to pairing.json, and 2.0 deletes the 1.x keys, so a return to 1.x needs a new join. After an upgrade back to 2.0, the window applies the choice you made in 1.x when it first starts. A join in 1.x, to the same server or to another one, moves over as on a first upgrade. That needs a readable keychain and a server that answers. A Leave in 1.x leaves the server in 2.0 too. When the pairing changes, the key that 2.0 held before stops working. Server commands start off again, because 1.x drops the saved switch. Until the window has applied the 1.x choice, this computer does not report to any server and takes no commands. After the move to pairing.json, an edit of upstreamUrl in config.json no longer changes the server. Use Settings, or leave and join again. After HTTP 401, a moved pairing stops the heartbeat and server commands until you join again by hand. A pairing not moved yet keeps sending the heartbeat and shows the same message. NVIDIA_ variables are refused at save and at deploy. Every container without an NVIDIA grant gets NVIDIA_VISIBLE_DEVICES=void, so a custom service that used the GPU through the nvidia default runtime loses it on its next deploy. Desktop does not update itself. When the window opens, it replaces a background helper that runs an older build or another copy of the app, so the helper runs 2.0 too. On macOS and Linux, native earners that the old helper started stop with it. wails.json, package.json, frontend/package.json and frontend/package-lock.json now say 2.0.0. Release builds still take the version from the tag. What to do before and after the upgrade: the 2.0 section of UPGRADING.md.
  • The release notes of a major release start with Before you upgrade. That section links the major's own section of UPGRADING.md, and a test fails when UPGRADING.md has no section for the current major. It lists every breaking change, by the same rule that auto-tag uses to pick a major bump. A commit whose subject has no title, such as (#123) with no text before the number, now stops the release. Before, it dropped out of the notes. cmd/releasenotes/titles.txt gives such a commit its subject (cmd/releasenotes).
  • SupportXMR, HeroMiners Kaspa, 2Miners ETC and OCEAN now record that they have no referral programme. Each pool pays a wallet address and has no accounts, so no referral code can apply. Same flags as the web catalog.
  • The catalog shows every referral bonus and keeps our code on every sign-up link. Honeygain's referral is a share of a friend's earnings. Each of IPRoyal Pawns' $1 bonuses needs a payout within a 1-3 week window. URnetwork and Vast.ai state their limits. Dawn links to its validator extension with our code. The README and services page tell Dawn users to type 2QLQV97F in the extension. Same catalog as the web (CashPilot #859, #860 and #861, synced in #379).

Added

  • Two GPU miners, as in the web catalog: SRBMiner-Multi for Pearl, Zano or Ravencoin on the pool you choose, and KRig for Pearl on Kryptex Pool. Both get one NVIDIA GPU through the GPU grant and run one copy. The deploy card states each fee before deploy: SRBMiner-Multi keeps 2% of hashing time on Pearl (0.85% on Zano and Ravencoin), and KRig keeps 0% on Kryptex Pool, which lists a separate 3% pool fee. Kryptex holds the balance in BTC in your Kryptex account, so its card says the pool keeps your balance until you request a withdrawal, and never that payouts arrive in your wallet. The signup link carries our Kryptex referral. Neither has a balance collector yet; check the pool dashboard. Pearl (PRL) now has a price. The compose export now starts every service behind Docker's init, as a deploy here does, unless the entry's own entrypoint or command starts one (an image that starts tini itself, such as ProxyBase's, then runs two inits, which only adds a warning): SRBMiner-Multi exits at once with an empty log when it is PID 1. Beta until they run on a real NVIDIA host. Same entries as the web (CashPilot #843, #841).
  • A catalog miner gets the GPU its entry declares, as on a CashPilot worker. An entry with docker.gpu (vendor nvidia, amd or intel, count 1 or all) gets an NVIDIA device request, or that vendor's render nodes (/dev/dri/renderD128 to renderD135, never a card node) plus /dev/kfd for ROCm. Only this computer's catalog decides it: the deploy form, a joined CashPilot, a custom service and a proxied copy cannot ask for a GPU. The heartbeat reports these grants, so a joined CashPilot can deploy a GPU miner here. A GPU entry runs one copy and only the image the catalog pins. When the container runtime shares this computer's Linux kernel through a local socket or pipe, and every GPU detail reads cleanly, a deploy for a GPU vendor the machine lacks is refused before the running container is touched; AMD and Intel need that, while NVIDIA also works through Docker Desktop with WSL 2. When Docker cannot pass an NVIDIA GPU in, the error says to install the NVIDIA Container Toolkit and how. Every container without an NVIDIA grant now gets NVIDIA_VISIBLE_DEVICES=void, so a CUDA image cannot take the GPU on a host whose default runtime is nvidia, and no entry, custom service or request may set an NVIDIA_ variable. The compose export carries the same GPU: an AMD or Intel entry gets that vendor's own render node on this computer, and has no export when that node cannot be read. A GPU entry deployed without its GPU, or still holding a GPU its entry no longer grants, shows as changed settings. Beta until it runs on a real GPU host. Same rules as the web worker (CashPilot #825).
  • Your CashPilot can deploy and stop services on a Desktop that joined it. While joined, the server deploys, stops, starts, restarts and removes services here, as it does on a CashPilot Docker worker, through the same routes. It is on when you join, and a dashboard switch turns it off. A computer that was already joined in 1.x starts with it off after the upgrade, because an upgrade is not a choice to allow it; turn it on with the same switch. The card says which server can do this and shows the last command it sent. Only the key the server gave this computer at the join works; the shared key does not. CashPilot listens on TCP 8086 on private network and Tailscale addresses only, and refuses other sources. A deploy runs this computer's own catalog entry and pinned image, and every local deploy rule still holds. The server cannot delete data that cannot be recovered. On Windows, CashPilot does not listen until a button adds a firewall rule for private networks only, after it says what it opens; the same step removes a Windows rule that blocks CashPilot on that port, and keeps every other Block rule. Leaving the server, or clearing its address in Settings, removes the rule. A deploy the server sends does not register the device with the provider again, because the server already does. After a downgrade to 1.x and back, a join or Leave made in 1.x wins at the next start, and server commands start off again. A 1.x join is applied at that start only when the keychain can be read and the server answers. Until then, the old 2.0 pairing stays but has no authority: it sends no reports and takes no commands. Unlock the keychain or restore the connection, then start CashPilot again. Needs CashPilot 3.0.0 or newer: with an older server this computer only reports, and while the switch is on the card says the server is too old (docs/configuration.md).
  • A joined Desktop now offers the checked deploy route, so your CashPilot can replace only the container you approved. CashPilot 3.0.0 does not send Desktops down this route yet, so it still uses the old route, which replaces whatever runs. A later CashPilot release can switch to it. Besides the old deploy route, the server commands now serve the CashPilot worker's checked route, /api/containers/{slug}/deploy-checked. A lookup names the container a deploy would replace: its full Docker ID, or none. It reads no logs, so a container with Docker logging off is named too. The deploy carries that ID as expected_container, and this computer compares it with the live container while it holds the deploy lock, right before it stops anything. When another container is there, or none, nothing changes and the answer is HTTP 409 with deploy_target_changed and the container there now. A left-out expected_container means a first deploy; a JSON null is refused. The bare replace_existing flag of an older Desktop replaces nothing and gets the worker's "update CashPilot-Desktop" answer. A service that runs as a program here, not in a container, can only be created through it. A service that runs more copies on this computer, or is set to run more than one copy, is refused by the lookup and the deploy, because a redeploy replaces or starts every copy and the server names only one; redeploy it here, or lower it to one copy. The old route still replaces whatever runs, so an older CashPilot keeps working.
  • SupportXMR balances, under Mining. CashPilot reads the unpaid XMR balance from your public payout address and shows it down to one piconero. The setup card shows the request minimum, the request fee and the default automatic threshold. A new address clears the old balance and starts a fresh earnings baseline, so the change never counts as earnings. Same entry as the web (CashPilot #828).
  • HeroMiners Kaspa balances, under Mining. CashPilot reads the unpaid KAS balance from your public payout address and prices it with the CoinGecko KAS rate. It checks the kaspa: address before it asks the pool. An unknown address, a pool error or a reply with no valid balance is an error, never 0, and no error text holds the address. The balance shows down to one sompi. It is what the pool holds for the address, not money that the wallet received. Same entry as the web (CashPilot #833).
  • 2Miners ETC balances, under Mining. CashPilot reads the unpaid ETC balance from your public payout address and prices it with the CoinGecko ETC rate. It checks the 0x address before it asks the pool, and sends and stores it in lowercase, so the same address in another case keeps its history. An address the pool has never seen, or a reply with no valid balance, is an error, never 0. The balance shows down to 0.000000001 ETC. Same entry as the web (CashPilot #837).
  • XMRig, a Monero CPU miner, with its fee shown before deploy. The deploy card shows XMRig's 1% developer fee, the default pool's fee note and a link to the fee source. It shows them for a deploy here and to a worker. A fee the catalog does not state reads "not stated in the catalog", never 0%. The Max CPU threads (%) setting caps the threads that XMRig starts. On arm64 it sets the thread count. On x86 it keeps XMRig's hint only when the CPU shows an L3 cache of at least 2 MiB, and sets the count otherwise. Many virtual machines show no such cache. A joined CashPilot can deploy XMRig here. Same entry as the web (CashPilot #834, #847, #850).
  • unMineable: mine any coin from the desktop app. The entry runs the same pinned XMRig image, with the same CPU cap. Every worker carries our referral code. It cuts your unMineable fee from 1% to 0.75% and gives CashPilot's maintainer 0.25%. Each field must match its pattern, so no field can add another code, worker or pool. CashPilot reads the balance in the coin you picked. A coin switch starts a new baseline, and each period is priced in its own coin. BNB, DOGE, LTC, SHIB and TRX get prices, and a balance in any other coin shows at least 8 decimals, so 0.0042 SOL never reads as 0.00 SOL. Same entry as the web (CashPilot #844, #847, #850).
  • Services whose sign-up does not read our referral code from the link now show the code to type. Dawn and Gradient never read the code from the sign-up link. Their setup card, details view and catalog row now show the code with a Copy button next to Sign up and Visit. Both buttons keep their referral links (#377).
  • A lead Desktop refuses to send a GPU miner to a worker whose GPU grant differs. The worker gives a GPU only from its own catalog, so a worker without the grant started the miner without a GPU, and the miner still looked healthy. The lead now keeps the gpu_grants that each worker reports (CashPilot 3.0.0 workers). It refuses a service with docker.gpu unless the worker's grant matches this computer's catalog. A worker that reports no grant is told to update. A different grant says to update the older side. A GPU service with a custom image is refused too. Services without a GPU do not change.

Fixed

  • On Windows, a native earner (Mysterium) stops at once. A stop, restart, redeploy or remove waited 30 seconds before the earner stopped. Windows cannot send the earner a stop signal, so the wait always ran out. The app now stops it at once there. An earner left from an earlier session no longer waits 15 seconds either.
  • Removing a copy that is already gone shows the worker's own words. A CashPilot worker now answers that case with copy_not_found. Desktop showed its fallback text, which said the worker may be older than this app and should be updated. It now shows the worker's message. The remove still counts as failed.
  • Docker actions wait for Docker instead of failing after the click. While Docker is stopped or its state is unknown, these controls are disabled: Deploy on Import for a Docker app, Run a copy through this proxy and a proxied copy's Start on Fleet, and on the Dashboard Start for a Docker service or copy, Redeploy, and Turn on isolation. Beside each one the page says what is wrong and how to fix it, with a Set up Docker or Check Docker button that opens Runtime. They all read the same Docker status as the top bar, and they follow it when it changes. Start and Deploy for a native app, such as MystNodes on Windows, are not affected.
  • Activity no longer says "Docker is not reachable" once Docker is back. That line comes from the last sample, which runs every 5 minutes. When Docker answers now, Activity says the last sample could not reach Docker and that the next one can run.
  • A slow Docker check can no longer mark the Windows checklist ready after a newer check found Docker stopped. If a newer reading replaces the check while it runs, the checklist reads this PC again instead of showing the old rows. Start Docker Desktop stays on the checklist while Docker is stopped.
  • A worker deploy's saved credentials are no longer overwritten by a local deploy that was already running. The worker save now wins, as Save Credentials does. The local deploy no longer saves its form over it. A typed secret no longer replaces the worker's token. With a blank secret, the local form's other fields, such as the device name, no longer replace the worker's save.
  • A yes about one worker no longer deploys to another worker with the same name. While a worker enrols, another worker that reports the same name can take over its row on the Fleet page, with its own client ID and address. A Redeploy yes given about the first worker could then reach the second one, even as a create-only deploy that carried the service's credentials. Every question now names the worker it is about, and every yes counts only for that worker. When the worker behind the row changed, Desktop drops each earlier yes before it sends anything and asks whether to deploy to the worker that reports now. That yes, too, counts only for the worker it names: if a third worker takes the row first, Desktop asks again. The same worker at a new address is asked about as well, because the deploy goes to that address, and the question says it is the same worker. Four smaller fixes: a worker lookup that answers expected_container: null is refused instead of read as an older worker; the question after an older worker's late refusal now says to update CashPilot on that worker; the last of the eight rounds no longer shows a question it cannot use; and a worker updated between the lookup and the deploy gets a fresh lookup and the exact-container question, instead of an error that says to update Desktop.
  • Desktop finds Docker the way the docker CLI does, so colima works without DOCKER_HOST. Before, the app read only DOCKER_HOST and otherwise tried /var/run/docker.sock. Started from the Finder on a stock colima install, it found no Docker, and a server command answered that Docker was not ready. Now, with no DOCKER_HOST, it uses the current Docker context (DOCKER_CONTEXT, then currentContext in ~/.docker/config.json). With no context and no /var/run/docker.sock, it tries the sockets that colima (~/.colima/<profile>/docker.sock and ~/.colima/docker.sock), Docker Desktop and rootless Docker create. A tcp context keeps its TLS files and SkipTLSVerify. An ssh context is refused with a message that names it, because the app cannot connect over ssh and must not use a local engine in its place. A remote context also gets the remote wording in the port-forward hint and in the unreachable-engine message. This applies on macOS and Linux. Windows keeps Docker Desktop's default pipe.
  • Desktop no longer treats a CashPilot worker's containers on the same Docker as its own. A worker, and a compose file Desktop exported, name their containers cashpilot-<slug> and label them cashpilot.managed=true, as Desktop does. Desktop listed them on the dashboard, reported them to the server as running here, offered to redeploy them behind the LAN fence, and a start, stop, remove or redeploy by slug could reach them. Now Desktop counts a container as its own only when it also carries cashpilot.runtime=existing-docker, which only Desktop writes. Such a container is left alone. A start, stop, remove, redeploy, log read, state export or wallet read by slug is refused. The message says whether a worker or an exported compose file made it, and a server's checked deploy lookup gets HTTP 409 instead of an ID to approve.
  • The join success panel now says what your CashPilot can do here. It said that you still add and remove earning apps in this app, which read as if the server could not deploy here. After a first join the switch is on, so the panel now says that your CashPilot can also deploy, stop and remove services here, and that the dashboard switch turns this off. When the switch is off, the panel says so and where to turn it on.
  • After your CashPilot refuses this computer's key, the dashboard still shows the last heartbeat. It said "No heartbeat has reached it yet" although heartbeats had worked for minutes. It now shows when the last one got through, then the failure. After a restart, when no heartbeat has worked since, it says "No heartbeat has reached it since CashPilot started."
  • The configuration docs now say that CASHPILOT_DESKTOP_DATA_DIR does not separate the keychain. Two data directories on one account share the same keychain entries, so a join or a Leave in one replaces or deletes the key of the other (docs/configuration.md).
Every change in this release, for developers
  • feat(catalog): track SupportXMR balances in the desktop app (#357)
  • feat(catalog): track HeroMiners Kaspa balances in the desktop app (#359)
  • feat(fleet): let a joined CashPilot deploy and stop services on this Desktop, with its own key and on private networks only (#342)
  • feat(catalog): track 2Miners ETC balances in the desktop app (#360)
  • feat(catalog): show the XMRig miner fee before deploy (#361)
  • fix(catalog): make the desktop XMRig CPU setting cap the threads it starts (#363)
  • feat(deploy): give a catalog miner the GPU it declares in the desktop app too (#362)
  • feat(catalog): mine any coin on unMineable from the desktop app (#366)
  • feat(catalog): list the GPU miners, SRBMiner-Multi and KRig for Kryptex, in the desktop app (#367)
  • fix(catalog): make the desktop XMRig and unMineable CPU setting hold on virtual machines too (#368)
  • fix(workerapi): show the worker's own words when a removed copy is already gone (#369)
  • feat(release): warn before a major upgrade and stop a release on a commit with no title (#371)
  • fix(fleet): refuse a GPU miner on a worker whose grant differs (#370)
  • test: stop three Windows tests from failing at random and blocking the release (#373)
  • fix(fleet): start server commands off after a 1.x upgrade, because an upgrade is not a choice to allow them (#374)
  • fix: disable Docker actions until Docker is ready, and stop a running local deploy from overwriting a worker's saved credentials (#365)
  • fix(upstream): keep Desktop report-only on servers too old to command it safely (#372)
  • chore(catalog): sync no-referral flags for the accountless mining pools (#375)
  • fix(runtime): stop native earners on Windows at once instead of after a 30 s wait (#376)
  • fix(fleet): replace only the container the owner approved, on the worker they approved it for (#364)
  • feat(catalog): show referral codes users must type by hand next to Sign Up (#377)
  • chore(catalog): bring the typed referral codes and bonuses to Desktop, so its sign-ups credit our codes (#379)
  • fix(pairing): let a 1.x join or leave replace the 2.0 pairing on the next 2.0 start (#380)
  • feat(release)!: CashPilot Desktop 2.0, which needs CashPilot 3.0 for server commands (#378)

Full Changelog: v1.7.0...v2.0.0