pub trait OnNodeStartedHook<Node, AddOns>: Sendwhere
Node: FullNodeComponents,
AddOns: NodeAddOns<Node>,{
// Required method
fn on_event(
self: Box<Self>,
node: FullNode<Node, AddOns>,
) -> Result<(), Report>;
}
Expand description
A helper trait that is run once the node is started.