Function ockam_node::debugger::log_inherit_context

source ·
pub fn log_inherit_context(_tag: &str, _parent: &Context, _child: &Context)
Expand description

Log Context creation

This debug function builds an inheritance tree of the contexts within a node.

Useful for:

  1. Figuring out the access control inheritance structure for a node.
  2. Getting a rough idea of the “worker context” for a group of contexts created by a top-level worker or processor interface
  3. Tracking down “orphan” contexts that could be vulnerable to hostile messages