clboss/Boss
Ken Sedgwick 066cf8cd5b
Some checks are pending
Code Base Sanity Check / tests (push) Waiting to run
Code Base Sanity Check / coverage (push) Waiting to run
Code Base Sanity Check / build-clang (push) Waiting to run
XRebalancer: honor the "balance" unmanage tag
The classic rebalancers consult RebalanceUnmanager, and FundsMover
rejects any RequestMoveFunds naming an unmanaged node, but the
XRebalancer executes through clboss-xmovefunds or the external
xrebalance plugin, bypassing both checks, so peers unmanaged for
"balance" were still filled and drained.

Fetch the unmanaged set at planning time and exclude those peers
from the fill and drain pools.  Sources and destinations are drawn
only from the pools, so the one filter covers matched and demand
cycles in both executor modes.  Channeled peers the set withholds
are named in one Debug line per cycle, so an operator can tell an
unmanaged exclusion from a peer that merely failed candidacy.

Adds a test that drives a demand cycle over the bus with the
best-paying drain peer unmanaged and checks the resulting request
names it on neither side and that the exclusion line names it.
2026-08-12 12:56:40 -07:00
..
Mod XRebalancer: honor the "balance" unmanage tag 2026-08-12 12:56:40 -07:00
ModG Add rebalancer mode selector (classic/off) as a dynamic option 2026-08-04 11:01:46 -07:00
Msg DemandTracker: trigger demand rebalance cycles from observed forwards 2026-08-05 10:59:08 -07:00
concurrent.cpp Ev/Io.hpp: Avoid copying objects, just move things around. 2020-09-14 09:12:46 +08:00
concurrent.hpp Boss/concurrent.cpp: Wrapper for Ev::concurrent that ignores Boss::Shutdown exceptions. 2020-09-07 07:39:36 +08:00
JsonInput.cpp Boss/Mod/CommandReceiver.cpp: Handle rpc_command at this level, to increase our responsiveness. 2020-11-10 10:19:53 +08:00
JsonInput.hpp Boss/JsonInput.cpp: Implement input loop. 2020-09-07 11:51:30 +08:00
log.cpp Util/Str.cpp: Implement Util::Str::fmt. 2021-10-06 19:26:55 +08:00
log.hpp Boss/log.hpp: Have GCC do printf checks. 2020-11-24 18:58:39 +08:00
Main.cpp Avoid program_invocation_name which is available only on Linux 2024-10-28 12:12:15 -05:00
Main.hpp Boss/open_rpc_socket.cpp: Function to open the RPC socket. 2020-09-07 21:50:38 +08:00
open_rpc_socket.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
open_rpc_socket.hpp Boss/open_rpc_socket.cpp: Function to open the RPC socket. 2020-09-07 21:50:38 +08:00
random_engine.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
random_engine.hpp Boss/random_engine.cpp: Common random engine. 2020-09-10 00:13:02 +08:00
RebalanceMode.hpp XRebalancer: xrebalance2 mode drives the external xrebalance plugin 2026-08-04 11:02:15 -07:00
Shutdown.hpp Boss/Shutdown.hpp: Trivial struct for signalling shutdown. 2020-09-07 07:06:30 +08:00
Signer.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
Signer.hpp Boss/Signer.cpp: Signer for boltz-swapping transactions. 2020-09-23 12:45:50 +08:00