enhancement/strict-no-sign (#294)

* strict no sign

* Update CHANGELOG.md
This commit is contained in:
Dean Eigenmann 2020-12-17 17:06:59 +01:00 committed by GitHub
parent d6bafcf697
commit f6e80f9ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- Calls to `publish` a message on `wakunode2` now `await` instead of `discard` dispatched [`WakuRelay`](https://github.com/vacp2p/specs/blob/master/specs/waku/v2/waku-relay.md) procedures
- Added JSON-RPC Admin API to retrieve information about peers registered on the `wakunode2`
- `StrictNoSign` enabled.
## 2020-11-30 v0.1

View File

@ -35,6 +35,12 @@ method init*(w: WakuRelay) =
method initPubSub*(w: WakuRelay) =
debug "initWakuRelay"
# after discussions with @sinkingsugar, this is essentially what is needed for
# the libp2p `StrictNoSign` policy
w.anonymize = true
w.verifySignature = false
w.sign = false
procCall GossipSub(w).initPubSub()
w.init()