-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
I came across a couple of symbols that don't seem to be exported in bitcoinkernel.h (at least not in the current master branch):
VERIFY_ALL_PRE_TAPROOTwhich is not a member ofbtck_ScriptVerificationFlagsScriptVerify.SpentOutputsMismatchand a couple of others which are not members ofbtck_ScriptVerifyStatus
This forces language bindings to implement business logic in the wrapper layer just to be spec compliant. I think any such cases should be left out of the test spec until they are exported in bitcoinkernel.h on master.
In the same vein, I think we should strive for the test spec to following btck naming conventions as much as possible. For example:
btck_ScriptVerificationFlagshas aWITNESSmember, but it is calledVERIFY_WITNESSinkernel-bindings-testsbtckexports abtck_ScriptVerifyStatusenum, but it is calledScriptVerifyinkernel-bindings-tests- as already suggested on IRC, aligning method naming with
btckfunctions would make sense
janb84 and stringintech
Metadata
Metadata
Assignees
Labels
No labels