mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-10 23:58:17 +02:00
1401011f71test: Add test for exceeding max line length in torcontrol (Fabian Jahr)84c1f32071test: Add torcontrol coverage for PoW defense enablement (Fabian Jahr)7dff9ec298test: Add test for partial message handling in torcontrol (Fabian Jahr)569383356etest: Add simple functional test for torcontrol (Fabian Jahr)4117b92e67fuzz: Improve torcontrol fuzz test (Fabian Jahr)b1869e9a2dtorcontrol: Move tor controller into node context (Fabian Jahr)eae193e750torcontrol: Remove libevent usage (Fabian Jahr)8444efbd4arefactor: Get rid of unnecessary newlines in logs (Fabian Jahr)6bcb60354erefactor: Modernize member variable names in torcontrol (Fabian Jahr)a36591d194refactor: Use constexpr in torcontrol where possible (Fabian Jahr) Pull request description: This is part of the effort to remove the libevent dependency from our code base: https://github.com/bitcoin/bitcoin/issues/31194 The current approach tries to reuse existing code and follows roughly similar design decisions. It replaces the libevent-based async I/O with blocking I/O utilizing the existing `Sock` and `CThreadInterrupt`. The controller runs in a dedicated thread. There are some optional code modernizations thrown in made along the way (namings, constexpr etc.). These are not strictly necessary but make the end result with the new code more consistent. ACKs for top commit: achow101: ACK1401011f71janb84: re ACK1401011f71pinheadmz: ACK1401011f71Tree-SHA512: 167f1d98a634524568cb1d723e7bdb7234bade2c5686586caf2accea58c3308f83a32e0705edc570d6db691ae578a91e474ae4773f126ec2e1619d3adf7df622