Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ EventSource
eventType
fb
fBF
getAvailableConfigs
getAvailableNodeInfoIds
getAvailableNodeInfoItems
getMerkleRoot
getNodeInfo
github
GITHUB
gossipsub
Expand All @@ -54,6 +58,7 @@ Init
ipv
iterable
Jazzz
JSON
KiB
Kozlov
libp
Expand All @@ -76,6 +81,7 @@ NetworkingConfig
nim
nodeConfig
NodeConfig
nodeInfoId
num
Oleksandr
onEvent
Expand Down
26 changes: 26 additions & 0 deletions standards/application/waku-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,32 @@ although performance or reliability may still be impacted.
`Connected` indicates that the node is operating optimally,
with full support for message reception and transmission.

### Debug

#### Debug function definitions

```yaml
functions:
getAvailableNodeInfoIds:
description: "Returns a list of available node information identifiers. e.g., [ version, my_peer_id, metrics ]."
returns:
type: result<array<string>, error>

getNodeInfo:
description: "Returns the JSON formatted node's information that is requested. Expect single value or list results depending on requested information."
parameters:
- name: nodeInfoId
type: string
description: "Information identifier. The only supported values are the ones returned by getAvailableNodeInfoItems function."
returns:
type: result<string, error>

getAvailableConfigs:
description: "Returns a list of all available options, their description and default values."
returns:
type: string
```

## The Validation API

[WAKU2-RLN-RELAY](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/17/rln-relay.md) is currently the primary message validation mechanism in place.
Expand Down