From 1958cdda1da946b5c0875b55442a56e06796b21f Mon Sep 17 00:00:00 2001 From: highlander Date: Sat, 22 Aug 2026 17:16:57 -0500 Subject: [PATCH] feat(protocol): report taproot support in Features Adds Features.supports_taproot (field 27) so a host can detect P2TR capability directly rather than inferring it from a firmware version string, which breaks whenever the feature is retargeted to a different release. Field number and wording match the same field in #112, so the two do not conflict when that lands. --- messages.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/messages.proto b/messages.proto index ca35898c..858ccf88 100644 --- a/messages.proto +++ b/messages.proto @@ -293,6 +293,11 @@ message Features { optional bool wipe_code_protection = 25; optional uint32 auto_lock_delay_ms = 26; // Current auto lock delay (in milliseconds) + optional bool supports_taproot = + 27; // Firmware can derive and spend P2TR (BIP-86 / BIP-340 / BIP-341). + // Lets a host detect taproot support directly instead of inferring + // it from a firmware version, which breaks whenever the feature is + // retargeted to a different release. } /**