Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gubsheep committed Oct 3, 2024
1 parent 4d77e59 commit f6852e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ impl GODPOD {
let payload_hash_vec = vec![payload_hash];

// signature is a hardcoded skey (currently 0)
// todo is to build a limited version of this with a ZKP
// would start by making it so that the ZKP only allows
// a max number of input PODs, max number of entries/statements per input POD,
// max number of statements for output POD, and some max number of each type of operation
let proof = protocol.sign(&payload_hash_vec, &SchnorrSecretKey { sk: 0 }, &mut rng);
Self { payload, proof }
}
Expand Down

0 comments on commit f6852e1

Please sign in to comment.