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

feat: build merkle root, merkle tree and merkle proof with Rust #52

Closed
wants to merge 6 commits into from

Conversation

olivmath
Copy link
Owner

No description provided.

@olivmath olivmath added the feat Adds a feature that didn't exist before label Dec 31, 2023
@olivmath olivmath self-assigned this Dec 31, 2023
merkly/accelerator/mtreers.py Fixed Show fixed Hide fixed
test/accelerator/test_accelerator.py Fixed Show fixed Hide fixed
test/accelerator/test_accelerator.py Fixed Show fixed Hide fixed
test/accelerator/test_accelerator.py Fixed Show fixed Hide fixed
@@ -0,0 +1,45 @@
from Crypto.Hash import keccak

Check failure

Code scanning / Bandit

The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error test

The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library.

from merkly.accelerator.mtreers import MTreers
from merkly.mtree import MerkleTree
from Crypto.Hash import keccak

Check failure

Code scanning / Bandit

The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error test

The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library.
test/accelerator/test_accelerator.py Fixed Show fixed Hide fixed
test/accelerator/test_accelerator.py Fixed Show fixed Hide fixed
@olivmath olivmath linked an issue Jan 28, 2024 that may be closed by this pull request
print(tree.human_leaves)
treers.make_root(hash_leaves)

assert 1 == 2

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
@olivmath olivmath closed this Jun 1, 2024
@olivmath olivmath deleted the feat/accelerator-rs branch June 1, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Adds a feature that didn't exist before
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Performance
1 participant