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

organize utlility functions in 'utils' (client-lib) #166

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

NicolaLS
Copy link
Contributor

the fn moved are also useful for future modules (clientd for example) and should not only be in the mint-client bin

Copy link
Member

@maan2003 maan2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also wanted this for web client.

I made similar patch

Re-exporting bitcoin_hashes::hex::ToHex will help avoid direct dependency on bitcoin_hashes

Copy link
Contributor

@elsirion elsirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few ideas on how this could develop going forward:

  • remove (de-)serialize_coins or make it hex based since few to no people will directly use coins once bidirectional LN works
  • write our own hex impl? It's not that hard and one less dependency, otoh we could use crev to just review it (hex in particular should be rather stable 😄). crev will probably be the solution once we stabilize the project step by step.

But looks good and is useful now.

@elsirion elsirion merged commit 35e67ee into fedimint:master Jun 22, 2022
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