clboss/Boss/Mod/PeerCompetitorFeeMonitor
2020-11-18 16:46:20 +08:00
..
Main.cpp Boss/Mod/PeerCompetitorFeeMonitor/Main.cpp: Add missing initialization of flag. 2020-11-02 14:54:02 +08: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 Boss/Mod/: Use iterators instead of indexing for Jsmn::Object types. 2020-11-18 16:46:20 +08:00
Surveyor.hpp Boss/Mod/PeerCompetitorFeeMonitor/Surveyor.cpp: Print progress report. 2020-11-06 14:26:41 +08: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.