clboss/Boss/Mod/ChannelCreator
2020-09-17 11:11:21 +08:00
..
Dowser.cpp Boss/Mod/ChannelCreator/Dowser.cpp: Tweak parameters. 2020-09-17 10:06:41 +08:00
Dowser.hpp Boss/Mod/ChannelCreator/: Begin implementing channel creation. 2020-09-16 12:29:56 +08:00
Main.cpp Boss/Mod/ChannelCreator/: Fill in more. 2020-09-17 08:47:51 +08:00
Main.hpp Boss/Mod/ChannelCreator/: Fill in more. 2020-09-17 08:47:51 +08:00
Manager.cpp Boss/Mod/ChannelCreator/: Fill in more. 2020-09-17 08:47:51 +08:00
Manager.hpp Boss/Mod/ChannelCreator/: Fill in more. 2020-09-17 08:47:51 +08:00
Planner.cpp Boss/Mod/ChannelCreator/Planner.cpp: Change treatment of at_least_2 flag. 2020-09-17 11:11:21 +08:00
Planner.hpp Boss/Mod/ChannelCreator/Planner.cpp: Initial cut at planner. 2020-09-16 22:35:28 +08:00
README.md Boss/Mod/ChannelCreator/Planner.cpp: Initial cut at planner. 2020-09-16 22:35:28 +08:00

This module creates channels.

It reacts to Boss::Msg::RequestChannelCreation, then queries a Boss::Mod::ChannelCandidateInvestigator::Main for candidates, then figures out some kind of divison of available funds to those candidates.

  • Dowser - given a single candidate, attempts to figure out some recommended amount to put in a channel for this. This object is created at runtime for each recommended candidate.
  • Planner - given an amount, some proposal nodes, and how many channels we already have, creates a plan of how to build channels. This object is created at runtime when we have onchain funds we want to use.
  • Carpenter - actually constructs channels, and reports channel creation success and failure.
  • Manager - handles the above objects, and wrangles with most messages received.
  • Main - Holds the Carpenter and Manager.