Skip to content

Conversation

@sanket1729
Copy link
Contributor

@sanket1729 sanket1729 commented May 21, 2021

#1002 only implements tests for taproot sighash that spend from non-confidential txouts. Since, we do not yet have wallet support, it is not possible to use regular blinding rpcs to spend from confidential txouts. This adds support for python test framework for creating blinding transactions using bindings from @dgpv.

@apoelstra suggested that we should not be merging these bindings here because 1) they will create platform/architecture dependency for tests. and 2) the bindings rely on .so file and we do not want to touch the build system to enforce this in CI.

Regardless, this PR can aid in the review of #1002 or can help writing blinding/CT logic in the future too. The test has instructions on how to run it.

The code quality of the test is not the best, but if we want to merge this I can work on improving the test.

Marking as draft because we don't expect these tests to be merged.

@sanket1729 sanket1729 changed the title Taproot test (python bindings for secp256k1-zkp) Taproot tests using python bindings for secp256k1-zkp May 21, 2021
@apoelstra
Copy link
Member

Now that #1002 is merged I am going to close this.

For the avoidance of doubt, this is a no-merge because it includes Python bindings to libsecp256k1-zkp which put additional system requirements on build machines, and which are forked off of a 3rd-party (Dmitry)'s project, which would mean an ongoing maintanance/syncing requirem.nt

@apoelstra apoelstra closed this Jul 8, 2021
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.

3 participants