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

Overlay online/offline status on hotspots #280

Open
ChewingGlass opened this issue Jun 7, 2023 · 3 comments
Open

Overlay online/offline status on hotspots #280

ChewingGlass opened this issue Jun 7, 2023 · 3 comments
Assignees

Comments

@ChewingGlass
Copy link
Collaborator

No description provided.

@ke6jjj
Copy link
Contributor

ke6jjj commented Jun 7, 2023

I propose that we synthesize a Hotspot's online status from six Oracle data sources. We look for any evidence of a Hotspot being named in these data sources and take the most recent timestamp we can find in the results and use that as the last activity time.

Oracles

Reports to scrape

Oracle S3 Pattern Report type Hotspot field
IOT Ingestor iot_beacon_ingest_report.* IotBeaconIngestReport report.pubkey
IOT Ingestor iot_witness_ingest_report.* IotWitnessIngestReport report.pubkey
MOBILE Ingestor heartbeat_report.* CellHeartbeatIngestReport report.pub_key
MOBILE Ingestor speedtest_report.* CellSpeedtestIngestReport report.pub_key
MOBILE Ingestor data_transfer_session_ingest_report.* DataTransferSessionIngestReport report.pub_key
Helium Packet Router packetreport.* PacketRouterPacketReportV1 gateway

@riobah
Copy link

riobah commented Jun 7, 2023

Can keeping the existing approach of basing the state on last beacon time only, be an option?
Hotspots beacon themselves now and this makes this data something to rely on.

Also keeping the logic as simple as possible can be something nice I guess, in terms of explaining to the users as well as potential issues.

@riobah
Copy link

riobah commented Jun 29, 2023

Another option can be the existence of rewards for the hotspots in the last epoch. As rewards are actually a function of multiple activities, if the hotspot has any reward for the most recent epoch, we can consider it active and inactive otherwise.

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

When branches are created from issues, their pull requests are automatically linked.

4 participants