nx_pex_harvest_gate.nx
buildroot/runtime/nx_pex_harvest_gate.nx
about
nx_pex_harvest_gate.nx -- SOVEREIGN gate for the PEX HARVEST PLUMBING in the worker
(tg_pex_append + tg_pex_merge). nx_pex_gate already proves the BEP-11 protocol on a real socket;
THIS proves the worker's shared-file integration: forked children append harvested peers under
flock, the parent merges them into the peer set DEDUPED, concurrent appends keep the 6-byte
framing intact, and a torn tail record is ignored (never OOB). Imports the worker (main stripped)
so it exercises the REAL functions, not a copy (the nx_torrent_stream_gate pattern). license_tier: ORIGINAL
module: nishi-core.torrent.pex_harvest_gate
depends: nishi-core.torrent.get
dependencies 2 imports · 0 importers
imports: nx_torrent_get.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 13 | func hg_w(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 1: main |
| 14 | func hg_wn(v: i64) -> i64 called by 1: main |
| 20 | func main() -> i64 |