Skip to content

Conformance to exported symbols #5

@stickies-v

Description

@stickies-v

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):

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_ScriptVerificationFlags has a WITNESS member, but it is called VERIFY_WITNESS in kernel-bindings-tests
  • btck exports a btck_ScriptVerifyStatus enum, but it is called ScriptVerify in kernel-bindings-tests
  • as already suggested on IRC, aligning method naming with btck functions would make sense

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions