rfc/specs/waku/v2/waku-store.md
Oskar Thorén a57dad2cc3
Split waku v2 specs (#185)
* Move Waku specs into v1 and v2 folders

v0 part of v1 folder as it is deprecated but refers to things in v1 folder

* Pull out Waku Relay

* Pull out WakuStore spec

* Pull out Waku Store spec

* Clean up ToC

* Break out bridge spec

* Relay spec tweaks and bump

* Update main spec draft, fix links changelog etc

* Update README

* spellcheck

* fix symlink

* linter

* insanity
2020-09-17 18:43:38 +08:00

1001 B

title version status authors
Waku 2.0.0-alpha4 Raw Oskar Thorén <oskar@status.im>

Table of Contents

TODO

Abstract

TODO

Historical message support

Protocol identifier*: /vac/waku/store/2.0.0-alpha5

See WakuStore spec.

TODO To be elaborated on

Protobuf

message HistoryQuery {
  string uuid = 1;
  repeated string topics = 2;
}

message HistoryResponse {
  string uuid = 1;
  repeated WakuMessage messages = 2;
}
HistoryQuery

RPC call to query historical messages.

The uuid field MUST indicate current request UUID, it is used to identify the corresponding response.

The topics field MUST indicate the list of topics to query.

HistoryResponse

RPC call to respond to a HistoryQuery call.

The uuid field MUST indicate which query is being responded to.

The messages field MUST contain the messages found.

Copyright

Copyright and related rights waived via CC0.