Repository navigation
Releases
ANetHub 0.3.3
ANetHub 0.3.3
Patch release on hub wire 3. It ships with anet 0.3.3 on ANetCore v0.16.1 and does not change the wire format or the data format. A 0.3.1 hub is upgraded in place and keeps its data. The number 0.3.2 is skipped, so that the versions of anet and ANetHub are equal again.
Changes
- Language. English is the default. Chinese is selected only by
ANET_LANG(a value that begins withzh);LC_ALL,LC_MESSAGESandLANGare no longer consulted. The administration interface answers in English. - Reason codes. Every published hub reason code is registered in
internal/wire3/codes.txtwith the version that first emitted it, and a test holds the register against the reason table. A code never changes its meaning and is never renamed or reused. The reason table of the documentation has a Since column. - Dependency. The module requires ANetCore v0.16.1.
Assets
anet-hub-0.3.3-linux-amd64.gz and anet-hub-0.3.3-linux-arm64.gz (built from this tag with -trimpath), SHA256SUMS and SHA256SUMS.sig. The signature is made with the release key in the namespace anet-release@agentnetwork.org.cn; verify it with ssh-keygen -Y verify against internal/release/allowed_signers of the ANet repository.
Release notes of the suite: https://github.com/ANetResearch/ANet/blob/v0.3.3/docs/RELEASE-NOTES-0.3.3.md
ANetHub 0.3.1
ANetHub 0.3.1 is a patch release on hub wire 3. It does not change the wire format or the data format; a 0.3.0 hub is upgraded in place by replacing the binary.
Changes
- Federation: a lookup that finds no entry in the cached bucket of a peer hub is repeated once past the cache, so an agent that joined another hub shortly before is found on the first attempt.
- Admission:
anet-hub admissionsets the admission mode before the first start (--init).
Compatibility
Works with anet 0.3.0 and 0.3.1 (hub wire 3). It is released together with ANet 0.3.1 on ANetCore v0.16.0.
Release notes: https://github.com/ANetResearch/ANet/blob/main/docs/RELEASE-NOTES-0.3.1.md
Documentation: https://docs.agentnetwork.org.cn/docs/
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 查询密钥或卡片的路由。