fix(tor): recognize bitcoin-core in Tor auto-enrollment tables

apps/bitcoin-core/manifest.yml uses id "bitcoin-core", but
known_service_port/is_protocol_service (tor/mod.rs) and
tor_service_name (docker_packages.rs) only matched "bitcoin" and
"bitcoin-knots", so the app silently never got auto-enrolled for a
P2P (8333) hidden service at install time, and the UI's Tor address
lookup for it always returned None.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WxfWiFfnBkdSxwKUuV2tNy
This commit is contained in:
2026-09-10 15:28:17 +00:00
co-authored by Claude Sonnet 5
parent db52c06a72
commit 69f3a355c7
2 changed files with 3 additions and 3 deletions
@@ -660,7 +660,7 @@ fn apply_dynamic_metadata(app_id: &str, meta: &mut AppMetadata) {
fn tor_service_name(app_id: &str) -> Option<&'static str> {
match app_id {
"archipelago" => Some("archipelago"),
"bitcoin" | "bitcoin-knots" | "bitcoind" => Some("bitcoin"),
"bitcoin" | "bitcoin-core" | "bitcoin-knots" | "bitcoind" => Some("bitcoin"),
"electrumx" | "electrs" | "electrum" => Some("electrumx"),
"lnd" | "lnd-ui" => Some("lnd"),
"btcpay" | "btcpay-server" | "btcpayserver" => Some("btcpay"),