- Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Description
Add or update the /info endpoint to include the commit hash of the current build.
Currently it just provides information about the parameters and height:
$ curl -s --request GET https://silentpayments.dev/blindbit/mainnet/info | jq { "network": "main", "height": 904453, "tweaks_only": false, "tweaks_full_basic": false, "tweaks_full_with_dust_filter": true, "tweaks_cut_through_with_dust_filter": true }
Additional context
I ran into some issues while building and testing the server locally, and at one point, I suspected I was using the wrong tag or commit. I couldn’t verify this against the 'canonical' version running under https://silentpayments.dev
because it doesn’t expose that information.
This might be useful to report bugs. Like in rust:
$ rustc --version rustc 1.87.0 (17067e9ac 2025-05-09)
Unless there is a security implication, I think it is a useful addition.
Metadata
Metadata
Assignees
Labels
No labels