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

add unpermissioned getters for money supply and population size stats #7

Closed
brenzi opened this issue Jun 6, 2020 · 2 comments · Fixed by #16
Closed

add unpermissioned getters for money supply and population size stats #7

brenzi opened this issue Jun 6, 2020 · 2 comments · Fixed by #16
Assignees

Comments

@brenzi
Copy link
Member

brenzi commented Jun 6, 2020

The worker api should expose public getter interfaces too.
Anyone should be allowed to read

  • EncointerBalances TotalIssuance (cid) per currency for the current ceremony
  • EncointerCeremonies ParticipantCount (cid) ONLY during phases ASSIGNING or ATTESTING. During REGISTERING updates would leak personal information. We could return the last ceremony's count instead during that time (Need to implement a custom getter)
  • EncointerCeremonies MeetupCount (cid) per currency for the current ceremony
  • EncointerCeremonies CeremonyReward (cid)
  • EncointerCeremonies LocationTolerance (cid)
  • EncointerCeremonies TimeTolerance (cid)

We might want to introduce a non-authenticated PublicGetter(...) upstream which will be defined in the STF.

@brenzi
Copy link
Member Author

brenzi commented Jun 6, 2020

This will enable to resolve encointer/explorer#12

@brenzi brenzi self-assigned this Jun 23, 2020
brenzi pushed a commit that referenced this issue Jun 23, 2020
brenzi added a commit that referenced this issue Jun 23, 2020
* fixes #7

* add total-issuance to client CLI

* bump version to 0.6.7

* document new function in script
@brenzi brenzi reopened this Jun 23, 2020
@brenzi
Copy link
Member Author

brenzi commented Jun 23, 2020

only total-issuance has been implemented. need to do the rest as well

brenzi pushed a commit that referenced this issue Jun 24, 2020
@brenzi brenzi closed this as completed in 53e9ef9 Jun 24, 2020
brenzi added a commit that referenced this issue Sep 8, 2020
* fixes #7

* add total-issuance to client CLI

* bump version to 0.6.7

* document new function in script
brenzi added a commit that referenced this issue Sep 8, 2020
* fixes #7

* add total-issuance to client CLI

* bump version to 0.6.7

* document new function in script
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

Successfully merging a pull request may close this issue.

1 participant