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

Make Signer optional & make ecdsa_util.h private #34

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

jagerman
Copy link
Member

@jagerman jagerman commented Sep 26, 2024

  • oxen-core doesn't need ethyl's Signer class at all, so add an option to allow disabling it (so that we can also avoid unnecessarily dependency or embedded libsecp256k1 in oxen-core).
  • ecdsa_util.h is a private implementation header not meant to be installed with the main ethyl includes, so move it to src/ instead.
  • remove unused "headers" variable.

secp256k1 in particular is a problem because it likes to inject compiler arguments that don't actually work (particularly on Ubuntu focal). Since we don't seem to need the signing capability outside test suites (ethyl's own, and eth-sn-contracts), this allows disables building it so that we can avoid the secp256k1 dependency for oxen-core.

- oxen-core doesn't need ethyl's Signer class at all, so add an option
  to allow disabling it (so that we can also avoid unnecessarily
  dependency or embedded libsecp256k1 in oxen-core).
- ecdsa_util.h is a private implementation header not meant to be
  installed with the main ethyl includes, so move it to src/ instead.
- remove unused "headers" variable.
@jagerman jagerman merged commit d4eb24a into oxen-io:master Sep 26, 2024
1 check passed
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.

1 participant