-
Notifications
You must be signed in to change notification settings - Fork 141
Description
Background
in #289, there's an example showing how to start helia with Libp2p disabled:
const helia = await createHelia({
blockBrokers: [
trustlessGateway()
],
libp2p: {
start: false
}
})The type for libp2p is defined here: https://github.com/libp2p/js-libp2p/blob/d994311cc9b59cdcbd5968bb7799b7fbe14a8961/packages/libp2p/src/index.ts#L125
However, when starting Helia like that, Helia still attempts to open quite a lot of libp2p connections to the bootstrappers and other nodes.
What should be the recommended configuration for this?
Reproduction
See the example here: https://stackblitz.com/edit/github-cadjaa?file=src%2Fprovider%2FHeliaProvider.jsx
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels