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

pox_is_active sometimes set to true when it shouldn't be #5282

Open
CharlieC3 opened this issue Oct 7, 2024 · 0 comments
Open

pox_is_active sometimes set to true when it shouldn't be #5282

CharlieC3 opened this issue Oct 7, 2024 · 0 comments

Comments

@CharlieC3
Copy link
Member

It seems a node can sometimes find itself in a scenario where pox_is_active on /v2/pox shows true when the amount of stacked stacks is less than the pox activation threshold:

  "current_cycle": {
    "id": 224,
    "min_threshold_ustx": 2166760000000000,
    "stacked_ustx": 0,
    "is_pox_active": true
  },

This happened in a closed regtest deployment which resulted in a stall because of pox deactivating, so I'm not sure of the likelihood of this occurring in a bigger open network. But it's still a strange result. It seems internally the node is aware pox is deactivated but the data it displays externally is getting the status from elsewhere that doesn't get updated as frequently.
Here's a link to a chainstate from the aforementioned stalled node in this state: https://drive.google.com/file/d/1NYceDhEEyPPx8FWMA25ce45QC8gzZ4c9/view?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

1 participant