Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

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

@pollastri-pierre

Description

@pollastri-pierre

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
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions