rfc/archive/old-specs-repo
Oskar Thorén 27ee0f0558
Merge repo with rfc.vac.dev (#310)
* Hugo init

* Init Hugo book

* Add basic README and title

* Import RFC: 1/COSS

* Move example content to dedicated folder

* Basic menu

* Tweak single layout

* Fix base url and permalink

* Basic index tweaks

* Add netifly config

* gitignore

* 1/COSS: Add COSS lifecycle

* Remove public artifact

* Add basic numbers in menu

* Empty READMEs init

* Import mvds spec raw

* 2/MVDS: Simplify

* 3/REMOTE-LOG: Import

* 3/REMOTE-LOG: Simplify

* 4/MVDS-META: Import

* 4/MVDS-META Simplify

* Tweaks

* 5/WAKU0: Import

* 5: Simplify

* 6/WAKU1: Import

* 6/WAKU1: Simplify

* 7/WAKU-DATA: Import

* 7/WAKU-DATA: Simplify

* 8/WAKU-MAIL: Import

* 8/WAKU-MAIL: Simplify

* Tweak

* 9/WAKU-RPC: Import

* 9/WAKU-RPC: Simplify

* 10/WAKU2: Import

* 10/WAKU2: Simplify

* 11/WAKU-RELAY: Import

* Tweaks

* 11/WAKU-RELAY: Simplify

* 12/WAKU-FILTER: Import

* 12/WAKU2-FILTER: Simplify

* 13/WAKU-STORE: Import

* 13/WAKU-STORE: Simplify

* 14/WAKU-MESSAGE: Import

* 14/WAKU-MESSAGE: Simplify

* 15/WAKU-BRIDGE: Import

* 15: Simplify

* 16: Import

* 16: Simplify

* 17: Import

* 17: Simplify

* 18: Import

* 18: Simplify

* 12: Bump update

* 14: Bump update

* 11: Bump update

* 17: Bump update

* 18: Bump update

* 16: Bump update

* Fix slug for 18

* Editor changes for 11, 12, 15

* Revert "Editor changes for 11, 12, 15"

This reverts commit 5c32fe791b.

* Revert "Revert "Editor changes for 11, 12, 15""

This reverts commit ccd75131d7.

* Editor changes for 13, 2, 4

* Move current specs to archive

* Update README

* bump
2021-04-01 12:03:14 +08:00
..
_includes Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
_layouts Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
assets Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
content/docs/rfcs/1 Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
specs Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
404.html Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
CNAME Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
CONTRIBUTING.md Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
Gemfile Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
Gemfile.lock Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
README.md Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
_config.yml Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
package-lock.json Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
package.json Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +08:00
wordlist.txt Merge repo with rfc.vac.dev (#310) 2021-04-01 12:03:14 +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