mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
enhancement/strict-no-sign (#294)
* strict no sign * Update CHANGELOG.md
This commit is contained in:
parent
cfe5162a9d
commit
2c2990bd50
@ -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
|
- 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`
|
- Added JSON-RPC Admin API to retrieve information about peers registered on the `wakunode2`
|
||||||
|
- `StrictNoSign` enabled.
|
||||||
|
|
||||||
## 2020-11-30 v0.1
|
## 2020-11-30 v0.1
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,12 @@ method init*(w: WakuRelay) =
|
|||||||
method initPubSub*(w: WakuRelay) =
|
method initPubSub*(w: WakuRelay) =
|
||||||
debug "initWakuRelay"
|
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()
|
procCall GossipSub(w).initPubSub()
|
||||||
|
|
||||||
w.init()
|
w.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user