Skip to content

Releases

v0.11.0-testnet — BFT quorum finality certificates

Choose a tag to compare

@iguha0 iguha0 released this 18 Nov 05:18

verinoo-node v0.11.0-testnet

Released 2026-11-18 · testnet · AGPL-3.0

This release adds an opt-in BFT finality certificate layer over the existing
block chain. It is a real quorum implementation, not a design note: validators
sign prevotes and precommits over validated blocks, collect a 2/3+1
certificate, persist finality, and record equivocation evidence. The live
testnet is single-validator and now runs with VNN_CONSENSUS=bft; a local
four-validator cluster finalized the same head at height 20 with three peers.

Scope — do not overclaim

Finality certificates are implemented. Block production remains
single-producer round-robin: there is no view-change for an offline leader,
the head is still optimistic (it can advance before a certificate), and there
is no certificate-aware catch-up, slashing or automatic validator removal.
A mixed legacy/BFT multi-validator network will not finalize. The live
testnet is single-validator, where quorum is one.

What changed

  • crates/consensus: signed prevotes, precommits, proposals, commit
    certificates, quorum verification, equivocation evidence, and a
    deterministic round/lock state machine with 26 tests.
  • Gossip: verinoo/proposals/1, verinoo/votes/1 and
    verinoo/evidence/1 topics with payload caps and a two-node propagation test.
  • Node: VNN_CONSENSUS=legacy|bft. In bft mode, a validator votes after
    applying a block and checking its state root; a 2/3+1 precommit certificate
    finalizes it. Certificates and own votes are persisted; /status exposes
    consensus, finalizedHeight and finalizedHash.
  • Evidence: conflicting votes at the same (height, round, kind) produce
    stored, deduplicated equivocation evidence. No slashing or automatic removal.
  • Tests: 274 Rust tests, 17 TypeScript, 15 Python, 24 importer, 20 Stripe;
    clippy clean. Four-node live proof: all nodes at height 20, finalized height
    20, identical finalized hash, three peers each.

Enable and upgrade

v0.11.0 keeps the v2 block format from v0.10.0. The release is drop-in; no block
format migration is required. Finality is opt-in:

VNN_CONSENSUS=bft VNN_VALIDATOR=true VNN_VALIDATORS=ai_...,ai_...
  • The live single-validator node is upgraded with VNN_CONSENSUS=bft.
  • For a multi-validator network, upgrade every validator and enable bft in the
    same window. A legacy node ignores vote topics and cannot contribute to a
    quorum; a mixed set will not finalize.
  • Keep the validator set identical on every node. The finality manager sorts and
    deduplicates addresses; quorum is floor(2N/3)+1.
  • /status shows finalizedHeight/finalizedHash; a gap between head and
    finalized height is expected until the quorum certificates arrive.
  • Rollback to v0.10.0 legacy is possible because the block format is unchanged,
    but finality certificates become advisory and are not replayed.

Verification

  • 4-validator local cluster (all online): height 20, finalized 20, same hash,
    3 peers each.
  • Single-validator live test: block finalized immediately in bft mode.
  • Core tests cover 4-validator finality, one Byzantine/equivocating voter,
    timeout/nil votes, locks, own-vote replay and certificate rejection.
  • Existing claims-triage, sampling, batch/SSE, policy and snapshot tests remain
    green.

Artifact

verinoo-node-v0.11.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
seven small models, the demo/import/billing/snapshot/release scripts, both SDKs,
node.env.example, LICENSE, README.txt, and selected docs. TinyStories-1M
and DistilGPT-2 weights are not included.

Still not claimed

  • No view-change/offline-leader liveness. A missed leader still stalls the
    chain as before; BFT mode adds certificates, not a new proposal schedule.
  • No commit-only-after-finality gating. The head is optimistic; finality is
    tracked separately.
  • No certified catch-up/finalized sync. A late node replays blocks and
    starts participating in new finality; historical certificates are not served
    over RPC.
  • No slashing, automatic removal or validator-set changes. Evidence is
    recorded only.
  • No trustless multi-operator claim. The live network is one operator and
    one validator; BFT certificates need independent validators to be meaningful.
  • No GPU, runtime batching, token streaming, output moderation or LLaMA
    import
    beyond the v0.10.0 surface.

License: AGPL-3.0.

v0.10.0-testnet — sampling, batch/SSE, policy, signed snapshots, protocol v2

Choose a tag to compare

@iguha0 iguha0 released this 18 Nov 02:01

verinoo-node v0.10.0-testnet

Released 2026-11-18 · testnet · AGPL-3.0

This release turns the v0.9.0 base into a protocol-v2 node: deterministic
per-task sampling, batch inference, final-only task streams, a submission
policy boundary, signed state snapshots, and a zero-copy .vnnw decoder path.
Validators, replicas and API nodes must upgrade together; old binaries reject
v2 blocks.

Upgrade warning — protocol v2

v0.10.0 accepts historical v1 blocks and produces v2 blocks. A v0.9.0
binary rejects a v2 block, so a mixed network will stall or split once the
first v0.10.0 validator produces. Upgrade every validator and every replica
in one coordinated window. Do not roll back to v0.9.0 after a v2 block has
been produced. See Upgrade required and
docs/upgrade-v2.md.

Highlights

  • Deterministic sampling. Decoder tasks may carry a signed sampling
    object; the result is part of consensus execution and the receipt commits to
    it.
  • Batch, streams and policy. /v1/infer/batch adds per-item admission,
    gas-cap checks and a nonce/balance overlay. Task SSE streams deliver only the
    committed result. A node-local policy gate checks plaintext and ciphertext
    size before mempool admission.
  • Signed state snapshots. The verinoo-state snapshot library provides
    checkpoint create/verify/apply, canonical manifests, per-file SHA-256 checks,
    expectation re-verification and backup/rollback. The shipped
    verinoo-node snapshot create|verify|apply CLI adds operator signing and
    verification; create always signs the manifest. The node also serves
    /snapshot/manifest and /snapshot/files/* when VNN_SNAPSHOT_DIR is set.
  • Protocol v2. HEADER_VERSION=2, v1 replay remains accepted, sampling is
    gated on v2, and v0.9.0 peers cannot follow the chain after the first v2
    block. Genesis remains a v1 block; the first block produced after the upgrade
    is v2.
  • Runtime and readiness. Memory-mapped .vnnw weights, a config-driven
    GPT-2/GPT-Neo importer, and a fail-closed /ready probe for fresh,
    caught-up, consistent nodes.

Per-task sampling

submitInference data may include:

"sampling": {
  "temperatureMilli": 800,
  "topK": 40,
  "topPMilli": 900,
  "seed": 7
}
  • The object is canonical transaction data: it changes the signed txId and
    the task id. Omitted fields are zero, so "sampling": {} is a valid greedy
    override.
  • Ranges: temperatureMilli 0..=100000, topK at most both 1,000,000 and the
    resolved decoder vocabulary, topPMilli 0..=1000, and seed any u64.
    Sampling is accepted only for decoder models. A classifier task carrying an
    override is rejected at validation.
  • Receipts add sampling, samplingHash = sha256(canonical_json(sampling))
    and samplingSource: "task" only for tasks with an explicit override.
    Old receipts keep their historical shape.
  • /v1/verify regenerates the output with the effective sampling (the override
    or the model default) and marks the result verified only when the output hash
    and, when present, the receipt samplingHash match.
  • Sampling is gated on block format v2. A v1 block containing a sampling
    transaction is rejected. Every validator and verifier must load the same
    model file; changing a published model's default sampling is a new model
    version.

Batch inference

POST /v1/infer/batch accepts 1–32 signed TxEnvelope objects and returns a
per-item result in input order.

  • The 32-item count is a transport cap. Each batch must also fit one block's
    1,000 gas: submitInference costs 60 gas (120 sampled, 240 full-zk), so at
    most 16 optimistic inference items fit. An over-gas batch is rejected with
    400 before any item is admitted.
  • Signature, nonce, balance, sampling, encryption and policy checks are the
    same as /v1/infer.
  • Nonce and balance use a batch-local overlay seeded from committed state, so
    consecutive nonces from one sender are admitted in order. A rejected middle
    item cascades to later items from that sender; other senders are unaffected.
  • After request-level checks the endpoint returns 200 with per-item results,
    even when every item is rejected. Accepted items enter the mempool and are
    gossiped independently; admission is not a block reservation.
  • Gas-limited transactions left out of a produced block are re-queued at the
    front of the mempool in their original order; invalid or reverted
    transactions are dropped. The mempool admits at most 5,000 transactions
    across RPC and gossip (429 single submission, per-item error in a batch).

Batch is API fan-out. It is not runtime batching and gives no gas discount.

Task event stream (final-only)

GET /v1/tasks/:id/events returns text/event-stream with:

  • status — {taskId,status,height,resultHash,updatedAt}, input and
    ciphertext redacted.
  • result — {taskId,task,receipt} once the task is completed or failed,
    then done.
  • timeout — after 60 seconds without a terminal state, then done.

The node polls about once per second, sends heartbeat comments through idle
proxies, and allows 64 concurrent streams per process (429 beyond that).
A task row exists only after the block carrying its submitInference is
applied, so the stream returns 404 before inclusion. The stream exposes only
the consensus-committed result: there are no token-level previews.

Request policy boundary

VNN_POLICY_FILE loads a deterministic, node-local policy once at startup.
An unreadable or invalid file fails startup; unset means permissive defaults.
The policy is immutable until restart.

  • Applies to /v1/infer, inference transactions on /tx, and every batch
    item, after signature/nonce/balance/sampling checks and before mempool
    admission.
  • Plaintext input is checked for maxInputBytes, model allowlist, blocked
    terms/patterns, and configured email/phone/SSN redaction.
  • maxInputBytes also applies to the serialized encryptedInput envelope, so
    ciphertext cannot bypass the size limit. Content checks and redaction are
    skipped for encrypted and commitment-only payloads; requirePlaintext
    rejects them.
  • A policy failure returns 422 with reason: "policy" and a stable
    policyReason. Blocked text is never echoed. If redaction would change a
    signed plaintext, the request is rejected with redaction_required; the node
    never rewrites a signed transaction.
  • Policy is an API-boundary control only. It does not run in consensus, does
    not change block validity, results, receipts or /v1/verify, and never
    mutates committed state.

Encryption still protects inputs from API and block readers only. Validators,
including the operator, hold the network key and can decrypt.

State snapshots

Snapshot create/verify/apply ships in two layers:

  • verinoo-state (crates/state/src/snapshot.rs) owns the RocksDB checkpoint,
    the canonical manifest (sorted file list, sizes and SHA-256 hashes), file-set
    verification, and atomic apply with backup/rollback. It verifies files
    against caller-supplied expectations but does not know chain truth.
  • verinoo-node (crates/node/src/snapshot.rs) owns the operator CLI
    verinoo-node snapshot create|verify|apply, Ed25519 manifest signatures and
    signer thresholds, stateRoot recomputation, and validator-set/model-set
    hash checks. With VNN_SNAPSHOT_DIR, the node serves
    /snapshot/manifest and /snapshot/files/*path.

create requires the node to be stopped (it takes the RocksDB lock) and a
signing seed (--key-seed or VNN_KEY_SEED); it always signs the manifest.
--signer on create pins the derived key. verify and apply require at
least one --signer (or VNN_SNAPSHOT_SIGNERS) and recompute stateRoot, the
validator-set hash, the checkpoint head fields, and the local model hashes.
apply requires the target to be stopped, re-verifies immediately before the
rename, moves an existing database to a backup instead of deleting it, and rolls
back if the swap fails. Run verinoo-node snapshot --help for the exact flags.

Trust boundary. Snapshot signatures are operator attestations, not BFT
certificates. Verification proves the file set matches the signed manifest and
that the checkpoint's state root, validator set, head fields and local model
hashes match; it does not prove canonical chain truth or finality. There is no
automatic snapshot sync, download, trust-on-first-use or failover. Keep the
pre-upgrade database/snapshot until the node has produced or validated new
blocks.

Memory-mapped weights, importer and readiness

  • .vnnw mmap. Binary decoder weights are memory-mapped instead of copied.
    The 48-byte header carries magic, format version, payload length and SHA-256;
    the model's required weightsSha256 pin is checked as well. A tampered byte
    is rejected. Unaligned payloads or a big-endian host fall back to an owned
    copy instead of unsafe reinterpretation.
  • Generic GPT-2/GPT-Neo importer. scripts/import_hf_gpt.py accepts a
    HuggingFace id or local directory, handles tied/untied heads, gelu_new or
    relu, transposes GPT-2 Conv1D weights, and supports the GPT-2 byte-level
    BPE tokenizer. LLaMA/SentencePiece, rotary embeddings, other activations and
    GPT-Neo contexts beyond the local-attention window are rejected.
  • Readiness. GET /ready returns 200 only when a head exists, the node is
    not syncing, headAgeMs < 3 * blockTimeMs, the state-derived validator set
    matches the configured set, and the node is within VNN_PEER_LAG_BLOCKS of
    the best same-chain peer. Failures return 503 with a stable reason
    (no_head, validator_set_mismatch, syncing, stale_head,
    behind_peer). /health is liveness only and returns HTTP 200 even before a
    head exists ("ok": false); use /ready for traffic decisions.

Upgrade required: protocol v2

HEADER_VERSION is ...

Read more

v0.9.0-testnet — binary weights, deterministic sampling, licensed DistilGPT-2

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 09:44

v0.9.0-testnet — binary weights, deterministic sampling, licensed DistilGPT-2

This release turns the decoder runtime from a small demo into a production-shaped
foundation: large models can be loaded from a hashed binary file, generation can
use deterministic temperature/top-k/top-p sampling, and an Apache-2.0
82M-parameter GPT-2 is imported and parity-tested at 1,024-token context.

The public verinoo.com node still serves the same six small models. DistilGPT-2
is not served there: on CPU it can exceed a 1 s block and needs a GPU or an
optimistic-execution path.

Binary weights (.vnnw)

A model JSON can point at a binary tensor file instead of inlining tensors:

"weightsFile": "distilgpt2.vnnw",
"weightsSha256": "…"
  • 48-byte header: VNNW, version, payload length, SHA-256 of the payload.
  • Payload: Q16.16 tensors as little-endian i32, in the JSON field order.
  • The loader verifies magic, version, length, payload hash and declared
    weightsSha256; a single tampered byte is rejected.
  • Inline JSON weights still work for small models.
  • The current loader copies the payload into Vec<i32>; zero-copy mmap is the
    next optimization, not in this release.

Deterministic sampling

sampling in the model JSON now takes integers:

"sampling": { "temperatureMilli": 800, "topK": 40, "topPMilli": 900, "seed": 7 }
  • temperatureMilli: 0 is the old greedy path.
  • Top-k and nucleus filtering; logits and probabilities stay in fixed point.
  • A SplitMix64 integer PRNG seeded by seed; the same prompt, weights and seed
    produce the same token ids on every node.
  • Tests prove repeated sampling is byte-identical, cold sampling equals greedy,
    and top-k 1 equals greedy.
  • Sampling is fixed in the model file. There is no per-task API override or
    receipt commitment yet; every node and verifier must load the same file.

DistilGPT-2 import

scripts/import_distilgpt2.py downloads the official Apache-2.0 checkpoint and
writes:

  • models/distilgpt2.vnnw — 327.7 MB, 81,912,576 Q16.16 parameters;
  • models/distilgpt2.json — metadata, GPT-2 byte-BPE tokenizer, 1,024 context;
  • models/distilgpt2.test.json — float-reference greedy vectors.

Six layers, 768 hidden, 12 heads, 3,072 FFN, tied embeddings, GPT-2 sqrt
attention scaling and gelu_new. The Q16.16 runtime matches the float reference
for 16 greedy tokens on 3 prompts. The model files are gitignored and are not in
this tarball (the script downloads them).

On the development Mac, release mode loads the binary and generates 48 tokens in
2.62 s (about 40 ms/token including load). The 1-CPU VPS is slower, so this is a
GPU/optimistic-execution target, not a live-node model.

Verification

  • 124 Rust tests and 20 Stripe tests pass on macOS; clippy is clean.
  • The locked Linux node build succeeds on x86_64, and the 34 runtime tests pass
    in release mode on Linux.
  • VNN_TEST_DISTILGPT2=1 cargo test -p verinoo-runtime distilgpt2_binary
    reproduces the float greedy tokens from the binary model.
  • The existing TinyStories-1M decoder and claims/transformer classifiers still
    pass their parity and demo checks.
  • scripts/demo-claims.sh still passes 8/8 against the live node.

Download

verinoo-node-v0.9.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the claims/transformer/synthetic-decoder models, the demo/import/billing scripts
(including import_distilgpt2.py), both SDKs, node.env.example, LICENSE, and
README.txt.

Not included: TinyStories-1M weights (no stated license) and DistilGPT-2 weights
(328 MB; download with the import script).

Still not claimed

  • No production LLM serving: GPU execution, batching, streaming, safety
    filters, request queues, 7B+ models and arbitrary-checkpoint import (LLaMA /
    SentencePiece) are not implemented.
  • No mmap: binary weights are copied into memory on load.
  • No per-task sampling commitment: sampling is model-level and not separately
    bound in the receipt.
  • No LLM-scale verification: ADR 005 only; full re-execution remains the live
    mechanism.
  • No BFT finality, HA/failover, snapshot sync or on-chain validator removal:
    design ADRs only.
  • Not trustless, not operator-blind, not ZK-proven.
  • No token. Fiat invoicing is a script and a manual finalize step.

License: AGPL-3.0.

v0.8.0-testnet — self-serve keys, billing, verification ADRs

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 08:29

v0.8.0-testnet — self-serve keys, billing, verification ADRs

This release closes the self-serve access and fiat-billing gaps, and writes down
the designs for the remaining production work.

Self-serve API keys

Opt-in POST /v1/keys when VNN_SELF_SERVE_KEYS=1:

curl -s -XPOST localhost:7100/v1/keys \
  -H 'content-type: application/json' -d '{"address":"ai_..."}'
  • One active key per address; a second request returns 409 and never repeats
    the raw key.
  • Only the SHA-256 hash is stored, in RocksDB, so keys survive restarts and do
    not need a writable /etc file.
  • Default quota VNN_SELF_SERVE_QUOTA=1000 per address per UTC day; 0 means
    unlimited.
  • Per-IP issuance limiter: 5 per hour.
  • File-based operator keys still work and are checked first.
  • The public demo node keeps self-serve disabled (/v1/keys returns 404) so
    the unauthenticated faucet/infer demo keeps working. Enable it on a dedicated
    pilot node.

Stripe invoicing

scripts/stripe_invoice.py turns the usage CSV into a Stripe invoice:

python3 scripts/stripe_invoice.py --csv usage.csv --tenant acme
# dry-run by default; no network calls
STRIPE_SECRET_KEY=sk_test_... python3 scripts/stripe_invoice.py \
  --csv usage.csv --tenant acme --customer-email billing@acme.example --live
  • Dry-run by default; live mode requires STRIPE_SECRET_KEY.
  • Finds or creates the customer, creates an invoice item, finalizes the invoice,
    never pays it.
  • Idempotency key derived from the CSV hash + tenant + rate.
  • Usage pricing is now consistent at $5 per 1,000 completed tasks
    (0.5 cents/task). Negotiated rates use --rate-cents.
  • docs/billing.md documents the cumulative-CSV caveat: for monthly billing,
    use a period delta, not the lifetime export.

Design ADRs

  • docs/adr/005-llm-verification.md: bonded optimistic executor/challenger vs
    TEE attestation for LLM-scale inference, with receipt fields, sampling
    determinism, challenge/slashing rules, integration points and a test plan.
  • docs/adr/006-ha-snapshot-validator-removal.md: active/passive HA, signed
    snapshot transfer, and on-chain validator registration/removal.
  • docs/adr/007-bft-implementation-checklist.md: phased BFT execution order
    tied to ADR 004, with claim boundaries.

All three are design only. None of the mechanisms is implemented.

Verification

  • 120 Rust tests and 20 Stripe tests pass on macOS; the Linux suite is running
    against the same tree.
  • The claims-triage pilot demo still passes 8/8 against the live node.
  • The public node lists six models and still executes claims/transformer/decoder
    tasks with receipts.

Download

verinoo-node-v0.8.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the claims/transformer/synthetic-decoder models, the demo/billing/import
scripts, both SDKs, node.env.example, LICENSE, and README.txt.
TinyStories-1M weights are still not included (no license on the model card).

Still not claimed

  • No production LLM path yet: binary weights/mmap, 1,024+ context,
    deterministic sampling, streaming/batching and a safety layer are next.
  • No LLM-scale verification: ADR 005 only; full re-execution remains the
    live mechanism.
  • No BFT finality, HA/failover, snapshot sync or on-chain validator removal:
    design ADRs only.
  • Not trustless, not operator-blind, not ZK-proven.
  • No token. Fiat invoicing is a script and a manual finalize step.

License: AGPL-3.0.

v0.7.0-testnet — claims-triage pilot kit

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 05:46

v0.7.0-testnet — claims-triage pilot kit

This release packages the first vertical demo for the design-partner profile: a
mid-market insurer or insurtech running a text classifier that routes claim
notes into a small number of queues.

The classifier

  • claims-triage-v1: claim note → queue.
  • Eight labels: auto collision, property damage, theft, medical injury,
    liability, weather, fraud review, subrogation.
  • 2,048 hashed-unigram features, multinomial logistic regression, 16,392
    Q16.16 parameters, 197 kB graph.
  • Train 99.53%, held-out 98.75% (158/160), 100% integer/float label parity.
  • Trained on a synthetic 800-example corpus. The point is the shape, not the
    corpus; a partner would train the same graph on their own labelled claims.

One-command evidence

./scripts/demo-claims.sh
# or against the live testnet
CLAIMS_NODE=https://verinoo.com ./scripts/demo-claims.sh

The script submits three claim notes, waits for block execution, verifies each
receipt, and writes reports/claims-pilot-<timestamp>.md containing:

  • model, labels, parameter count and weights hash
  • claim note, returned queue, task id and verification result
  • the full receipt: task, weights, input hash, output hash, block and validator
    signature
  • a curl command to recompute the result on any node
  • usage and invoice CSV
  • an explicit “what this proves / what this does not prove” section

Live

https://verinoo.com/v1/models now lists six models, including
claims-triage-v1. The live example:

"a tree fell on the roof and broke two windows" -> property_damage
receipt verified: true
weightsHash: c2b07bfaa08c81bf…

Pilot kit: docs/claims-pilot.md.

Download

verinoo-node-v0.7.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the claims/transformer/synthetic-decoder models, the demo and report scripts,
both SDKs, node.env.example, LICENSE, README.txt, and the TinyStories
import script/notice.

The TinyStories-1M weights are still not included because the model card
states no license. Import them locally with
python3 scripts/import_tiny_stories.py.

Still not claimed

  • Synthetic demo data. The claims classifier is not trained on a customer's
    claims.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not operator-blind. Inputs are encrypted to the validators, but the
    operator can decrypt.
  • Not an LLM product. The decoder supports GPT-2 BPE, a KV cache and greedy
    decoding, but 128-token context, no sampling/batching/streaming/safety.
  • Not ZK-proven. Verification is re-execution.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.

v0.6.0-testnet — a real pretrained decoder runs in consensus

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 05:17

v0.6.0-testnet — a real pretrained decoder runs in consensus

The chain now executes TinyStories-1M, a real 3.75M-parameter GPT-Neo
decoder, during block application with the GPT-2 byte-level BPE tokenizer, a
KV cache and greedy decoding.

This is a runtime milestone, not production LLM support.

What now runs

  • tiny-stories-1m: 8 pre-norm GPT-Neo layers, 64 hidden, 16 heads,
    256-wide FFN, tied embeddings, gelu_new, no attention-score scaling,
    layer-norm epsilon 1e-5.
  • GPT-2 byte-level BPE: 50,257 tokens, vocab.json + merges.txt, ByteLevel
    regex pre-tokenization, byte-to-Unicode mapping, rank-based merges.
  • 128-token context (truncated from 2048; the local-attention window is 256, so
    the local layers behave as global here).
  • Greedy decoding, at most 32 new tokens.
  • Encrypted prompt, consensus execution, weights-bound receipt and
    /v1/verify regeneration.

Parity

  • Prompt tokenizer parity on 8 prompts.
  • 32-token greedy parity with the float PyTorch reference on all 8 prompts.
  • KV-cache logits are exactly equal to a full forward pass.
  • Generation is byte-identical across runs.
  • Getting there required the accurate dense path (Q32.32 accumulation, one
    rounded shift), rounded layer norm, gelu_new, no attention scaling and the
    layer-norm epsilon.

Live demo

https://verinoo.com/v1/models now lists five models, including
tiny-stories-1m.

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json --model tiny-stories-1m \
  --input "Once upon a time" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

The example returns: “, there was a little girl named Lily. She loved to play
outside in the sunshine…” with a receipt bound to weights hash 4d9ffafb….

Download

verinoo-node-v0.6.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the synthetic models, the transformer encoder, both SDKs, node.env.example,
LICENSE, README.txt, and scripts/import_tiny_stories.py.

The TinyStories weights are not included. The model card states no license,
so the 24 MB weights are downloaded locally:

python3 scripts/import_tiny_stories.py

The script needs Python with torch, transformers and huggingface_hub. It
writes models/tiny-stories-1m.json and a float-reference fixture. Review the
model card and dataset terms before use.

Still not claimed

  • Not a production LLM. 3.75M parameters, 128-token context, greedy only,
    no sampling, batching, streaming, safety layer, large-model serving or clear
    model license.
  • Not a general tokenizer. GPT-2 BPE only. No LLaMA/SentencePiece.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not operator-blind. Inputs are encrypted to the validator set; every
    validator can decrypt.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0. TinyStories-1M attribution in
models/NOTICE-tiny-stories-1m.txt.

v0.5.0-testnet — a GPT-style decoder runs in consensus

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 04:36

v0.5.0-testnet — a GPT-style decoder runs in consensus

The chain now executes a causal decoder with a char-BPE tokenizer, a per-layer
KV cache and greedy generation during block application. This is a runtime
milestone, not production LLM support.

What now runs

  • tiny-gpt-v1: two pre-norm decoder layers, 110,400 Q16.16 parameters,
    hidden 64, 4 heads, width 128 FFN, context 32.
  • 320-token char-BPE vocabulary, trained on a 3,847-line synthetic support
    corpus. The merge order is shared by the Python trainer and the Rust runtime.
  • Causal self-attention with a per-layer K/V cache. Prefill handles the prompt;
    each generated token is one forward step against the cache.
  • Greedy argmax decoding, at most 24 new tokens, no sampling.
  • Encrypted prompt, consensus execution, weights-bound receipt and
    /v1/verify regeneration.

Parity

  • Greedy token parity with the float PyTorch reference on 8 prompts.
  • KV cache equals full forward: prefill plus one step produces exactly the
    same logits as a full-sequence pass.
  • Generation is byte-identical across runs.
  • Model quality: validation loss 0.799, token accuracy about 74%. Output is
    often template-like or garbled. This is a demonstration, not a benchmark.

Live demo

https://verinoo.com/v1/models lists four models, including tiny-gpt-v1.

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json --model tiny-gpt-v1 \
  --input "please cancel" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

The receipt binds tiny-gpt-v1 and weights hash 19b8f15f086ea1b8….

Train and export

python3 scripts/train_gpt.py

Writes models/tiny-gpt-v1.json and
models/tiny-gpt-v1.test.json. Every validator must load the same file.

Download

verinoo-node-v0.5.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
all four models, the parity fixtures, node.env.example, LICENSE,
README.txt, and both SDKs. Verify with SHA256SUMS.v0.5.0.

Still not claimed

  • Not a production LLM. No GPT-2/LLaMA tokenizer, long context, sampling,
    batching, safety layer or model quality. 110k parameters, synthetic data.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not operator-blind. Inputs are encrypted to the validator set; every
    validator can decrypt.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.

v0.4.0-testnet — a real transformer runs in consensus

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 04:06

v0.4.0-testnet — a real transformer runs in consensus

The chain no longer executes only dense classifiers. intent-transformer-v1
runs a pre-norm transformer encoder classifier during block application,
with encrypted inputs and a receipt that binds its weights.

This is an encoder classifier, not a generative LLM. There is no decoder,
KV cache, sampling or BPE tokenizer yet.

What now runs

  • One transformer encoder layer: Q/K/V/O projections, multi-head attention,
    layer norm, ReLU FFN, residual connections and a classifier head.
  • 5,508 Q16.16 parameters, hidden 16, 2 heads, width 32 FFN, vocabulary 187,
    context 12, CLS pooling.
  • Fixed-point exponential attention softmax:
    exp(-z) = 2^-n * exp(-r) with a five-term Taylor series and integer shifts.
  • Integer layer norm with biased variance, integer square root and a Q16.16
    reciprocal.
  • 80/80 label parity with the float PyTorch reference on every corpus
    example. Train 100%, validation 90%, held-out test 80% on a 10-example split.
    The corpus is 80 examples; treat accuracy as a demonstration.

Live demo

https://verinoo.com/v1/models now lists three models, including
intent-transformer-v1.

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json --model intent-transformer-v1 \
  --input "my parcel is delayed again" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

The receipt reports modelId: intent-transformer-v1 and weights hash
8b5aad9551d14eb8….

Train and export

python3 scripts/train_transformer.py

The script uses PyTorch, a deterministic seed, early stopping and writes both
the quantised model and float-reference parity vectors:

  • models/intent-transformer-v1.json
  • models/intent-transformer-v1.test.json

Every validator must load the same file. A different transformer changes the
result hash and peers reject the block, exactly like a graph-model mismatch.

Download

verinoo-node-v0.4.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
both models, the parity fixture, node.env.example, LICENSE, README.txt,
and both SDKs. Verify with SHA256SUMS.v0.4.0.

Still not claimed

  • Not an LLM. No decoder, causal mask, KV cache, sampling, BPE/WordPiece or
    ONNX attention import. A Llama-class checkpoint cannot run.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not operator-blind. Inputs are encrypted to the validator set; every
    validator can decrypt.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.

v0.3.0-testnet — encrypted inputs, SDKs, lower latency

Choose a tag to compare

@iguha0 iguha0 released this 14 Nov 01:22

v0.3.0-testnet — encrypted inputs, SDKs, lower latency

This release removes the “inputs are public on-chain” blocker and makes the API
practical to integrate. Verification is still re-execution, not ZK; finality is
still round-robin.

New

  • Encrypted inputs. Clients encrypt to a network X25519 key with
    HKDF-SHA256 and ChaCha20-Poly1305. Transactions, blocks and task state carry
    only ciphertext; /v1/tasks redacts input and encryptedInput; validators
    decrypt at block application. This is validator-confidential, not
    operator-blind
    — every validator can decrypt. See docs/privacy.md.
  • TypeScript and Python SDKs. Canonical JSON, Ed25519 signing, input
    encryption, faucet, account nonce lookup, task polling and verification.
    TypeScript is zero-dependency Node >= 20; Python uses cryptography and the
    stdlib. Both were live-tested against an encrypted node.
  • Lower latency. VNN_BLOCK_TIME_MS=1000 gives ~1–2 s task completion on a
    single validator. The setting must be identical on every validator.
  • Per-address quotas. Issuing another API key for the same address no
    longer multiplies its daily allowance.
  • Q16.16 attention kernel prototype (crates/runtime/src/attention.rs) and
    a transformer roadmap (docs/transformer.md). Not wired into model loading
    or consensus; transformer support is not shipped.
  • BFT finality design (docs/adr/004-bft-finality.md). Proposed only; no
    prevote/precommit, certificate or slashing code exists.

Live demo

https://verinoo.com/v1/models

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json \
  --input "my parcel was never delivered" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

Or use an SDK:

import { Client, generateWallet } from './sdk/typescript/src/index.js';
const client = new Client({ baseUrl: 'https://verinoo.com' });
const wallet = generateWallet();
await client.faucet(wallet.address);
const { taskId } = await client.infer({ privateKey: wallet, input: 'where is my refund' });
const task = await client.waitForTask(taskId);
console.log((await client.verify(taskId)).verified, task.task.resultOutput);

Download

verinoo-node-v0.3.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the model, node.env.example, LICENSE, README.txt, and both SDKs. Verify
with SHA256SUMS.v0.3.0.

Migration

  • Generate one VNN_INPUT_KEY (64 hex chars) and put it on every validator.
    Back it up with the database: without it, encrypted tasks cannot be re-executed.
  • Set VNN_REQUIRE_ENCRYPTED_INPUT=true for a paid deployment. The public demo
    accepts legacy plaintext so old clients do not break.
  • Tasks and blocks created before this release contain plaintext and stay
    public. Start a fresh chain for a pilot if that matters.
  • If you change block time, change it on every validator.

Still not claimed

  • Not operator-blind. Encryption protects inputs from API/block readers, not
    from the validator operator.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not an LLM host. Dense/relu/softmax classifiers only; attention is a
    prototype, no tokenizer or sampling.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.

v0.2.0-testnet — tenant keys, K-quants, catch-up sync

Choose a tag to compare

@iguha0 iguha0 released this 12 Nov 22:34

v0.2.0-testnet — tenant keys, K-quants, catch-up sync

This release closes the operational gaps that blocked a self-serve pilot. The
core product is unchanged: model inference is executed during block application
on every node, and the receipt verifies by recomputation.

New

  • Tenant API keys and quotas. Keys are bound to one funded address, stored
    only as SHA-256 hashes, and enforce a per-key UTC-day quota. Issue and revoke
    with verinoo-node apikey; rotate live with systemctl kill -s HUP.
    /v1/usage becomes tenant-scoped when keys are enabled.
  • GGUF K-quants. Q2_K, Q3_K, Q4_K, Q5_K, Q6_K and Q8_K dequantise with the
    llama.cpp layouts and are checked against reference vectors from the official
    gguf Python package.
  • Catch-up sync. GET /blocks/since/:index plus VNN_SYNC_URLS lets a late
    or lagging node replay validated blocks through the same state-root check as
    gossip. scripts/demo-sync.sh proves a late replica converging.
  • Operations kit. scripts/backup.sh (consistent stopped-service backup) and
    docs/operations.md covering restore, API-key rotation, coordinated validator
    rotation, a replica/HA recipe, monitoring and incident response.

Live demo

https://verinoo.com/v1/models

curl -s https://verinoo.com/v1/models | jq
verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 12
verinoo-node infer --key-file key.json \
  --input "my parcel was never delivered" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

Download

verinoo-node-v0.2.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
models/acme-support-v1.graph.json, node.env.example, LICENSE and
README.txt. Verify with SHA256SUMS.v0.2.0.

Still not claimed

  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not an LLM host. Dense/relu/softmax classifiers only; no attention,
    arbitrary tokenizers or sampling.
  • Not ZK-proven. Verification is re-execution; the dispute game is
    test-only and targets the manual-claim path.
  • No snapshot sync. Catch-up replays blocks from the starting height.
  • No automatic HA or on-chain validator removal. Replica promotion and
    key rotation are manual and documented.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.