nx_mse_seed_gate.nx
buildroot/runtime/nx_mse_seed_gate.nx
about
nx_mse_seed_gate.nx -- proves the SEEDER's MSE path end-to-end: an ENCRYPTED (mse_connect) leecher pulls a
sha1-verified piece from nx_torrent_seed's ts_serve_peer (which demuxes the non-0x13 first byte -> MSE).
This is the R5 seeder-side live proof. license_tier: ORIGINAL depends: nx_torrent_seed (pulls mse_wire+peerwire+sha1)
dependencies 4 imports · 0 importers
imports: nx_torrent_seed.nxnx_connect.nxnx_sha1.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
| 9 | const MSG_PORT: i64 = 54011 |
| 10 | const G2_PLEN: i64 = 64 |
| 11 | const G2_TOTAL: i64 = 200 // 4 pieces (64,64,64,8) |
| 12 | const G2_BLK: i64 = 16 |
| 13 | const G2_PATH: *u8 = "/tmp/_nx_mse_seed_src.bin" as *u8 |
functions
| 15 | func g2_p(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 |
| 16 | func g2_n(v: i64) -> i64 { let t: *u8=sys_mmap(28); var m: i64=v; var k: i64=0; if m==0 {t[0]=48 as u8;k=1} while m>0 {t[k]=(48+(m%10)) as u8; m=m/10; k=k+1} let o: *u8=sys_mmap(28); var i: i64=0; while i<k {o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 17 | func g2_yn(b: i64) -> *u8 { if b==1 { return "1" as *u8 } return "0" as *u8 } called by 1: main |
| 19 | func main() -> i64 |