Set pubsub options with sign/strictsign off

This commit is contained in:
Oskar Thoren 2020-10-16 13:32:18 +08:00
parent 6c445a9c5d
commit 24ca07fd1c
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
2 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,12 @@ const createLibp2p = async (peerId) => {
randomWalk: { randomWalk: {
enabled: true enabled: true
} }
},
pubsub: {
enabled: true,
emitSelf: true,
signMessages: false,
strictSigning: false
} }
} }
}) })

View File

@ -58,6 +58,12 @@ const multiaddr = require('multiaddr')
randomWalk: { randomWalk: {
enabled: true enabled: true
} }
},
pubsub: {
enabled: true,
emitSelf: true,
signMessages: false,
strictSigning: false
} }
} }
}) })