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

Pretty print transaction plan in threshold custody using view #4572

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

cronokirby
Copy link
Contributor

This converts the plan into a view, using dummy values, so that we can reuse the existing formatting.

This only handles outputs and spends, but that should be enough for 90% of use cases, the rest of which can look at the JSON.

Closes #3444.

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    Just changes how pcli prints stuff to stdout

This converts the plan into a view, using dummy values, so that we can
reuse the existing formatting.

This only handles outputs and spends, but that should be enough for 90%
of use cases, the rest of which can look at the JSON.
@aubrika aubrika self-requested a review June 6, 2024 22:25
@cronokirby cronokirby merged commit ac93f5f into main Jun 10, 2024
13 checks passed
@cronokirby cronokirby deleted the 3444-transaction-plan-pretty branch June 10, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add pretty-printing method for TransactionPlan
2 participants