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

Implement full (Proof-of-funds) #20

Open
raphjaph opened this issue Aug 9, 2024 · 0 comments
Open

Implement full (Proof-of-funds) #20

raphjaph opened this issue Aug 9, 2024 · 0 comments

Comments

@raphjaph
Copy link
Collaborator

raphjaph commented Aug 9, 2024

@diehuxx What do you think of this interface for proof-of-funds?

pub fn full_verify(address: &Address, message: &str, to_sign_base64: &str, utxos: BTreeMap<OutPoint, TxOut>)

The same function as full only with an optional parameter specifying the utxos that are being signed for. If utxos contains more than the inputs signed for then it should error. This would prevent the user from thinking that the function is verifying the utxos being passed in.

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

No branches or pull requests

1 participant