Commit graph

16 commits

Author SHA1 Message Date
Ken Sedgwick
df51d5486b testnet: reduce the min_nodes_to_process because testnet is shrinking
Changelog-Changed: testnet: The minimum number of nodes (with channels) before the ChannelFinderByPopularity starts is reduced from 300 to 200.
2024-06-02 17:24:33 -07:00
Ken Sedgwick
9c050d61f0 network: Make the min_nodes_to_process network specific
Changelog-Changed: Made the min_nodes_to_process network specific.
2023-11-01 18:14:49 -07:00
ZmnSCPxj jxPCSnmZ
0760385f3b Boss/Mod/ChannelFinderByPopularity.cpp: Make sure we run aggressively at least once.
This handles the case where the user has been running the node for a
while now, with some low-quality channels, and some funds onchain
that are currently sitting unused.
2022-04-21 12:30:29 +08:00
ZmnSCPxj jxPCSnmZ
a37c904278 Boss/Mod/ChannelFinderByPopularity.cpp: Become aggressive when funds are increased dramatically. 2022-04-21 12:30:29 +08:00
ZmnSCPxj jxPCSnmZ
625ba241f6 Boss/Mod/ChannelFinderByPopularity.cpp: Use iterators for JSON. 2020-11-11 13:05:34 +08:00
ZmnSCPxj jxPCSnmZ
f0f3316ca8 Boss/Mod/ChannelFinderByPopularity.cpp: Add progress reports. 2020-11-06 11:11:11 +08:00
ZmnSCPxj jxPCSnmZ
6d73afea25 Boss/Mod/ChannelFinderByPopularity.cpp: Add clboss-findbypopularity command to test-trigger this module. 2020-11-05 19:55:05 +08:00
ZmnSCPxj jxPCSnmZ
168034c04c Boss/Mod/ChannelFinderByPopularity.cpp: Propose just one node if we already have many channels. 2020-11-03 11:40:35 +08:00
ZmnSCPxj jxPCSnmZ
41bd7bc6af *: Silence clang warnings. 2020-11-02 19:02:35 +08:00
ZmnSCPxj jxPCSnmZ
e73add0a00 Boss/Mod/ChannelFinderByPopularity.cpp: Require more of the network before continuing. 2020-10-07 16:20:00 +08:00
ZmnSCPxj jxPCSnmZ
c26c2e0bd2 Boss/Mod/ChannelFinderByPopularity.cpp: Filter out 0-peer nodes, defer if not sufficient. 2020-09-14 10:12:03 +08:00
ZmnSCPxj jxPCSnmZ
28dfe9abba Boss/Mod/ChannelFinderByPopularity.cpp: Depend on the preinvestigator. 2020-09-14 05:30:57 +08:00
ZmnSCPxj jxPCSnmZ
e2e556d667 Boss/Mod/ChannelFinderByPopularity.cpp: Parallelize the initial investigation stage. 2020-09-11 09:32:15 +08:00
ZmnSCPxj jxPCSnmZ
c91b28c1f0 Boss/Mod/ChannelFinderByPopularity.cpp: Trigger if we are going to retry later, when a new connection comes. 2020-09-11 00:29:16 +08:00
ZmnSCPxj jxPCSnmZ
7bb9c6b6a9 Boss/Mod/ChannelFinderByPopularity.cpp: Keep track of the number of proposals. 2020-09-10 22:13:29 +08:00
ZmnSCPxj jxPCSnmZ
97d936f977 Boss/Mod/ChannelFinderByPopularity.cpp: Proposes nodes to channel with via popularity. 2020-09-10 22:09:37 +08:00