mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
contract/consensus: Add section comment for lottery part of the proposal zk proof
This commit is contained in:
@@ -124,6 +124,10 @@ circuit "ConsensusProposal_V1" {
|
||||
);
|
||||
constrain_instance(output_coin);
|
||||
|
||||
# ============================
|
||||
# Constrain lottery parameters
|
||||
# ============================
|
||||
|
||||
# Coin y, constructed with the old serial for seeding:
|
||||
seed = poseidon_hash(SEED_PREFIX, input_serial);
|
||||
y = poseidon_hash(seed, mu_y);
|
||||
|
||||
Reference in New Issue
Block a user