MCPcopy Create free account
hub / github.com/argumentcomputer/ix / empty_ctx_addr

Function empty_ctx_addr

crates/kernel/src/tc.rs:32–37  ·  view source on GitHub ↗

Content-addressed context identity for the empty context (no bindings).

()

Source from the content-addressed store, hash-verified

30
31/// Content-addressed context identity for the empty context (no bindings).
32pub fn empty_ctx_addr() -> CtxAddr {
33 use std::sync::LazyLock;
34 static ADDR: LazyLock<CtxAddr> =
35 LazyLock::new(|| blake3::hash(b"ix.kernel.ctx.empty"));
36 *ADDR
37}
38
39/// Maximum iterations in the WHNF delta loop (local per-call).
40pub const MAX_WHNF_FUEL: u32 = 10_000;

Callers 3

newMethod · 0.85
ctx_addr_for_lbrMethod · 0.85
resetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected