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

Wip #314

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
Draft

Wip #314

wants to merge 8 commits into from

Conversation

bigspider
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.70%. Comparing base (e6fa5ea) to head (1e2b392).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #314   +/-   ##
========================================
  Coverage    84.70%   84.70%           
========================================
  Files           17       17           
  Lines         2230     2230           
========================================
  Hits          1889     1889           
  Misses         341      341           
Flag Coverage Δ
unittests 84.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…of sign_psbt.

Created separate utility modules instead.
Deleted the 'update_hashes_with_map_value' module, as it was only used in
the new txhashes.c module.

Cleaned up interface of the various compute_sighash_* functions.
Avoid taking the key placeholder as an argument, and declare some
of the arguments as const pointers.
- Compute internal_inputs_total_amount
- Allow sign_psbt to continue even if no wallet_policy is specified
- Disable checks that do not make sense if no wallet policy is present
- Fail if sighash is not ALL/DEFAULT
- Delete swap-related checks
- Delete display_transaction and related functions
- Add weak functions validate_and_display_transaction and sign_custom_inputs to allow derived apps to hook into the signing flow
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