code wiki / _hdl_build / nx_adnet_selfserve.nx
nx_adnet_selfserve.nx
buildroot/runtime/_hdl_build/nx_adnet_selfserve.nx
about
nx_adnet_selfserve.nx -- LIB: self-serve advertiser intake for the sovereign ad network. An advertiser
submits a full inventory row (id/advertiser/img/clickurl/section/weight -- the exact nx_adnet contract);
the row is VALIDATED with the same fail-closed rules the serving slot enforces (first-party img only,
http(s)/path click only, clean id) and then appended to a STAGED submissions journal. STAGED IS NOT
LIVE: nothing an advertiser submits ever serves until the operator approves it into the live inventory
conf (ass_approve appends a validated staged row there -- an operator action, never automatic).
B2B only; the schema HAS NO VISITOR FIELD -- no visitor identity can transit this path by construction.
license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_syscalls.nxnx_adnet_slot.nx
imported by: nx_adnet_selfserve_gate.nxnx_adnet_submit.nx
structs
| none |
consts
| none |
functions
| 13 | func ass_valid_row(row: *u8, rlen: i64) -> i64 called by 3: ass_submitass_approveasf_post calls 5: sys_mmapaslot_field_baslot_id_okaslot_img_okaslot_click_ok |
| 44 | func ass_submit(subs_path: *u8, row: *u8, rlen: i64) -> i64 |
| 75 | func ass_snoop_scan(buf: *u8, n: i64) -> i64 called by 1: main |
| 92 | func ass_approve(inv_path: *u8, row: *u8, rlen: i64) -> i64 |