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

GuldenD witness index #154

Open
blieb opened this issue Feb 8, 2019 · 0 comments
Open

GuldenD witness index #154

blieb opened this issue Feb 8, 2019 · 0 comments

Comments

@blieb
Copy link
Contributor

blieb commented Feb 8, 2019

At the moment it takes a lot time to request witnessinfo of old blocks. I can take more than 60s. Maybe a good option to add option for indexing the witnessinfo for blocks like the txindex option for transactions.

# time Gulden-cli getwitnessinfo 295af50cfd7c98f4f2d10d3097821ed5648f686a4a6e6bf5e05351e02e220f81
[
  {
    "pow2_phase": 2,
    "number_of_witnesses_raw": 16,
    "number_of_witnesses_total": 16,
    "number_of_witnesses_eligible": 0,
    "total_witness_weight_raw": 4369988,
    "total_witness_weight_eligible_raw": 0,
    "total_witness_weight_eligible_adjusted": 0,
    "selected_witness_address": ""
  }
]

real    0m32.369s
user    0m0.000s
sys    0m0.004s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants