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

Create helper functions for ledger.Transaction to returned consumed inputs and produced outputs #606

Closed
agaffney opened this issue May 2, 2024 · 0 comments · Fixed by #607
Assignees

Comments

@agaffney
Copy link
Contributor

agaffney commented May 2, 2024

This is mostly needed to handle different behavior when a transaction is marked as "valid" or not. If it's valid, we want to return the standard TX inputs and outputs. If it's marked as not valid, we want to return the collateral inputs and/or collateral return value(s). We only want this on ledger.Transaction and not ledger.TransactionBody because we need information outside of the TX body to make the determination on validity.

@agaffney agaffney self-assigned this May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
agaffney added a commit that referenced this issue May 2, 2024
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 a pull request may close this issue.

1 participant