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.
1. Implementation versus instance
Section titled “1. Implementation versus instance”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.
2. Verification layers
Section titled “2. Verification layers”flowchart TB
subgraph L2["Layer 2: before running (voluntary)"]
S["Implementation and version"] --> SU["Conformance suite"] --> CC["Conformance credential<br/>(Almena Trust)"]
end
subgraph L1["Layer 1: on everything received (always)"]
R["A node receives data"] --> V{"Hash, signature<br/>and format valid?"}
V -- "yes" --> A["Accepts it"]
V -- "no" --> X["Rejects it"]
end
subgraph L3["Layer 3: while running (between nodes)"]
N1["Node"]:::base -- "monitors clock, custody,<br/>resources and function" --> N2["Neighbour"]:::base
N2 -- "fails" --> E["Signed evidence"] --> K["Noted; if repeated,<br/>excluded for a growing time"]
endLayer 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.
Layer 3. Monitoring between running nodes
Section titled “Layer 3. Monitoring between running nodes”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.
Clients: no runtime control
Section titled “Clients: no runtime control”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.
3. v2026-12-beta decisions
Section titled “3. v2026-12-beta decisions”- 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.
- 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.
- 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.
- 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.
4. Open questions
Section titled “4. Open questions”None for now.