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

Set tspend & treasury policies. #319

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Conversation

jholdstock
Copy link
Member

@jholdstock jholdstock commented Jan 25, 2022

This allows both tspend and treasury policies to be set by clients on a per-ticket basis. Preferences can be set when initially registering a ticket with /payfee, and can be later updated using /setvotechoices.

Any requests which alter treasury/tspend policy will be stored in the database using the existing accountability system.

Note: This does not include consistency checking, it will need to be added later when dcrwallet has an RPC to retrieve policies in batches.

Part of #234

@jholdstock jholdstock force-pushed the treasury-vote branch 2 times, most recently from c7c99bf to 47838fe Compare February 2, 2022 16:16
This allows both tspend and treasury policies to be set by clients on a per-ticket basis. Preferences can be set when initially registering a ticket with `/payfee`, and can be later updated using `/setvotechoices`.

Any requests which alter treasury/tspend policy will be stored in the database using the existing accountability system.

**Note:** This does not include consistency checking, it will need to be added later when dcrwallet has an RPC to retrieve policies in batches.
@jholdstock jholdstock marked this pull request as ready for review February 2, 2022 16:32
@dajohi dajohi merged commit da1cb8f into decred:master Feb 4, 2022
@jholdstock jholdstock deleted the treasury-vote branch September 20, 2023 08:22
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 this pull request may close these issues.

2 participants