Some checks are pending
offline / test (push) Waiting to run
Each module has SUMMARY.md and NATS.md (who sends/receives, subject addresses, payload). Tests: splitter 3, worm 3, aggregator 2. Forgejo repos pushed separately; this commit keeps them in the monorepo.
14 lines
550 B
Markdown
14 lines
550 B
Markdown
# verae-archive-worm
|
|
|
|
**Job:** Append-only WORM store of metadata and files. Bloom filter: miss → stay silent on NATS.
|
|
|
|
**Expects:**
|
|
- `verae.archive.put` — append record, add sha256 to bloom
|
|
- `verae.archive.query` — `{ correlationId, sha256, tenantId, kinds[] }` (every node sees this; **not** a shared queue group)
|
|
|
|
**Sends:**
|
|
- `verae.archive.reply.<correlationId>` **only on bloom hit** — `{ archiveId, sha256, records[] }`
|
|
|
|
**Does not** write to the blockchain.
|
|
|
|
**Test:** `npm test` — miss is `null`; put then query returns records.
|