clboss/Boss/Mod/PeerCompetitorFeeMonitor
2023-08-18 20:29:21 -07:00
..
Main.cpp Boss/Mod/PeerCompetitorFeeMonitor/Surveyor.cpp: Use the new destination argument to listchannels so we do not hammer the RPC too much. 2022-05-06 09:58:40 +00:00
Main.hpp Boss/Mod/PeerCompetitorFeeMonitor/: Module to determine channel fees going into our peers. 2020-09-30 13:30:58 +08:00
README.md Boss/Mod/PeerCompetitorFeeMonitor/: Module to determine channel fees going into our peers. 2020-09-30 13:30:58 +08:00
Surveyor.cpp Handle JSON-RPC msat amounts in either the old or new conventions 2023-08-18 20:29:21 -07:00
Surveyor.hpp Boss/Mod/PeerCompetitorFeeMonitor/Surveyor.cpp: Use the new destination argument to listchannels so we do not hammer the RPC too much. 2022-05-06 09:58:40 +00:00

This module checks the offchain channel fees of peers-of-peers. It checks all the incoming directions of every channel of every peer for their base and proportional channel feerates, and computes the weighted median (with channel size as the weight).

The logic here is that this is a reasonable baseline for our own feerate with that peer.

This module only performs this measuring and broadcasts the extracted information. Other modules should handle the actual changing of our own feerate.

  • Surveyor - Temporary object that measures the median competitor feerate for a particular node.
  • Main - Handles events and creates Surveyor as needed.