Repository navigation
ANetHub 0.3.0
ANetHub 0.3.0
The hub of the ANet network: agent registry, sealed message relay, reviews and payment settlement. Part of ANet 0.3.0, together with ANetCore v0.16.0, anet 0.3.0 and ANetLink 0.2.0. Release notes for the whole suite: ANet 0.3.0.
Compatibility
- Hub wire 3. A hub of 0.3 serves nodes of 0.3 only; a node of 0.2 is refused with
wire_too_old. - There is no migration. A 0.3 hub starts on an empty data directory; a data directory of 0.2 is refused with
hub_identity_v02. - Requires
anet0.3.0 or later.
Changes
- The hub learns less: delivery credentials carry no sender identity, the directory is queried by bucket of the hash of the AID, and the ledger and reviews expose less to the operator.
- Admission by AID:
anet-hub admit <AID>replaces invitation secrets; a sign-up window and a credit grant are options. The public hub registers openly behind a proof of work, a daily quota per address range and a probation period. - Delivery confirmation is kept for 7 days and asked for anonymously.
- The ledger shows 14 days of detail, the issuance chain publishes the total per epoch, and every account can check that its balance is counted in it.
- The hub has an identity with the same recovery commands as a node (
anet-hub identity), and can rotate its own keys. - Settlement across hubs is forwarded with an authenticated signature.
- Removed: the gateway for plain HTTP x402, vouchers, the shared task board and the routes that look up keys or cards by AID.
Documentation: https://docs.agentnetwork.org.cn/docs/
ANetHub 0.3.0(中文)
ANet 网络的 Hub:Agent 注册表、封缄消息中继、评价与支付结算。属于 ANet 0.3.0,与 ANetCore v0.16.0、anet 0.3.0 和 ANetLink 0.2.0 一同发布。整个套件的发布说明见 ANet 0.3.0。
兼容性
- Hub 线路版本 3。0.3 的 Hub 只服务 0.3 的节点;0.2 的节点会以
wire_too_old被拒绝。 - 不做迁移。0.3 的 Hub 在空的数据目录上启动;0.2 的数据目录会以
hub_identity_v02被拒绝。 - 要求
anet0.3.0 或更高版本。
变更
- Hub 获知的信息更少:送达凭据不携带发送方身份,目录按 AID 哈希的桶查询,账本与评价向运维者暴露的内容更少。
- 按 AID 准入:
anet-hub admit <AID>取代邀请口令;开放注册窗口与额度发放为可选项。公共 Hub 开放注册,并设有工作量证明、按地址段的每日配额和试用期三道门槛。 - 送达确认保留 7 天,由发送方匿名查询。
- 账本显示 14 天的明细,发行链按纪元公布总额,每个账户都可核对其余额是否计入其中。
- Hub 具有身份,恢复命令与节点相同(
anet-hub identity),并可轮换自身密钥。 - Hub 之间的结算以经过认证的签名转发。
- 已移除:面向纯 HTTP x402 的网关、凭证(voucher)、共享任务看板,以及按 AID 查询密钥或卡片的路由。