Vasil Dimov

Results 51 issues of Vasil Dimov

_Parts of this PR are isolated in independent smaller PRs to ease review:_ * [x] _https://github.com/bitcoin/bitcoin/pull/29420_ * [x] _https://github.com/bitcoin/bitcoin/pull/33454_ * [ ] _https://github.com/bitcoin/bitcoin/pull/33565_ * [x] _https://github.com/bitcoin/bitcoin/pull/33567_ * [ ] _https://github.com/bitcoin/bitcoin/pull/33792_...

P2P

The code in `logging.cpp` needs to: * Get the category name given the flag (e.g. `BCLog::PRUNE` -> `"prune"`) * Get the flag given the category name (e.g. `"prune"` -> `BCLog::PRUNE`)...

Utils/log/libs

If requested, make the SOCKS5 Python proxy redirect connections to a set of given destinations. Actually act as a real proxy, connecting the client to a destination, except that the...

Tests

The previously suggested `qt5` package is a meta package that does not install anything itself but depends on a bunch of others and is used as a convenience to install...

Docs

* [x] Get https://include-what-you-use.org/ happy with this project `clang-tidy` supersedes this * [x] Integrate it either into `make test` or its own `make iwyu` `clang-tidy` is executed when compiling *...

It is expected to have some Bitcoin nodes unreachable some of the time. A failure to connect to an IPv4 or IPv6 node is already properly logged under category=net/severity=debug. Do...

P2P

Store the thread name in a `thread_local` variable of type `char[]` instead of `std::string`. This avoids calling the destructor when the thread exits. This is a workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278701 For...

Utils/log/libs
Needs CMake port

* Move special cases from `LOG_CATEGORIES_BY_STR` to `GetLogCategory()` (suggested [here](https://github.com/bitcoin/bitcoin/pull/29419#discussion_r1547990373)). * Remove `"none"` and `"0"` from RPC `logging` help because that help text was wrong. `"none"` resulted in an error...

Accessing elements past the size of a `std::vector` is undefined behavior [1] and is actually checked in recent versions of LLVM libcxx, which is used in FreeBSD [2]. [1] https://en.cppreference.com/w/cpp/container/vector/operator_at:...

Problem: If `FuzzedSock::Recv(N, MSG_PEEK)` is called then `N` bytes would be retrieved from the fuzz provider, saved in `m_peek_data` and returned to the caller (ok). If after this `FuzzedSock::Recv(M, 0)`...

Tests
CI failed