Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Fix target_v3 to not factor in "inactive" hotspots #1169

Open
vihu opened this issue Dec 21, 2021 · 0 comments
Open

Fix target_v3 to not factor in "inactive" hotspots #1169

vihu opened this issue Dec 21, 2021 · 0 comments
Assignees

Comments

@vihu
Copy link
Member

vihu commented Dec 21, 2021

blockchain_poc_target_v3 module uses blockchain_ledger_v1:get_hexes_list which returns the raw count of hexes (in the region regardless of their POC activity); this results in a targeting a lot of potentially stale hotspots.

Proposed Solution:

  • Make h3dex data structure garbage collect "inactive" hotspots. This would naturally filter out inactive hexes and we won't have to modify other pieces.
@vihu vihu self-assigned this Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant