mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-18 13:09:01 +02:00
23 lines
543 B
C++
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) */
|