Vasil Dimov

Results 51 issues of Vasil Dimov

Use Clang's native code coverage compilation, gathering and result reporting if the compiler is Clang, as described in https://clang.llvm.org/docs/SourceBasedCodeCoverage.html. Also use an option for enabling coverage instead of a build...

Put the generic parts from `StaticContentsSock` into a separate class `ZeroSock` so that they can be reused in other mocked `Sock` implementations. Add a new `DynSock` whose `Recv()` and `Send()`...

Tests

Currently `CConnman` is a mixture of: * low level socket handling, e.g. send, recv, poll, bind, listen, connect, and * higher level logic that is specific to the Bitcoin P2P...

### Please describe the feature you'd like to see added. Split `CConnman` in two pieces: * protocol agnostic low level socket and connection handler and * bitcoin-p2p protocol specific handler....

Feature

### Please describe the feature you'd like to see added. Currently, we process messages to/from all peers in a loop where every peer is processed once (has the same weight)....

Feature

`program_invocation_name` is defined by the system headers only on Linux, or at least it is not available on FreeBSD. Thus, maintain own global variable that contains the program name.

### Please describe the feature you'd like to see added. Connections to port 8333 can be recognized right away as Bitcoin P2P connections. While it is still possible to recognize...

Feature
Brainstorming

`rpcthreads` was introduced with a default of 4 in 2013 in 21eb5adadbe3110a8708f2570185566e1f137a49 `rpcworkqueue` was introduced with a default of 16 in 2015 in 40b556d3742a1f65d67e2d4c760d0b13fe8be5b7 Resolves: https://github.com/bitcoin/bitcoin/issues/29386 --- Just bump the...

RPC/REST/ZMQ

Prevent generating outbound traffic on a non-loopback interface during tests. * Fix `node_init_tests/init_test` * Change CI to catch new regressions, including DNS traffic. DNS traffic is detected because some VMs...

Tests

When compiling with libc++ in debug mode, then enable full libc++ hardening. Inspired by https://github.com/bitcoin/bitcoin/issues/31272#issuecomment-2518700939 --- Note that `libstdc++`'s `_GLIBCXX_ASSERTIONS` (aka light debug mode) is [enabled by default](https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_macros.html) when compiling...

Build system
Needs rebase