You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is part of IPFS integration.
Tested version: brave-browser-nightly-1.20.36-linux-amd64
Background
chrome.ipfs.launch executed on empty profile triggers go-ipfs download, initializes the repo and starts the IPFS node.
This is good! makes it possible to integrate launch and shutdown with backend selector in IPFS Companion extension Preferences:
I noticed that calling chrome.ipfs.launch from IPFS Companion does not change value returned by chrome.ipfs.getResolveMethodType.
The node is installed and started, IPFS node is running, but the ResolveMethodType setting remains at ask which will result in redundant backend selection prompt: user already chose Brave, no need to ask them again when they load something via ipfs://
Expected behavior
Would it be possible for:
launch to flip it to local
shutdown to gateway
?
This way, when node Brave backend was selected via Preferences screen above, no additional confirmation needs to happen, and if Companion user decides to use a different backend, then node can be shut down automatically and with ResolveMethodType equal gateway it will continue to work nicely with external nodes (for example: if "external" node type is selected via Companion, it will redirect dweb.link to gateway provided by IPFS Desktop)
Alternative behavior
make chrome.ipfs.launch trigger "IPFS consent" dropdown, and return false if user chose to not enable node.
The text was updated successfully, but these errors were encountered:
I think this is not a bug. I think it was probably posted because before launch was incorrectly starting the node. Closing, but let me know if you disagree.
This issue is part of IPFS integration.
Tested version:
brave-browser-nightly-1.20.36-linux-amd64
Background
chrome.ipfs.launch
executed on empty profile triggers go-ipfs download, initializes the repo and starts the IPFS node.This is good! makes it possible to integrate
launch
andshutdown
with backend selector in IPFS Companion extension Preferences:The bug(?)
I noticed that calling
chrome.ipfs.launch
from IPFS Companion does not change value returned bychrome.ipfs.getResolveMethodType
.The node is installed and started, IPFS node is running, but the
ResolveMethodType
setting remains atask
which will result in redundant backend selection prompt: user already chose Brave, no need to ask them again when they load something viaipfs://
Expected behavior
Would it be possible for:
launch
to flip it tolocal
shutdown
togateway
?
This way, when node Brave backend was selected via Preferences screen above, no additional confirmation needs to happen, and if Companion user decides to use a different backend, then node can be shut down automatically and with
ResolveMethodType
equalgateway
it will continue to work nicely with external nodes (for example: if "external" node type is selected via Companion, it will redirectdweb.link
to gateway provided by IPFS Desktop)Alternative behavior
make
chrome.ipfs.launch
trigger "IPFS consent" dropdown, and returnfalse
if user chose to not enable node.The text was updated successfully, but these errors were encountered: