1cb6c3d9e1
* Threadpool: eventcount didn't put threads to actual sleep :/ * rework task awaiter sleep to prevent use-after-free race condition after task completion * Need memory fence for StoreLoad synchronization ordering * update design doc * set memory order in sleep of eventcount * cleanup debug logs * comment cleanup [skip ci] |
||
---|---|---|
.. | ||
ciphers | ||
hash_to_curve | ||
hashes | ||
kdf | ||
mac | ||
math | ||
math_gpu | ||
platforms | ||
signatures | ||
README.md | ||
blssig_pop_on_bls12381_g2.nim | ||
curves_primitives.nim | ||
ethereum_eip2333_bls12381_key_derivation.nim | ||
ethereum_evm_precompiles.nim | ||
hashes.nim |
README.md
Constantine-backed protocols
This folder stores protocol implemented on top of Constantine.
Ethereum Virtual Machine
Constantine implements precompiles primitives for the Ethereum virtual machine
- ECADD on BN254_Snarks (called
alt_bn128
in Ethereum), address 0x6, spec EIP-196 and pricing EIP-1108 - ECMUL on BN254_Snarks (called
alt_bn128
in Ethereum), address 0x7, spec EIP-196 and pricing EIP-1108 - ECPAIRING on BN254_Snarks (called
alt_bn128
in Ethereum), address 0x8, spec EIP-197 and pricing EIP-1108
Their main use-case is for use zero-knowledge proofs and zkRollups and be compatible with work on Zcash
- Succinct Non-Interactive Zero Knowledge
for a von Neumann Architecture
Eli Ben-Sasson, Alessandro Chiesa, Eran Tromer, Madars Virza
https://eprint.iacr.org/2013/879.pdf