mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-31 12:31:22 +00:00
Move Field operations to operator-backed traits
The ff_derive, pairing, zcash_primitives::jubjub, and bellman dummy_engine changes are minimally implemented on top of the existing *_assign() functions.
This commit is contained in:
@@ -7,6 +7,7 @@ use std::time::{Duration, Instant};
|
||||
// Bring in some tools for using pairing-friendly curves
|
||||
use ff::{Field, ScalarEngine};
|
||||
use pairing::Engine;
|
||||
use std::ops::{AddAssign, MulAssign};
|
||||
|
||||
// We're going to use the BLS12-381 pairing-friendly elliptic curve.
|
||||
use pairing::bls12_381::Bls12;
|
||||
|
Reference in New Issue
Block a user