Modular p2p messaging stack, with a focus on secure messaging. https://rfc.vac.dev/
Go to file
Oskar Thoren fb198dc0e4
Leftover
2021-02-22 11:22:10 +08:00
.github Update main.yml (#136) 2020-05-28 11:46:43 +02:00
_includes added 2020-02-20 10:48:25 -05:00
_layouts fix 2020-02-20 10:51:53 -05:00
assets Adds the sequence diagram of rln relay (#264) 2020-12-07 12:52:31 +08:00
content/docs/rfcs/1 Minor fixes to RFC 1 (#261) 2020-11-27 18:55:11 +08:00
specs Swap - add game theory / donations game section (#290) 2021-02-19 11:07:08 +08:00
.gitignore travis 2020-01-31 17:33:54 +01:00
.pyspelling.yml Update main.yml (#136) 2020-05-28 11:46:43 +02:00
.remarkrc adds link checks (#131) 2020-05-21 12:20:44 +08:00
.textlintrc text-lint (#134) 2020-05-25 11:55:06 +02:00
404.html Create 404.html 2019-09-22 20:39:34 +02:00
CNAME Create CNAME 2019-08-04 15:25:11 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-10-29 14:15:27 +08:00
Gemfile sitemap (#109) 2020-03-01 17:00:06 +01:00
Gemfile.lock update 2020-02-20 10:18:26 -05:00
README.md Leftover 2021-02-22 11:22:10 +08:00
_config.yml fix/redirects (#110) 2020-03-11 12:37:08 +01:00
package-lock.json Bump lodash from 4.17.15 to 4.17.19 (#161) 2020-07-21 16:10:16 +02:00
package.json text-lint (#134) 2020-05-25 11:55:06 +02:00
wordlist.txt Summarizing the security features/considerations of Waku v2 (#283) 2021-01-07 15:25:31 -08:00

README.md

This repository contains the specs for vac, a modular peer-to-peer messaging stack, with a focus on secure messaging. A detailed explanation of the vac and its design goals can be found here.

Status

The entire vac protocol is under active development, each specification has its own status which is reflected through the version number at the top of every document. We use semver to version these specifications.

Protocols

These protocols define various components of the vac stack.

Waku

Waku is a protocol that replaces Whisper (EIP-627). Waku v2 is an upgrade of Waku v1 that is in active development and offer significant improvements. You can read more about the plan for it and an update.

Version 2

Version 0 and 1

  • waku/0 specs for waku/0 version, now deprecated
  • waku/1 specs for waku/1 version, current stable version
  • envelope data format waku envelope data field specification.
  • mailserver - Mailserver specification for archiving and delivering historical waku envelopes on demand.
  • rpc api - Waku RPC API for Waku v1 nodes.

Data sync

  • mvds - Data Synchronization protocol for unreliable transports.
  • remote log - Remote replication of local logs.
  • mvds metadata - Metadata field for MVDS messages.

Style guide

Sequence diagrams are generated using Mscgen like this: mscgen -T png -i input.msc -o output.png. Both the source and generated image should be in source control. For ease of readability, the generated image is embedded inside the main spec document.

Alternatively, mscgenjs can be used to generate sequence diagrams (mscgenjs produces better quality figures especially concerning lines' spaces and figures' margins). Once installed, the following command can be used to generate the sequence diagrams mscgenjs -T png -i input.msc -o output.png. More details on the installation and compilation are given in mscgenjs repository. You may try the online playground https://mscgen.js.org/ as well to get a sense of the output figures.

The lifecycle of the specs follows the COSS Lifecycle

Meta

The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.

Linting

Spellcheck

To run the spellchecker locally, you must install pyspelling.

It can then be run with the following command:

pyspelling -c .pyspelling.yml

Words that should be ignored or are unrecognized must be added to the wordlist.

Markdown Verification

We use remark to verify our markdown. You can easily run this tool simply by using our npm package:

npm install
npm run lint

Textlint

We use textlint for extra markdown verification. You can easily run this tool simply by using our npm package:

npm install
npm run textlint