clboss/Boss/Msg/ChannelDestruction.hpp

23 lines
543 B
C++

#ifndef BOSS_MSG_CHANNELDESTRUCTION_HPP
#define BOSS_MSG_CHANNELDESTRUCTION_HPP
#include"Ln/NodeId.hpp"
namespace Boss { namespace Msg {
/** struct Boss::Msg::ChannelDestruction
*
* @brief Tells everyone that we lost an existing channel
* with a peer.
* Basically, if we leave `CHANNELD_NORMAL`, or if we leave
* `CHANNELD_AWAITING_LOCKIN` but did not enter
* `CHANNELD_NORMAL`.
* See also `Boss::Msg::ChannelCreation`.
*/
struct ChannelDestruction {
Ln::NodeId peer;
};
}}
#endif /* !defined(BOSS_MSG_CHANNELDESTRUCTION_HPP) */