mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-02 06:16:03 -04:00
Snark test
This commit is contained in:
parent
3fe8b1cb3a
commit
fbbc43c54c
3 changed files with 143 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
include "../node_modules/circomlib/circuits/bitify.circom";
|
||||
include "../node_modules/circomlib/circuits/mimcsponge.circom";
|
||||
|
||||
// Computes MiMC(left + right)
|
||||
|
@ -71,4 +70,4 @@ template MerkleTree(levels, rounds) {
|
|||
}
|
||||
|
||||
root === hashers[levels - 1].hash;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue