clboss/Boss/Msg/MonitorFeeByBalance.hpp
Ken Sedgwick ed16c670bc
feemon: add fee monitor to save per-channel stats
- add clboss-feemon-history command
- add unit tests
2026-02-27 14:28:53 -08:00

23 lines
471 B
C++

#ifndef BOSS_MSG_MONITORFEEBYBALANCE_HPP
#define BOSS_MSG_MONITORFEEBYBALANCE_HPP
#include"Ln/NodeId.hpp"
#include<cstdint>
namespace Boss { namespace Msg {
/** struct Boss::Msg::MonitorFeeByBalance
*
* @brief informs the fee monitor of the balance-based
* fee multiplier for a peer.
*/
struct MonitorFeeByBalance {
Ln::NodeId node;
double mult;
std::uint64_t our_msat;
std::uint64_t total_msat;
};
}}
#endif /* !defined(BOSS_MSG_MONITORFEEBYBALANCE_HPP) */