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

Add the ability to configure hash algorithm for BitcoinLike currencies #30

Open
pollastri-pierre opened this issue Aug 2, 2018 · 0 comments

Comments

@pollastri-pierre
Copy link
Member

Currently we only use sha256 as the hashing algorithm for blockchain protocols based on Bitcoin. Some currencies are using different hashing algorithm and we need to abstract this.

The most flexible solution will be to abstract hashing for every single case we need to hash:

  • The hash function used to compute transaction hash
  • The hash function used to derive public keys
  • Hash function to compute challenge to sign
  • ...
hzheng-ledger pushed a commit to hzheng-ledger/lib-ledger-core that referenced this issue Apr 28, 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

No branches or pull requests

1 participant