Commit graph

6 commits

Author SHA1 Message Date
clboss-contributor
4057154967 feat: add clang C++20 build job to CI
Add clang build configuration to catch C++20 compatibility issues early.

Changes:
- Add build-clang job to .github/workflows/build.yml
- Add missing #include<cstdint> for std::uint* types (clang strict mode)
- Add -lexecinfo for FreeBSD in configure.ac (backtrace_symbols)
- Fix pessimizing-move warning in test_earningsrebalancer.cpp
- Fix CHANGELOG.md formatting

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-04 11:24:31 -08:00
Ken Sedgwick
0bd255ce1b Convert ListpeerResult to use ConstructedListpeers
Construct a "compatibility struct" to convert `listpeerchannels`
output into legacy `listpeers` format.

Tests written using the legacy listpeers format can use the
`convert_legacy_listpeers` utility to construct a compatibility
struct.

The test_peerjudge_datagatherer malformed test needed to be malformed
differently to achieve the desired effect.
2024-06-02 16:19:56 -07:00
Ken Sedgwick
2c7ce2f5b9 remove references to the "private" field of listpeers channel info
Fixes issue ([#193])

Changelog-Fixed: Removed references to deprecated "private" field of channel info returned from API.
2024-04-16 16:37:27 -07:00
ZmnSCPxj jxPCSnmZ
83001c03a4 Ev/yield.cpp: Add a new multiyield version, for use in testing. 2022-05-12 12:29:45 +08:00
ZmnSCPxj jxPCSnmZ
11bb7a6c19 Boss/Mod/InitialRebalancer.cpp: Respect unmanagement. 2022-05-11 12:09:13 +00:00
ZmnSCPxj jxPCSnmZ
6f0c5d7172 tests/boss/test_initialrebalancer.cpp: Add test replicating a latent use-after-free bug.
This bug was introduced after 0.11A, when we throttled InitialRebalancer
and made it far less aggressive.

The code keeping track of ongoing rebalances was not properly maintaining
a live pointer to the object, thus leading to a use-after-free bug.
2021-04-08 18:00:04 +08:00