Skip to content

Refactoring the SighashInfo portion of the transaction#49

Merged
vivek-arte merged 5 commits into
zsa1from
refactor_for_sighash_info
Jan 19, 2026
Merged

Refactoring the SighashInfo portion of the transaction#49
vivek-arte merged 5 commits into
zsa1from
refactor_for_sighash_info

Conversation

@vivek-arte
Copy link
Copy Markdown

@vivek-arte vivek-arte commented Jan 16, 2026

This PR refactors the portions of the TransactionBase class so that it does not need to use the version_group_id to decide behaviour - the way it behaves is decided by redefinition of the added functions in the child classes (aka TransactionV5 and TransactionV6).

This refactor does not affect the generated test vectors.

@vivek-arte vivek-arte requested a review from PaulLaux January 16, 2026 13:34
PaulLaux
PaulLaux previously approved these changes Jan 19, 2026
Copy link
Copy Markdown

@PaulLaux PaulLaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with minor fixes

Comment thread zcash_test_vectors/transaction.py Outdated
Comment thread zcash_test_vectors/transaction.py Outdated
Comment thread zcash_test_vectors/transaction.py Outdated
@vivek-arte vivek-arte merged commit f12d9a5 into zsa1 Jan 19, 2026
3 checks passed
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