From a4b1607983774ef6e27c0943459ccd2369be75c2 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 30 Jan 2026 20:11:03 +0000 Subject: [PATCH] signals: remove boost::signals2 mentions in linters and docs The documented example is no longer relevant, so remove it rather than updating it to mention btcsignals. --- doc/developer-notes.md | 4 ++-- test/lint/lint-includes.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 97ffc0cd1b6..c30fb509f2b 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -1411,9 +1411,9 @@ communication: using TipChangedFn = std::function; virtual std::unique_ptr handleTipChanged(TipChangedFn fn) = 0; - // Bad: returns boost connection specific to local process + // Bad: returns btcsignals connection specific to local process using TipChangedFn = std::function; - virtual boost::signals2::scoped_connection connectTipChanged(TipChangedFn fn) = 0; + virtual btcsignals::scoped_connection connectTipChanged(TipChangedFn fn) = 0; ``` - Interface methods should not be overloaded. diff --git a/test/lint/lint-includes.py b/test/lint/lint-includes.py index cccaec73f10..2e8417ea734 100755 --- a/test/lint/lint-includes.py +++ b/test/lint/lint-includes.py @@ -30,9 +30,6 @@ EXPECTED_BOOST_INCLUDES = [ "boost/multi_index/tag.hpp", "boost/multi_index_container.hpp", "boost/operators.hpp", - "boost/signals2/connection.hpp", - "boost/signals2/optional_last_value.hpp", - "boost/signals2/signal.hpp", "boost/test/included/unit_test.hpp", "boost/test/unit_test.hpp", "boost/tuple/tuple.hpp",