Added possible enhancement for #14, #23 and #3

pull/24/head
マリウス 3 years ago
parent 542778656f
commit 2781f76f35
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

@ -41,7 +41,7 @@ func createNode(ctx context.Context, repoPath string) (*core.IpfsNode, icore.Cor
nodeOptions := &core.BuildCfg{
Online: true,
Routing: libp2p.DHTOption,
Routing: libp2p.DHTClientOption, // DHTOption
Repo: repo,
ExtraOpts: map[string]bool{
"pubsub": true,

Loading…
Cancel
Save