Skip to content

App-version-related improvements#2036

Merged
ImplOfAnImpl merged 1 commit intomasterfrom
add_version_response_to_binaries
Apr 7, 2026
Merged

App-version-related improvements#2036
ImplOfAnImpl merged 1 commit intomasterfrom
add_version_response_to_binaries

Conversation

@ImplOfAnImpl
Copy link
Copy Markdown
Contributor

  1. The --version parameter was added to executables that didn't have it (wallet-rpc-daemon, dns server, api-web-server, api-blockchain-scanner-daemon).
  2. The git hash commit detection that was done in wallet/build.rs was moved to a function in a separate crate utils/build_utils. Also, a rebuild is now triggered when the git hash changes.
    All --version responses now have the git commit hash as the build metadata.
  3. The GIT_TREE_CLEAN build env var, which was set in wallet/build.rs, was removed because it doesn't seem to be possible to set it reliably on a dev machine (and it shouldn't be set on CI anyway).
  4. wallet-cli now prints a warning to the log if its, node's and wallet-rpc-daemon's versions don't match (the metadata is ignored during comparison).

…mmit hash in the version. Remove the "dirty" flag from wallet version response. Print a warning if versions of wallet-cli, wallet-rpc-daemon and the node differ.
@ImplOfAnImpl ImplOfAnImpl force-pushed the add_version_response_to_binaries branch from f06b070 to f969d3e Compare April 2, 2026 08:42
@ImplOfAnImpl ImplOfAnImpl marked this pull request as ready for review April 2, 2026 08:42
@ImplOfAnImpl ImplOfAnImpl merged commit 1511a98 into master Apr 7, 2026
20 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the add_version_response_to_binaries branch April 7, 2026 15:54
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.

2 participants