Skip to content
Almena Network— version v2026-12-beta
Auto
English

Conformance and verification of components

Anyone can implement a node or a wallet from these specifications. This document describes how confidence is obtained that those components behave as they should.

Two things must be distinguished:

  • Implementation (and version): the software, for example “node X, version 1.4.2”. It is published by a developer.
  • Instance: a specific running node that uses an implementation. Someone operates it.

Formal verification is done on the implementation and version, not on each instance.

Three layers of verification

Layer 1. Each node validates everything it receives

Section titled “Layer 1. Each node validates everything it receives”

A node MUST verify everything it receives from other nodes or from wallets (signatures, formats, hashes, record chaining, bindings) and MUST reject whatever is not valid. No node accepts information just because it comes from another node. This layer depends on nobody and is the basis of everything else.

Layer 2. Conformance suite and conformance credential

Section titled “Layer 2. Conformance suite and conformance credential”
  • Almena publishes an open conformance test suite for nodes and for clients (wallets and entity consoles). Its tests are listed in conformance tests.
  • The developer of an implementation can request from Almena Trust (which, like any issuer, uses the common issuance tools) a conformance credential about a specific implementation and version, after passing the suite.
  • It applies to node, wallet and entity console implementations.
  • It is voluntary for the developer, but it gives confidence to whoever chooses to use that implementation.

Limit. The conformance credential proves that an implementation and version passed the suite. It does not prove what software a specific node actually runs: an operator can declare a certified implementation and run another. That is covered by layer 3.

Nodes monitor each other while they run, at least in what most affects the network:

  • Custody: that a custodian really keeps what it has been assigned.
  • Clock: that its time does not drift from the rest of the network’s.
  • Resources: that the resources a node claims to contribute (availability, bandwidth, disk) are real. These measurements serve to detect non-compliance and choose reliable custodians, and would be the basis for future rewards (network, 9).

When a node detects non-compliance, it generates signed evidence that others can check. Its consequences are in section 3.

Wallets and entity consoles are not monitored. The wallet is the tool each person chooses to use, and the console the tool each entity’s managers choose; that choice bounds the problem: if a client is bad, it affects whoever chose it. The layer 2 conformance credential is available for client developers to give their users confidence, but it is not mandatory. Layer 1 protects the network against whatever any wallet sends.

  1. Consequences of misbehaviour evidence (layer 3). First it is noted. If it repeats, the node is excluded from custody and mediation for a time that grows with each repetition (network, 8.1). Nobody decides: each node applies the same rule to public, signed evidence.
  2. A node’s implementation and version. The node states them in its directory entry. This is only informative, because it cannot be checked; what counts is its behaviour, which its neighbours monitor.
  3. Validity of a conformance credential. It is tied to a specific version of the implementation and to a version of the specification. It is revoked if a serious flaw appears in that version, and it expires when that version of the specification stops being supported.
  4. Prefer, do not reject. In v2026-12-beta a node SHOULD prefer nodes with a conformance credential where it has a choice (mediators, relays, gateways), but MUST NOT reject those without one, to keep the network open. Custodians are always the k closest (network, 4). This may be tightened later.

None for now.