Skip to content

Commit

Permalink
docs: Added channel fee manager diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic committed Aug 22, 2024
1 parent 35c3cbe commit 5aa184e
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/channel_fee_manager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# CLBOSS Fee Setting

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart TB
style ChannelFeeManager fill:#fb9,stroke:#333,stroke-width:4px
Manifester-->|Manifestation|ChannelFeeManager
Initiator-->|Option|ChannelFeeManager
PeerCompetitorFeeMonitor_Main-->|PeerMedianChannelFee|ChannelFeeManager
StatusCommand-->|SolicitStatus|ChannelFeeManager
ChannelFeeManager-->|ManifestOption|Initiator
ChannelFeeManager-->|ManifestOption|Manifester
ChannelFeeManager-->|ProvideStatus|StatusCommand
ChannelFeeManager-->|SetChannelFee|ChannelFeeSetter
style FeeModderByBalance fill:#9fb,stroke:#333,stroke-width:4px
Initiator-->|Init|FeeModderByBalance
ChannelCreateDestroyMonitor-->|ChannelDestruction|FeeModderByBalance
ChannelFeeManager-->|SolicitChannelFeeModifier|FeeModderByBalance
FeeModderByBalance-->|listchannels|CLN
FeeModderByBalance-->|ProvideChannelFeeModifier|ChannelFeeManager
style FeeModderByPriceTheory fill:#9fb,stroke:#333,stroke-width:4px
Initiator-->|DbResource|FeeModderByPriceTheory
ListpeersAnalyzer-->|ListpeersAnalyzedResult|FeeModderByPriceTheory
ForwardFeeMonitor-->|ForwardFee|FeeModderByPriceTheory
StatusCommand-->|SolicitStatus|FeeModderByPriceTheory
ChannelFeeManager-->|SolicitChannelFeeModifier|FeeModderByPriceTheory
FeeModderByPriceTheory-->|ProvideChannelFeeModifier|ChannelFeeManager
FeeModderByPriceTheory-->|ProvideStatus|StatusCommand
style FeeModderBySize fill:#9fb,stroke:#333,stroke-width:4px
Initiator-->|Init|FeeModderBySize
Timers-->|TimerRandomDaily|FeeModderBySize
ChannelCreateDestroyMonitor-->|ChannelCreation|FeeModderBySize
ChannelCreateDestroyMonitor-->|ChannelDestruction|FeeModderBySize
Boss_Main-->|Shutdown|FeeModderBySize
ChannelFeeManager-->|SolicitChannelFeeModifier|FeeModderBySize
FeeModderBySize-->|listchannels|CLN
FeeModderBySize-->|ProvideChannelFeeModifier|ChannelFeeManager
style ChannelFeeSetter fill:#9bf,stroke:#333,stroke-width:4px
Initiator-->|Init|ChannelFeeSetter
AvailableRpcCommandsAnnouncer-->|AvailableRpcCommands|ChannelFeeSetter
UnmanagedManager-->|SolicitUnmanagement|ChannelFeeSetter
ChannelFeeSetter-->|setchannel|CLN
style PeerCompetitorFeeMonitor_Main fill:#9bf,stroke:#333,stroke-width:4px
Initiator-->|Init|PeerCompetitorFeeMonitor_Main
ListpeersAnalyzer-->|ListpeersAnalyzedResult|PeerCompetitorFeeMonitor_Main
Timers-->|TimerRandomHourly|PeerCompetitorFeeMonitor_Main
AvailableRpcCommandsAnnouncer-->|AvailableRpcCommands|PeerCompetitorFeeMonitor_Main
PeerCompetitorFeeMonitor_Main-->|"run()"|PeerCompetitorFeeMonitor_Surveyor
style PeerCompetitorFeeMonitor_Surveyor fill:#9bf,stroke:#333,stroke-width:4px
PeerCompetitorFeeMonitor_Surveyor-->|listchannels|CLN
PeerCompetitorFeeMonitor_Surveyor-->|result|PeerCompetitorFeeMonitor_Main
```

0 comments on commit 5aa184e

Please sign in to comment.