Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing profiles in the Dogemap pup #4

Open
raffecat opened this issue Oct 9, 2024 · 0 comments
Open

Viewing profiles in the Dogemap pup #4

raffecat opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@raffecat
Copy link
Contributor

raffecat commented Oct 9, 2024

We need a way to view Identity profiles on the Dogemap.

This touches a number of components:

  • ✅ dogenet: include identity pubkey in dogenet-node metadata when getting nodes for the map
  • ✅ identity: an API to get profiles, given identity pubkeys
  • ✅ identity: filter out invalid profiles (that don't contain the node pubkey)
  • dogemap-ui: filter set of nodes in hex, get profile chits
  • dogemap-ui: web component to display profile chits
  • dogemap-ui: sidebar to display profile chits
  • dogeboxd: optional dependencies: dogemap -> core, dogemap -> identity

After discussions about problems with dogenet not knowing the identity profiles, and therefore latitudes and longitudes, when it returns the node list to dogemap, we'll create a new dogemap backend:

  • ✅ takes over geo-ip lookups (from dogenet)
  • ✅ takes over core-node indexing (from dogenet) (optional dependency on core)
  • ✅ generates the node list for DogeMap:
    • ✅ fetches all dogenet nodes from dogenet
    • ✅ queries identity service for all known profiles for these nodes
    • ✅ performs geo-ip lookups for all nodes without a profile
    • ✅ looks up all core nodes in its database
    • ✅ returns the merged set of all nodes
  • ✅ get profile chits api:
    • queries identity service for all known profiles, for requested nodes
    • returns placeholder profiles for all remaining nodes

OK that's the basic shape of it.

@raffecat raffecat moved this to Accepted / Todo in Dogebox Oct 9, 2024
@raffecat raffecat added this to Dogebox Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants