question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run go-ipfs with brave agent version suffix

See original GitHub issue

go-ipfs 0.10.0 shipped with support for running ipfs daemon with custom --agent-version-suffix (https://github.com/ipfs/go-ipfs/pull/8419)

Soon, we will be running our ipfs-desktop nodes with --agent-version-suffix=desktop, and it would be useful to run Brave instances with --agent-version-suffix=brave to have better insight into metrics / DHT distribution / usage patterns.

Agent Version can be read via ipfs id | jq .AgentVersion:

  • go-ipfs/0.10.0/ - standalone go-ipfs binary
  • go-ipfs/0.10.0/desktop - node managed by IPFS Desktop
  • go-ipfs/0.10.0/brave - node managed by Brave

@bbondy @autonome Thoughts? I remember we wanted to do this a while ago, but it was not possible without recompiling go-ipfs. (Now it’s just a runtime flag which we could enable after upgrading Brave to go-ipfs 0.10.0)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kjozwiakcommented, Oct 13, 2021

Adding QA/Blocked as the above will require a 1.31.x RC which I’m hoping to kick off tonight 👍 We’ll need 1.31.84 or higher. @stephendonner mind doing a quick spot check on the RC once it’s done? Thanks!

0reactions
stephendonnercommented, Oct 13, 2021

Verified PASSED using

Brave 1.31.84 Chromium: 95.0.4638.40 (Official Build) (x86_64)
Revision e3e7c76ba0284b16087cf4cf3153abfaef6470c7-refs/branch-heads/4638@{#624}
OS macOS Version 11.6 (Build 20G165)

Steps:

  1. new profile
  2. launched Brave
  3. opened brave://ipfs and clicked Install and start (confirmed I got go-ipfs 0.10.0)
  4. in Terminal.app, entered ps | ax | grep go-ipfs
  5. confirmed I saw --agent-version-suffix=brave in the output
  6. confirmed brave shows up now under Node info on brave://ipfs
Screen Shot 2021-10-13 at 8 36 51 AM
stephendonner@Stephens-MBP ~ % ps ax | grep go-ipfs
20619   ??  S      0:02.36 /Users/stephendonner/Library/Application Support/BraveSoftware/Brave-Browser/nljcddpbnaianmglkpkneakjaapinabi/1.0.10/go-ipfs_v0.10.0_darwin-amd64 daemon --migrate=true --enable-gc --routing=dhtclient --agent-version-suffix=brave
20628 s000  S+     0:00.00 grep go-ipfs
Read more comments on GitHub >

github_iconTop Results From Across the Web

IPFS Support in Brave
The go-ipfs component manages just one store of data and we configure it to run garbage collection every hour if the cache is...
Read more >
Brave 1.31.87 Adds Custom Filter Lists to Adblock and More
Added Brave agent version suffix to go-ipfs. Updated default search engine to Brave Search for new installations in certain regions.
Read more >
Brave Browser 1.46.134 Download for Mac / Change Log ...
Brave agent version suffix to go-ipfs - Updated default search engine to Brave Search for new installations in certain regions
Read more >
Brave Browser Discussion & Update Thread | Page 26 | Wilders ...
Brave 1.30 introduces a new option for devices running Windows 10 or Windows 11, ... The Nightly version of the Brave desktop browser...
Read more >
Read more - GitHub
For more information, see: - Documentation: [ Run IPFS inside ... feat(cli): add daemon option --agent-version-suffix (#8419) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found