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

Dump DAO voting data on disk #5290

Closed
m52go opened this issue Mar 9, 2021 · 3 comments
Closed

Dump DAO voting data on disk #5290

m52go opened this issue Mar 9, 2021 · 3 comments

Comments

@m52go
Copy link
Contributor

m52go commented Mar 9, 2021

On DAO > Governance > Vote Results, there's an Export to JSON feature.

export-json

Could we have this export feature executed at intervals, perhaps dumping the data in the btcmainnet/db folder like all other data?

Doing this would enable the mempool guys to implement DAO reporting items for the dashboard.

@BtcContributor
Copy link
Contributor

I can take care of this.

@m52go do you have specific ideas regarding the intervals? As the app would be closed most of the time I guess.

@m52go
Copy link
Contributor Author

m52go commented Mar 12, 2021

Vote results only update at the end of a cycle, so something like this should be sufficient:

  • on program start, dump data
  • at the end of voting cycle, when results are determined, dump data

But the vast majority of users don't need this feature, so it might make more sense to dump only when the user specifies a program argument (maybe make a new one like dumpVoteResults or something) as already done for offer statistics and trade statistics.

Would be good to run this thinking by a developer more familiar with the DAO though.

@m52go
Copy link
Contributor Author

m52go commented Mar 21, 2022

Would be useful to have this...but closing since it has no activity in over a year, and the dashboard it was supposed to enable has already been delivered.

@m52go m52go closed this as completed Mar 21, 2022
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