code wiki / _hdl_build / nx_trusted_flag_gate.nx

nx_trusted_flag_gate.nx

buildroot/runtime/_hdl_build/nx_trusted_flag_gate.nx

4479 B86 linesdepth 22pulls 155 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_trusted_flag_gate.nx -- network-free KATs for the TRUSTED scope's provenance mechanics: the trust:<cid> key builder, the flagger-membership check (comma-token boundaries), and the store round trip (a flagged doc is searchable in the trusted shard; re-flag by a 2nd client APPENDS, never clobbers; idempotent for a repeat flagger). The fetch/ingest spine is nx_web_ingest's, already proven live. /tmp shard. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_trusted_flag.nx nx_trusted_flag_gate.nx

imports: nx_trusted_flag.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gt_puts tf_mktrustkey gt_check gt_puts ↻ tf_has_flagger dss_prefix dss_mkkey ci_mkurlkey ss_begin ss_begin_cap sys_mmap ss_add ss_add2 ss_w32 ss_len

structs

none

consts

none

functions

7func gt_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: gt_checkmain
8func gt_num(v: i64) -> i64
17func gt_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
18func gt_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64
called by 1: main calls 1: gt_puts
25func main() -> i64