Skip to content

fetch beacon entries from gossipsub #7414

Description

@LesnyRumcajs

Summary

See spike at #7364

Right now, when we need beacon entries, we query the https relay; we could avoid our reliance on that by using the dedicated gossipsub topic and feeding it into a cache.

We might also that would somehow resubscribe to the topic in case we don't get queries for longer period.

Completion Criteria

  • Feed beacon entries from gossipsub to the drand cache.
  • Test that it works correctly, e.g., drop drand https relays and ensure recent queries to MinerGetBaseInfo work fine without it.
  • Watchdog

Additional Links & Resources

Metadata

Metadata

Labels

Type: TaskDiscrete task to implement

Type

No type

Projects

Status
New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions