Skip to content

Conversation

@raymondjacobson
Copy link
Member

Get parity with load-balancer frontend, so we can remove it and hit api directly

  • Remove content_node_monitor and just use the validators list that comes from the core node
  • Add unsplash endpoint
  • Add /discovery, /discovery/verbose, /content, /content/verbose endpoints
  • Update root endpoint to return same data as https://api.audius.co/ currently does in a data field

Copy link
Contributor

@rickyrombo rickyrombo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little indirect with the global refresh for the node list living in some extra file and global rendezvous hasher.. but I get it. for testing it might make sense to refactor away from globals in the future.

api/server.go Outdated
"started": app.started,
"uptime": time.Since(app.started).Truncate(time.Second).String(),
"data": []string{
"https://discoveryprovider.audius.co",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe https://api.audius.co? (doesn't this just redirect?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah true true

Endpoint string
// The individual wallet address for the node
DelegateOwnerWallet string
DelegateWallet string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise

DelegateWallet string
// The wallet address for the node owner/operator
OwnerWallet string
Owner string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeebuz

config/nodes.go Outdated
// The wallet address for the node owner/operator
OwnerWallet string
Owner string
// Discovery Nodes have storage disabled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@raymondjacobson
Copy link
Member Author

A little indirect with the global refresh for the node list living in some extra file and global rendezvous hasher.. but I get it. for testing it might make sense to refactor away from globals in the future.

Yeah I agree. I think this PR improves things and doesn't add any new globals really, but it isn't perfect.

@raymondjacobson raymondjacobson merged commit 6a74d79 into main Dec 17, 2025
5 checks passed
@raymondjacobson raymondjacobson deleted the rj-lb branch December 17, 2025 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants