Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add per-ticket treasury key and tspend policies
The four JSON-RPC methods that deal with setting and returning approval policies for tspend transactions (settreasurypolicy, settspendpolicy, treasurypolicy, tspendpolicy) gain an additional optional parameter for a ticket hash. When this hash is provided, the policies set or returned by these methods are bound to a specific ticket. This functionality will be used by vspd to set per-ticket tspend approval policies on its voting wallets. Solo voters should never need to use the per-ticket policies.
- Loading branch information
Showing
9 changed files
with
392 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.