Skip to content

logging: More fully remove libevent log category - #35597

Merged
sedited merged 1 commit into
bitcoin:masterfrom
ryanofsky:pr/logevent
Jun 30, 2026
Merged

sedited merged 1 commit into
bitcoin:masterfrom
ryanofsky:pr/logevent

Conversation

@ryanofsky

Copy link
Copy Markdown
Contributor

Libevent log category was partially removed in 39e9099, and this commit extends that with the following changes:

  • Stops showing libevent in the list of supported log categories in bitcoind -help and bitcoin-cli help logging output.
  • Stops returning "libevent": false in logging RPC output.

It's not good to treat libevent as a supported log category when it can't be enabled and trying to enable it results in warnings.

There's also no need to define an unused LIBEVENT constant value and keep more complicated logic for dealing with deprecated log categories, so this change also simplifies code internally.

Libevent log category was partially removed in 39e9099, and this
commit extends that with the following changes:

- Stops showing libevent in the list of supported log categories in
  `bitcoind -help` and `bitcoin-cli help logging` output.

- Stops returning `"libevent": false` in `logging` RPC output.

It's not good to treat libevent as a supported log category when it
can't be enabled and trying to enable it results in warnings.

There's also no need to define an unused LIBEVENT constant value and
keep more complicated logic for dealing with deprecated log categories,
so this change also simplifies code internally.

Co-authored-by: David Gumberg <[email protected]>
Co-authored-by: l0rinc <[email protected]>
@DrahtBot

DrahtBot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35597.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK l0rinc, pinheadmz, sedited
Stale ACK davidgumberg

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #35587 (Remove boost as a unit test runner by rustaceanrob)
  • #34038 (logging: replace -loglevel with -trace, expose trace logging via RPC by ajtowns)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Comment thread src/logging.cpp Outdated
return it->second;
}
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

text bikeshed, I think what this means will not be obvious to a user but I'm fine with as-is:

Suggested change
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
LogWarning("The logging category `%s` is deprecated, does nothing, and will result in an error in a future version", str);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

text bikeshed, I think what this means will not be obvious to a user but I'm fine with as-is:

Thanks! Agree that's much better

@davidgumberg

Copy link
Copy Markdown
Contributor

crACK d38170a

Comment thread src/logging.cpp
bool BCLog::Logger::EnableCategory(std::string_view str)
{
if (const auto flag{GetLogCategory(str)}) {
if (*flag & DEPRECATED){

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`libevent` has been deprecated as a logging category and will be removed in
a future release. At that time configurations like `debugexclude=libevent` will
still mentions the logging being deprecated and that it will be removed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this still true after this PR?

@l0rinc l0rinc Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, I wasn't sure what will be removed in a future version means when this PR already removes it - @ryanofsky?

@davidgumberg davidgumberg Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a user provides a nonexistent debug option bitcoind refuses to start, e.g.:

$ bitcoind -debug=spiders
Error: Unsupported logging category -debug=spiders.

In this PR and on master, -debug=libevent gets treated special, and even though it's not a real logging category, bitcoind prints an error and ignores the option.

"remove the libevent debug log category" might mean:

a) remove it internally in bitcoin core's code
- This PR does that and users probably don't care whether or not this happens.
b) the option does nothing
- Already true on master, not that interesting except for maybe telling users that cared to turn on debug=http instead
c) gets treated like every other nonexisting logging category and results in an error and refusal to start
- Might happen at some point in the future and users should be warned.

My understanding is that what is meant in the release note and this PR by "removed" is c) but it might be clearer if written more like the suggestion above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

still mentions the logging being deprecated and that it will be removed

Yes this is still keeping compatibility and not removing the option. Just no longer listing a category that doesn't produce any output. I did update the release notes though to hopefully be clearer.

Comment thread test/functional/rpc_misc.py Outdated
assert_equal(True, all(value is True for category, value in all_result.items()))
assert_equal(True, 'libevent' not in all_result)
assert_equal(all_result, node.logging())
with self.nodes[0].assert_debug_log(["The logging category `libevent` is deprecated"]):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could extract the expected warning into a local variable so the include/exclude cases stay in sync, especially if the warning wording changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

Could extract the expected warning into a local variable so the include/exclude cases stay in sync, especially if the warning wording changes.

Makes sense, added variable

Comment thread test/functional/rpc_misc.py Outdated
Comment on lines +125 to +126
assert_equal(True, all(value is True for category, value in all_result.items()))
assert_equal(True, 'libevent' not in all_result)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The all-true result and absent libevent key are boolean predicates, so plain assertions should be enough. This also avoids the unused category loop variable:

Suggested change
assert_equal(True, all(value is True for category, value in all_result.items()))
assert_equal(True, 'libevent' not in all_result)
assert all(value is True for value in all_result.values())
assert 'libevent' not in all_result

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

The all-true result and absent libevent key are boolean predicates, so plain assertions should be enough. This also avoids the unused category loop variable:

Thanks for the suggestion. I think it's better to use items() instead of .values() here and keep both variables so it's more obvious this returns a category -> bool mapping. Also I think it's better to use the test framework's checks for consistency and since failing language asserts would look more like test bugs than test failures. So I didn't use these suggestions but I did rename value -> enabled

Comment thread src/logging.cpp
}
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
return BCLog::NONE;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since libevent resolves to BCLog::NONE to preserve compatibility without enabling a real category, SetCategoryLogLevel() can avoid storing a category-specific level for it.

diff --git a/src/logging.cpp b/src/logging.cpp
index 03ef1dd603..a9585a72d4 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -609,6 +609,7 @@ bool BCLog::Logger::SetCategoryLogLevel(std::string_view category_str, std::stri
 
     const auto level = GetLogLevel(level_str);
     if (!level.has_value() || level.value() > MAX_USER_SETABLE_SEVERITY_LEVEL) return false;
+    if (*flag == BCLog::NONE) return true;
 
     STDLOCK(m_cs);
     m_category_log_levels[*flag] = level.value();
diff --git a/src/test/logging_tests.cpp b/src/test/logging_tests.cpp
index 5595fe16de..7f0aac56c7 100644
--- a/src/test/logging_tests.cpp
+++ b/src/test/logging_tests.cpp
@@ -244,6 +244,13 @@ BOOST_FIXTURE_TEST_CASE(logging_Conf, LogSetup)
         BOOST_CHECK_EQUAL(net_it->second, BCLog::Level::Trace);
     }
 
+    // Ignore removed libevent category-specific log level
+    {
+        ResetLogger();
+        BOOST_CHECK(LogInstance().SetCategoryLogLevel(/*category_str=*/"libevent", /*level_str=*/"trace"));
+        BOOST_CHECK(LogInstance().CategoryLevels().empty());
+    }
+
     // Set both global log level and category-specific log level
     {
         ResetLogger();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

Since libevent resolves to BCLog::NONE to preserve compatibility without enabling a real category, SetCategoryLogLevel() can avoid storing a category-specific level for it.

Thanks, it does seem a little better not to store this even though it won't be used, so I applied the patch.

This ambiguity would not exist if representation of log levels was a simple (category -> level) mapping instead of the current (category -> level or global default level + enabled or disabled) mapping.

Comment thread src/logging.cpp
Comment on lines +235 to +237
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
return BCLog::NONE;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: This change introduces a logging side-effect to a (almost) pure table lookup.

The diff below moves the warning out to the action sites, keeps GetLogCategory pure and removes the need to return BCLog::NONE;

In my change GetLogCategory stays a plain table lookup returning nullopt for unknown strings, and each of EnableCategory / DisableCategory / SetCategoryLogLevel falls through to WarnIfDeprecatedCategory(str) on a miss.

Not a blocker, this is temporary code after all but still.

diff --git a/src/logging.cpp b/src/logging.cpp
index 701e063dce..c45dd74ad9 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -125,6 +125,15 @@ void BCLog::Logger::DisableLogging()
     StartLogging();
 }
 
+static bool WarnIfDeprecatedCategory(std::string_view str)
+{
+    if (str == "libevent") {
+        LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
+        return true;
+    }
+    return false;
+}
+
 void BCLog::Logger::EnableCategory(BCLog::LogFlags flag)
 {
     m_categories |= flag;
@@ -136,7 +145,7 @@ bool BCLog::Logger::EnableCategory(std::string_view str)
         EnableCategory(*flag);
         return true;
     }
-    return false;
+    return WarnIfDeprecatedCategory(str);
 }
 
 void BCLog::Logger::DisableCategory(BCLog::LogFlags flag)
@@ -150,7 +159,7 @@ bool BCLog::Logger::DisableCategory(std::string_view str)
         DisableCategory(*flag);
         return true;
     }
-    return false;
+    return WarnIfDeprecatedCategory(str);
 }
 
 bool BCLog::Logger::WillLogCategory(BCLog::LogFlags category) const
@@ -232,10 +241,6 @@ std::optional<BCLog::LogFlags> BCLog::Logger::GetLogCategory(std::string_view st
     if (it != LOG_CATEGORIES_BY_STR.end()) {
         return it->second;
     }
-    if (str == "libevent") {
-       LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
-       return BCLog::NONE;
-    }
     return std::nullopt;
 }
 
@@ -605,7 +610,7 @@ bool BCLog::Logger::SetLogLevel(std::string_view level_str)
 bool BCLog::Logger::SetCategoryLogLevel(std::string_view category_str, std::string_view level_str)
 {
     const auto flag{GetLogCategory(category_str)};
-    if (!flag) return false;
+    if (!flag) return WarnIfDeprecatedCategory(category_str);
 
     const auto level = GetLogLevel(level_str);
     if (!level.has_value() || level.value() > MAX_USER_SETABLE_SEVERITY_LEVEL) return false;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

NIT: This change introduces a logging side-effect to a (almost) pure table lookup.

I think the current change is more appropriate than the suggested code (and previous code), because the category lookup is what is failing, so it makes sense to handle the lookup failure one place instead of every place the lookup is performed.

I do also agree with you that it would be nice if the lookup function was pure and didn't log a warning. This could be implemented pretty simply by having a GetLogCategory function that's pure and a ParseLogCategory function that calls GetLogCategory and is impure. But at the moment no callers need the pure function and all callers need to impure function, so I think it makes sense to have one simple function until something more complicated is needed.

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reviews!

Updated d38170a -> 3765b42 (pr/logevent.1 -> pr/logevent.2, compare) with suggested changes.

Comment thread src/logging.cpp Outdated
return it->second;
}
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

text bikeshed, I think what this means will not be obvious to a user but I'm fine with as-is:

Thanks! Agree that's much better

Comment thread src/logging.cpp
bool BCLog::Logger::EnableCategory(std::string_view str)
{
if (const auto flag{GetLogCategory(str)}) {
if (*flag & DEPRECATED){

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

still mentions the logging being deprecated and that it will be removed

Yes this is still keeping compatibility and not removing the option. Just no longer listing a category that doesn't produce any output. I did update the release notes though to hopefully be clearer.

Comment thread test/functional/rpc_misc.py Outdated
assert_equal(True, all(value is True for category, value in all_result.items()))
assert_equal(True, 'libevent' not in all_result)
assert_equal(all_result, node.logging())
with self.nodes[0].assert_debug_log(["The logging category `libevent` is deprecated"]):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

Could extract the expected warning into a local variable so the include/exclude cases stay in sync, especially if the warning wording changes.

Makes sense, added variable

Comment thread test/functional/rpc_misc.py Outdated
Comment on lines +125 to +126
assert_equal(True, all(value is True for category, value in all_result.items()))
assert_equal(True, 'libevent' not in all_result)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

The all-true result and absent libevent key are boolean predicates, so plain assertions should be enough. This also avoids the unused category loop variable:

Thanks for the suggestion. I think it's better to use items() instead of .values() here and keep both variables so it's more obvious this returns a category -> bool mapping. Also I think it's better to use the test framework's checks for consistency and since failing language asserts would look more like test bugs than test failures. So I didn't use these suggestions but I did rename value -> enabled

Comment thread src/logging.cpp
Comment on lines +235 to +237
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
return BCLog::NONE;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

NIT: This change introduces a logging side-effect to a (almost) pure table lookup.

I think the current change is more appropriate than the suggested code (and previous code), because the category lookup is what is failing, so it makes sense to handle the lookup failure one place instead of every place the lookup is performed.

I do also agree with you that it would be nice if the lookup function was pure and didn't log a warning. This could be implemented pretty simply by having a GetLogCategory function that's pure and a ParseLogCategory function that calls GetLogCategory and is impure. But at the moment no callers need the pure function and all callers need to impure function, so I think it makes sense to have one simple function until something more complicated is needed.

Comment thread src/logging.cpp
}
if (str == "libevent") {
LogWarning("The logging category `%s` is deprecated, can not be enabled, and will be removed in a future version", str);
return BCLog::NONE;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #35597 (comment)

Since libevent resolves to BCLog::NONE to preserve compatibility without enabling a real category, SetCategoryLogLevel() can avoid storing a category-specific level for it.

Thanks, it does seem a little better not to store this even though it won't be used, so I applied the patch.

This ambiguity would not exist if representation of log levels was a simple (category -> level) mapping instead of the current (category -> level or global default level + enabled or disabled) mapping.

@l0rinc

l0rinc commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

code review ACK 3765b42

@DrahtBot
DrahtBot requested a review from davidgumberg June 30, 2026 01:53

@pinheadmz pinheadmz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 3765b42

Built and tested on arm64/macos. Played with config args and rpc logging, behavior is mostly unchanged. Removes the code around "deprecated" logging categories and redefines libevent as "known" but not supported, so it doesn't show up in any lists but also doesn't raise an error if a consumer of the API hasn't adjusted for #35182 yet. Only downside is a hardcoded if "libevent" but I agree its cleaner than what we had before.

Show Signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

ACK 3765b428d1950a4ffbe85f9fb66ff1a3a73d0167
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCAA5FiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmpD32IbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMCwzAAoJEOfimEtiick674YQAKg+MQ6usxyIVWqqIMrU
oWMql9QIm49yqeg+tiLHaEUZ2d1TN5OgWp4jouDctx+ugfDpl1InnAp7yzGA+LTx
RFjzVC2/NIUIjNiZ+7FKQaA205MLT1ygmWQyG0OWSeqMUBwKMv0VMWNkQdt91ZFG
BTGBtgSaHldXD2tZKnx0pBg2aDE0GY4mUh6VnqfxnatJ0hqTAcW+lvtNzt46HKJZ
/1yl8f8VLj9Mk2MNGi5WZhqIG2GoaIpb3YzleSa2h+bhvVUNzIWVGrrQ6+n9EFTx
mXIN2eSSpXYIAVDH86P3ClDIMJtIBz0mXxPCj91ioIBtOsYM0gCIcF70AlqzGpUq
JfRK+qAnIupg0xZluN135K6+1LI7hPLkn7LaXiGH/cz1xN5qeCcCoMexFSxeChVt
5slLzIiVy68U2uu4MVsG7Hi+V2wsSiQPEOhrykLtoHf4Ri0MtSCBOBCREDn0n7dE
+piFRDGi4W/g7n8BaxlPamz4A0AwgB8QgoZ5m++h1YVuyZ3N+bIpamVrbEOrLOwL
c+6jpqIcGnhWAyxQv5Ak8Ma0iEicnmXnoXA9+mWN/9vg9vjF9hMDYHnclLpIutDr
N/5ghsUzI6LKOmZafmISVM+qi/iZEBs/kWAujbqT252avEDvu1mH2MaaoGb9oDr5
0SbUTIBTAiIZw1I7UkeGLjfY
=Pt2t
-----END PGP SIGNATURE-----

pinheadmz's public key is on openpgp.org

@sedited sedited left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 3765b42

@sedited
sedited merged commit dc282ff into bitcoin:master Jun 30, 2026
26 checks passed
alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Jul 9, 2026
…f591d0b84

2df591d0b84 kernel: Add script tracer
f26c15bdd28 Merge bitcoin/bitcoin#35397: ci: add OpenBSD Clang cross job
dc282ff31d1 Merge bitcoin/bitcoin#35597: logging: More fully remove libevent log category
ec98037f7ae Merge bitcoin/bitcoin#35615: fuzz: restore CreateSock in PCP targets
43d89bb6e10 Merge bitcoin/bitcoin#35610: bitcoin-util: Add netmagic command
e35c8054894 Merge bitcoin/bitcoin#35129: test: add fuzz test for private broadcast
a318f43254c bitcoin-util: Add netmagic command
3c76bd43568 Merge bitcoin/bitcoin#35603: build: QRencode cleanups
57b3bf84960 Merge bitcoin/bitcoin#35609: ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
d64ea158240 ci: add openBSD cross CI job
5404b620742 depends: add openbsd_LDFLAGS
2a9e35d293b Merge bitcoin/bitcoin#35588: scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
a0e5e30010a fuzz: restore CreateSock in PCP targets
41ceea400e8 scripted-diff: Rename `StatusLevel::{INFO,WARN,ERR}`
f395acdeeea scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
7a74f652935 Merge bitcoin/bitcoin#35536: fuzz: share a single mocked steady clock across FuzzedSock instances
e1290ce7f74 Merge bitcoin/bitcoin#35543: test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
7ac25c91771 util, refactor: Rename local `ERR` in `Sock::Accept`
bbbbab86a81 ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
ea9afb61a1c Merge bitcoin/bitcoin#35602: doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
672eedc46b0 Merge bitcoin/bitcoin#35220: fuzz: connman: strengthen assertions and extend coverage
0e5c718d8af Merge bitcoin/bitcoin#35506: test: ensure group data cluster pointers are live
93012d7ff91 Merge bitcoin/bitcoin#35601: wallet: remove experimental warning from send and sendall
829255c8bed cmake: Remove `SelectLibraryConfigurations` from `FindQRencode` module
5c55606da9b depends: Remove unused `lib/pkgconfig` in `qrencode` package
402ba10b20b cmake: Drop optional `PkgConfig` use in `FindQRencode` module
8ebfff0f88b doc: add send RPC release note
fb8a1038867 doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
5884f5a4fa9 wallet: remove experimental warning from send RPCs
7b84e5106c3 Merge bitcoin/bitcoin#35595: ci: remove some packages from Chimera job
58560c281d0 ci: remove some packages from Chimera job
295ce6f45c8 Merge bitcoin/bitcoin#35576: test: raise `feature_reindex` RPC timeout
633044f1436 Merge bitcoin/bitcoin#35266: rpc, wallet: add an option to not load the wallet after migrating
d6269e2a903 Merge bitcoin/bitcoin#35594: fuzz: cover async chainstate compaction
3765b428d19 logging: More fully remove libevent log category
703a671fbc2 fuzz: compact coins view db during fuzzing
0868c85fd57 refactor: rename async coin compaction
6fa4132298a fuzz: share a single mocked steady clock across FuzzedSock instances
8791c4764ca test: use ExtendedPrivateKey in wallet_taproot.py
89ceafafb9f test: use ExtendedPrivateKey in wallet_listdescriptors.py
bbfffcab588 test: use ExtendedPrivateKey in wallet_send.py
2ab6e590f73 test: use ExtendedPrivateKey in wallet_keypool.py
9e20118720d test: use ExtendedPrivateKey in wallet_fundrawtransaction.py
06af0cddbb9 test: use ExtendedPrivateKey in wallet_descriptor.py
4100fac20e8 test: use ExtendedPrivateKey in wallet_createwallet.py
ff3f6def9a5 test: use ExtendedPrivateKey in wallet_bumpfee.py
003f2a01f63 test: use ExtendedPrivateKey in feature_notifications.py
f988e6d6e64 test: use ExtendedPrivateKey in wallet_importdescriptors.py
0cdd817a82a add release note
517d37ce3eb test: tests wallet migration with load_wallet disabled
b98dd63da7b rpc: Add load_wallet argument to migratewallet RPC
4acd063ba6f wallet: make loading the wallet after migrating optional
1a3cfdf1b7a fuzz: connman: cover AddLocalServices/RemoveLocalServices
c507fb30634 fuzz: connman: add outbound-bytes invariants
4a6fce43ead fuzz: connman: add AddNode/RemoveAddedNode invariants
9e6546c517c test: raise reindex mining RPC timeout
d2a03d50acb test: add extendedkey.py unit tests by using BIP32 test vectors
afdb3780821 test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
2ee4fafa3f4 test: add fuzz test for private broadcast
08b7c61fc70 private broadcast: enforce sending to unique node ids
4dbaa7cc65b test: generalise byte_to_base58 utility function to allow more version types
df9eb72b129 test: ensure group data cluster pointers are live
a5859edef45 fuzz: connman: set m_local_services/m_use_addrman_outgoing/m_max_automatic_connections
4b84c9125ad fuzz: connman: add network activity invariants
97d08d62baf refactor: store wallet names to MigrationResult

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 2df591d0b8497b5b1fb48b762990b829acd5f843
alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Jul 9, 2026
…f591d0b84

2df591d0b84 kernel: Add script tracer
f26c15bdd28 Merge bitcoin/bitcoin#35397: ci: add OpenBSD Clang cross job
dc282ff31d1 Merge bitcoin/bitcoin#35597: logging: More fully remove libevent log category
ec98037f7ae Merge bitcoin/bitcoin#35615: fuzz: restore CreateSock in PCP targets
43d89bb6e10 Merge bitcoin/bitcoin#35610: bitcoin-util: Add netmagic command
e35c8054894 Merge bitcoin/bitcoin#35129: test: add fuzz test for private broadcast
a318f43254c bitcoin-util: Add netmagic command
3c76bd43568 Merge bitcoin/bitcoin#35603: build: QRencode cleanups
57b3bf84960 Merge bitcoin/bitcoin#35609: ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
d64ea158240 ci: add openBSD cross CI job
5404b620742 depends: add openbsd_LDFLAGS
2a9e35d293b Merge bitcoin/bitcoin#35588: scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
a0e5e30010a fuzz: restore CreateSock in PCP targets
41ceea400e8 scripted-diff: Rename `StatusLevel::{INFO,WARN,ERR}`
f395acdeeea scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
7a74f652935 Merge bitcoin/bitcoin#35536: fuzz: share a single mocked steady clock across FuzzedSock instances
e1290ce7f74 Merge bitcoin/bitcoin#35543: test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
7ac25c91771 util, refactor: Rename local `ERR` in `Sock::Accept`
bbbbab86a81 ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
ea9afb61a1c Merge bitcoin/bitcoin#35602: doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
672eedc46b0 Merge bitcoin/bitcoin#35220: fuzz: connman: strengthen assertions and extend coverage
0e5c718d8af Merge bitcoin/bitcoin#35506: test: ensure group data cluster pointers are live
93012d7ff91 Merge bitcoin/bitcoin#35601: wallet: remove experimental warning from send and sendall
829255c8bed cmake: Remove `SelectLibraryConfigurations` from `FindQRencode` module
5c55606da9b depends: Remove unused `lib/pkgconfig` in `qrencode` package
402ba10b20b cmake: Drop optional `PkgConfig` use in `FindQRencode` module
8ebfff0f88b doc: add send RPC release note
fb8a1038867 doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
5884f5a4fa9 wallet: remove experimental warning from send RPCs
7b84e5106c3 Merge bitcoin/bitcoin#35595: ci: remove some packages from Chimera job
58560c281d0 ci: remove some packages from Chimera job
295ce6f45c8 Merge bitcoin/bitcoin#35576: test: raise `feature_reindex` RPC timeout
633044f1436 Merge bitcoin/bitcoin#35266: rpc, wallet: add an option to not load the wallet after migrating
d6269e2a903 Merge bitcoin/bitcoin#35594: fuzz: cover async chainstate compaction
3765b428d19 logging: More fully remove libevent log category
703a671fbc2 fuzz: compact coins view db during fuzzing
0868c85fd57 refactor: rename async coin compaction
6fa4132298a fuzz: share a single mocked steady clock across FuzzedSock instances
8791c4764ca test: use ExtendedPrivateKey in wallet_taproot.py
89ceafafb9f test: use ExtendedPrivateKey in wallet_listdescriptors.py
bbfffcab588 test: use ExtendedPrivateKey in wallet_send.py
2ab6e590f73 test: use ExtendedPrivateKey in wallet_keypool.py
9e20118720d test: use ExtendedPrivateKey in wallet_fundrawtransaction.py
06af0cddbb9 test: use ExtendedPrivateKey in wallet_descriptor.py
4100fac20e8 test: use ExtendedPrivateKey in wallet_createwallet.py
ff3f6def9a5 test: use ExtendedPrivateKey in wallet_bumpfee.py
003f2a01f63 test: use ExtendedPrivateKey in feature_notifications.py
f988e6d6e64 test: use ExtendedPrivateKey in wallet_importdescriptors.py
0cdd817a82a add release note
517d37ce3eb test: tests wallet migration with load_wallet disabled
b98dd63da7b rpc: Add load_wallet argument to migratewallet RPC
4acd063ba6f wallet: make loading the wallet after migrating optional
1a3cfdf1b7a fuzz: connman: cover AddLocalServices/RemoveLocalServices
c507fb30634 fuzz: connman: add outbound-bytes invariants
4a6fce43ead fuzz: connman: add AddNode/RemoveAddedNode invariants
9e6546c517c test: raise reindex mining RPC timeout
d2a03d50acb test: add extendedkey.py unit tests by using BIP32 test vectors
afdb3780821 test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
2ee4fafa3f4 test: add fuzz test for private broadcast
08b7c61fc70 private broadcast: enforce sending to unique node ids
4dbaa7cc65b test: generalise byte_to_base58 utility function to allow more version types
df9eb72b129 test: ensure group data cluster pointers are live
a5859edef45 fuzz: connman: set m_local_services/m_use_addrman_outgoing/m_max_automatic_connections
4b84c9125ad fuzz: connman: add network activity invariants
97d08d62baf refactor: store wallet names to MigrationResult

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 2df591d0b8497b5b1fb48b762990b829acd5f843
oleonardolima added a commit to oleonardolima/rust-bitcoinkernel that referenced this pull request Jul 9, 2026
…05fc7ab

81405fc7ab Merge bitcoin/bitcoin#35689: test: Inline incorrect check in `util_tests`
cd2a4bc510 test: Redeclare variable as signed in `util_tests`
6f1c56f03a Merge bitcoin/bitcoin#35670: net: optimize compact block extra tx iteration
e94fda8a40 Merge bitcoin/bitcoin#35685: doc: Archive 30.3 release notes
5223cf1795 Merge bitcoin/bitcoin#35616: refactor: Use u64 over size_t for all cache sizes to fix a 32-bit overflow
c0e91efdb3 Merge bitcoin/bitcoin#35295: validation: fetch block input prevouts in parallel during ConnectBlock
f0da26cfc8 Merge bitcoin/bitcoin#34997: p2p: Don't participate in addr relay with feelers
443179a9eb doc: Archive 30.3 release notes
fabafd91f1 refactor: Use u64 over size_t for all cache sizes to fix a 32-bit overflow
32941e1314 Merge bitcoin/bitcoin#35649: depends: move FreeBSD SDK handling to CI
f379d716b1 Merge bitcoin/bitcoin#35669: doc: archive release notes for v31.1
881bb7b355 Merge bitcoin/bitcoin#35673: refactor: Move LoadGenesisBlock to ChainstateManager
3f3e644beb Merge bitcoin/bitcoin#35678: private broadcast: define and use new RPC_LIMIT_EXCEEDED error code ( + other follow-ups)
e3b026bf56 Merge bitcoin/bitcoin#34020: mining: add getTransactions(ByWitnessID) IPC methods
62f9089343 Merge bitcoin/bitcoin#35386: doc: add an AI contribution policy
fa615bd163 refactor: Move LoadGenesisBlock to ChainstateManager
8ac222484c private broadcast: remove no-op [[nodiscard]]
191bdcba26 test: align test better with described scenario
7ad311be18 test: use BOOST_CHECK_EQUAL for PrivateBroadcast::AddResult
82a02a2a22 rpc: define and use new  RPC_LIMIT_EXCEEDED error code
a64df338e6 Merge bitcoin/bitcoin#35651: doc: Improve offline-signing-tutorial after 32489
4498fa5d5b Merge bitcoin/bitcoin#35406: private broadcast: limit outstanding txs to count of 10,000
ec5edcd72b Merge bitcoin/bitcoin#35661: Update libmultiprocess subtree to add `ThreadMap.makePool` method
ea67fea062 Merge bitcoin/bitcoin#35464: kernel: Add function for creating chainparams with a signet challenge
a7b5f23bb8 Merge bitcoin/bitcoin#35667: refactor: Use `NetworkErrorString` for macOS code in `netif.cpp`
69fc991791 Merge bitcoin/bitcoin#32606: p2p: Drop unsolicited CMPCTBLOCK from non-HB peer and when blocksonly
1a3cbf1bd2 net: optimize compact block extra tx iteration
bc33509ae2 Merge bitcoin/bitcoin#35650: doc: Add release notes for 32489 (exportwatchonlywallet RPC)
2b6e767d96 doc: archive release notes for v31.1
b0735336ee p2p: Don't participate in addr relay with feeler connections
302733fd96 Merge bitcoin/bitcoin#35652: init: fix reindex deadlock by waking cv after interrupt
c1313b199f init: wake genesis wait after ImportBlocks() returns
eccb04a321 refactor: Use `NetworkErrorString` for macOS code in `netif.cpp`
f79ecfd9c7 Merge bitcoin/bitcoin#35658: refactor: Drop unneeded `<sys/types.h>` include before `<ifaddrs.h>`
22ac4ad949 ci: ensure we use correct lld version in OpenBSD job
495f43f7b3 ci: FreeBSD 15.1
244739db9d depends: move FreeBSD SDK handling to CI
bab0120053 Merge bitcoin/bitcoin#35621: validation: Ignore eventual error message from flushing in AcceptBlock
02afa66169 Merge commit '6b0a907302364649dcaffeb0340b985f14141b4e' into pr/subtree-11
6b0a907302 Squashed 'src/ipc/libmultiprocess/' changes from 3edbe8f67c1..16bf05dea02
22c328d388 refactor: Drop unneeded `<sys/types.h>` include before `<ifaddrs.h>`
2063f02bd5 Merge bitcoin/bitcoin#35510: test: SOCKS5 proxy: expect that connection may be reset during SOCKS5 handshake or data forwarding
1360001f43 Merge bitcoin/bitcoin#34959: wallet: Enforce BDB btree levels and overflow item sizes
10ffef4b3b Merge bitcoin/bitcoin#35604: log: expose `-logratelimit` in normal help
b393985aa0 Merge bitcoin/bitcoin#35634: txospenderindex: use zero-byte entry values
1835f2fcbf Merge bitcoin/bitcoin#35653: fuzz: Remove `ConsumeUniValue`
9f3e427228 fuzz: Remove ConsumeUniValue
68cb7840d2 doc: improve offline-signing-tutorial after 32489
32ddfc92d9 Merge bitcoin/bitcoin#35599: doc: Add release notes for #33671 (getbalances nonmempool field)
f56804bcf5 Merge bitcoin/bitcoin#35640: ci: use a 8x instance over 16x for riscv job
239d6c5260 Merge bitcoin/bitcoin#35614: HTTPServer: Prevent race condition between worker thread and I/O thread
cddbad325d doc: Add release notes for 32489 (exportwatchonlywallet RPC)
0a1bbec688 Merge bitcoin/bitcoin#32489: wallet: Add `exportwatchonlywallet` RPC to export a watchonly version of a wallet
4a007126fb Merge bitcoin/bitcoin#35147: depends: Boost 1.91.0-1
31abaa264c doc: add an AI contribution policy
a15bdc0598 doc: update offline-signing-tutorial to use exportwatchonlywallet rpc
a388076401 test: Test for exportwatchonlywallet
d053e3e5c8 wallet, rpc: Add exportwatchonlywallet RPC
444878efef wallet: Add CWallet::ExportWatchOnly
f9273f01db wallet: Move listdescriptors retrieving from RPC to CWallet
a1c83789a7 wallet: Write new descriptor's cache in AddWalletDescriptor
1e996640e6 wallet: Use Descriptor::CanSelfExpand() in CanGetAddresses()
d2ee9227da descriptor: Add CanSelfExpand()
2990bd7735 Merge bitcoin/bitcoin#35118: fuzz: add ipc round-trip fuzz target
fb1d152c24 depends: Boost 1.91.0-1
ba48852f9e Merge bitcoin/bitcoin#35438: test: introduce NodeSigner, run feature_taproot.py without wallet compiled
47bbed052e ci: use true|false over "true|false"
9a25bc3989 ci: use a 8x instance over 16x
9871dc7ab4 Merge bitcoin/bitcoin#31425: CI: Add Riscv bare metal job
113402286e doc: add txospenderindex release note
ce06878288 index: shrink txospenderindex value markers
a99148d576 test kernel: Don't log on warnings change
5b4fd284f4 kernel: Generate a signet with a challenge
037ad77071 fuzz: add IPC round-trip target
a8823c0996 Merge bitcoin/bitcoin#35607: nanobench: fix performance counter buffer initialization
f26c15bdd2 Merge bitcoin/bitcoin#35397: ci: add OpenBSD Clang cross job
91586f701e test: introduce NodeSigner, run feature_taproot.py without wallet compiled
771200ca43 test: return full keypair from `getnewdestination` helper
4e29de719e private broadcast: add release note for limited cap
cbf8c107c1 Release cs_main between individual private tx re-attempts
5aea3d0373 private broadcast: limit outstanding txs to count of 10,000
dc282ff31d Merge bitcoin/bitcoin#35597: logging: More fully remove libevent log category
ec98037f7a Merge bitcoin/bitcoin#35615: fuzz: restore CreateSock in PCP targets
43d89bb6e1 Merge bitcoin/bitcoin#35610: bitcoin-util: Add netmagic command
e35c805489 Merge bitcoin/bitcoin#35129: test: add fuzz test for private broadcast
dc1c17c085 doc: add release notes
0e10937184 fuzz: add coins_view_stacked fuzz harness to test concurrent leveldb reads
ce610a6ff4 fuzz: update harnesses to cover CoinsViewOverlay::StartFetching
760fb22dc3 test: add unit tests for CoinsViewOverlay::StartFetching
d69a3b20de doc: update CoinsViewOverlay docstring to describe parallel fetching
ab2a379237 coins: fetch inputs in parallel
fdf283036a coins: add ready flag to InputToFetch
ede11b8314 validation: collect block inputs in CoinsViewOverlay before ConnectBlock
f82043af50 coins: introduce thread pool in CoinsViewOverlay
5bf1c32008 validation: add -prevoutfetchthreads configuration option
a318f43254 bitcoin-util: Add netmagic command
256482ab56 validation: In AcceptBlock, ignore flush result
3c76bd4356 Merge bitcoin/bitcoin#35603: build: QRencode cleanups
f595daf1dd test: ensure HTTPServer race condition is fixed
b98b10c072 test: introduce a worker thread in http socket error test
922b08d375 test: socket error handling in HTTPServer using ErrorSock mock socket
73da2a8a52 http: prevent race condition between worker thread and I/O thread
57b3bf8496 Merge bitcoin/bitcoin#35609: ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
d64ea15824 ci: add openBSD cross CI job
5404b62074 depends: add openbsd_LDFLAGS
2a9e35d293 Merge bitcoin/bitcoin#35588: scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
a0e5e30010 fuzz: restore CreateSock in PCP targets
41ceea400e scripted-diff: Rename `StatusLevel::{INFO,WARN,ERR}`
f395acdeee scripted-diff: Rename `Sock::{RECV,SEND,ERR}`
7a74f65293 Merge bitcoin/bitcoin#35536: fuzz: share a single mocked steady clock across FuzzedSock instances
e1290ce7f7 Merge bitcoin/bitcoin#35543: test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
7ac25c9177 util, refactor: Rename local `ERR` in `Sock::Accept`
bbbbab86a8 ci: Bump tsan config to ubuntu:26.04 with -U_FORTIFY_SOURCE
095596ddf7 log: expose -logratelimit option
ea9afb61a1 Merge bitcoin/bitcoin#35602: doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
672eedc46b Merge bitcoin/bitcoin#35220: fuzz: connman: strengthen assertions and extend coverage
0e5c718d8a Merge bitcoin/bitcoin#35506: test: ensure group data cluster pointers are live
b6b1d0653a nanobench: fix perf counter buffer init
93012d7ff9 Merge bitcoin/bitcoin#35601: wallet: remove experimental warning from send and sendall
829255c8be cmake: Remove `SelectLibraryConfigurations` from `FindQRencode` module
5c55606da9 depends: Remove unused `lib/pkgconfig` in `qrencode` package
402ba10b20 cmake: Drop optional `PkgConfig` use in `FindQRencode` module
8ebfff0f88 doc: add send RPC release note
fb8a103886 doc: Clarify build docs about `pkgconf` / `pkg-config` requirements
5884f5a4fa wallet: remove experimental warning from send RPCs
7b84e5106c Merge bitcoin/bitcoin#35595: ci: remove some packages from Chimera job
58560c281d ci: remove some packages from Chimera job
295ce6f45c Merge bitcoin/bitcoin#35576: test: raise `feature_reindex` RPC timeout
b36730a3ef  Add CI job for riscv bare metal
bfdbf513f6 Add CI job for producing a static bare metal binary
a9a1d92a1d build: Add option for building for bare metal envs
9b2ef81757 doc: add release notes for #33671 (getbalances nonmempool field)
633044f143 Merge bitcoin/bitcoin#35266: rpc, wallet: add an option to not load the wallet after migrating
d6269e2a90 Merge bitcoin/bitcoin#35594: fuzz: cover async chainstate compaction
3765b428d1 logging: More fully remove libevent log category
703a671fbc fuzz: compact coins view db during fuzzing
0868c85fd5 refactor: rename async coin compaction
6fa4132298 fuzz: share a single mocked steady clock across FuzzedSock instances
8791c4764c test: use ExtendedPrivateKey in wallet_taproot.py
89ceafafb9 test: use ExtendedPrivateKey in wallet_listdescriptors.py
bbfffcab58 test: use ExtendedPrivateKey in wallet_send.py
2ab6e590f7 test: use ExtendedPrivateKey in wallet_keypool.py
9e20118720 test: use ExtendedPrivateKey in wallet_fundrawtransaction.py
06af0cddbb test: use ExtendedPrivateKey in wallet_descriptor.py
4100fac20e test: use ExtendedPrivateKey in wallet_createwallet.py
ff3f6def9a test: use ExtendedPrivateKey in wallet_bumpfee.py
003f2a01f6 test: use ExtendedPrivateKey in feature_notifications.py
f988e6d6e6 test: use ExtendedPrivateKey in wallet_importdescriptors.py
0cdd817a82 add release note
517d37ce3e test: tests wallet migration with load_wallet disabled
b98dd63da7 rpc: Add load_wallet argument to migratewallet RPC
4acd063ba6 wallet: make loading the wallet after migrating optional
1a3cfdf1b7 fuzz: connman: cover AddLocalServices/RemoveLocalServices
c507fb3063 fuzz: connman: add outbound-bytes invariants
4a6fce43ea fuzz: connman: add AddNode/RemoveAddedNode invariants
9e6546c517 test: raise reindex mining RPC timeout
d2a03d50ac test: add extendedkey.py unit tests by using BIP32 test vectors
afdb378082 test: introduce ExtendedPrivateKey and ExtendedPublicKey classes
55e3a57f22 qa: Avoid UTXO reuse between test functions
9c5dd2926a p2p: Ignore CMPCTBLOCK from peer that hasn't sent SENDCMPCT
bf9884f4e5 p2p: make blocksonly nodes ignore CMPCTBLOCK messages
92cea63c71 test: (Un)solicited invalid cb -> get disconnected.
e845e26344 test: p2p: Nodes ignore unsolicited CMPCTBLOCK's
8313591715 p2p: Drop unsolicited CMPCTBLOCK from non-HB peer
44f377a71f refactor: test: Static assert_highbandwidth_states
25457a3272 test: Tighten getblocktxn checks in parallel cb reconstruction test.
2ee4fafa3f test: add fuzz test for private broadcast
08b7c61fc7 private broadcast: enforce sending to unique node ids
9a8ef9b0a3 test: SOCKS5 proxy: expect that connection may be reset during handshake
eb3208364a test: SOCKS5 proxy: expect that connection may be reset when forwarding
4dbaa7cc65 test: generalise byte_to_base58 utility function to allow more version types
df9eb72b12 test: ensure group data cluster pointers are live
a5859edef4 fuzz: connman: set m_local_services/m_use_addrman_outgoing/m_max_automatic_connections
4b84c9125a fuzz: connman: add network activity invariants
9784818442 mining: add getTransactionsByWitnessID() IPC method
d282ae6883 mining: add getTransactionsByTxID() IPC method
0d5e4d4712 test: restart node after IPC option override test
f16b3613cd ipc: Serialize null CTransactionRef as empty Data
0f466e1094 mempool: add lookup by witness hash
51dd90fb50 refactor: Merge announce_cmpct_block() defs into one
97d08d62ba refactor: store wallet names to MigrationResult
8a739a5510 build: allow ipc fuzz builds
b2de59d486 wallet, bdbro: Validate btree page levels
dc3a2b9c3b wallet, bdbro: Enforce overflow data lengths

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 81405fc7abbd1889f3978b8924e7acbe12b3403b
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Jul 10, 2026
…category

db2c2e0 logging: More fully remove libevent log category (Ryan Ofsky)

Pull request description:

  Libevent log category was partially removed in e4520aa, and this commit extends that with the following changes:

  - Stops showing libevent in the list of supported log categories in `bitcoind -help` and `bitcoin-cli help logging` output.
  - Stops returning `"libevent": false` in `logging` RPC output.

  It's not good to treat libevent as a supported log category when it can't be enabled and trying to enable it results in warnings.

  There's also no need to define an unused LIBEVENT constant value and keep more complicated logic for dealing with deprecated log categories, so this change also simplifies code internally.

ACKs for top commit:
  l0rinc:
    code review ACK db2c2e0
  pinheadmz:
    ACK db2c2e0
  sedited:
    ACK db2c2e0

Tree-SHA512: 09e9514f905bb0a79d870689af491886baaa31fa19f2ad6aef4283fa20c2fa6ce8d384178139227aeeabffabff6e83d254114daaeefbbfe2c6172b9da8871298
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 19, 2026
…category

3765b428d1950a4ffbe85f9fb66ff1a3a73d0167 logging: More fully remove libevent log category (Ryan Ofsky)

Pull request description:

  Libevent log category was partially removed in 39e9099da59, and this commit extends that with the following changes:

  - Stops showing libevent in the list of supported log categories in `bitcoind -help` and `bitcoin-cli help logging` output.
  - Stops returning `"libevent": false` in `logging` RPC output.

  It's not good to treat libevent as a supported log category when it can't be enabled and trying to enable it results in warnings.

  There's also no need to define an unused LIBEVENT constant value and keep more complicated logic for dealing with deprecated log categories, so this change also simplifies code internally.

ACKs for top commit:
  l0rinc:
    code review ACK 3765b428d1950a4ffbe85f9fb66ff1a3a73d0167
  pinheadmz:
    ACK 3765b428d1950a4ffbe85f9fb66ff1a3a73d0167
  sedited:
    ACK 3765b428d1950a4ffbe85f9fb66ff1a3a73d0167

Tree-SHA512: 09e9514f905bb0a79d870689af491886baaa31fa19f2ad6aef4283fa20c2fa6ce8d384178139227aeeabffabff6e83d254114daaeefbbfe2c6172b9da8871298
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.

7 participants