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 ability to specify tspend policy by transaction hash #1905

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

jrick
Copy link
Member

@jrick jrick commented Oct 29, 2020

Setting a policy for a particular tspend transaction overrides any
policy set for the pi key which signed the tspend.

New settspendpolicy/tspendpolicy JSON-RPC methods are added to return
and configure the policy for tspends by hash. The policies returned
by tspendpolicy will fallback to the pi key policy if the tspend is
known and the pi key has a policy set.

Setting a policy for a particular tspend transaction overrides any
policy set for the pi key which signed the tspend.

New settspendpolicy/tspendpolicy JSON-RPC methods are added to return
and configure the policy for tspends by hash.  The policies returned
by tspendpolicy will fallback to the pi key policy if the tspend is
known and the pi key has a policy set.
@jrick jrick merged commit 9c48a62 into decred:master Oct 29, 2020
@jrick jrick deleted the tspendpolicy branch October 29, 2020 20:24
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