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

feat: wallet selects previous checkpoint for spending #4236

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jun 28, 2022

Description

  • adds ContractOutput filter to UtxoSelectionCriteria
  • adds output features param to send_transaction functions
  • fixes input metadata mismatch when spending contract utxos
  • changes dan to submit initial checkpoint for first checkpoint (todo: dan needs to keep track of checkpoints)

Motivation and Context

Allows wallet to select contract utxos when spending and allows for particular output features to be specified for the non-change output.

How Has This Been Tested?

Basic unit test.
Manually - VN posts initial and follow up checkpoint that spends previous checkpoint

@stringhandler stringhandler merged commit 90a5ec3 into tari-project:development Jun 29, 2022
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.

None yet

2 participants