(
main_account: &'a AccountInfo<'b>,
current_instruction_index: usize,
)
| 26 | } |
| 27 | impl<'a, 'b> Groth16Processor<'a, 'b> { |
| 28 | pub fn new( |
| 29 | main_account: &'a AccountInfo<'b>, |
| 30 | current_instruction_index: usize, |
| 31 | ) -> Result<Self, ProgramError> { |
| 32 | Ok(Groth16Processor { |
| 33 | main_account, |
| 34 | current_instruction_index, |
| 35 | }) |
| 36 | } |
| 37 | // The groth16 verifier verifies proofs for the Groth16 zkSNARK construction that's used by Light Protocol. |
| 38 | // This implements the ark-groth16 verifier in a way that can be executed by the Solana runtime. |
| 39 | // As such, it's mostly broken up into many smaller computation pieces that each fit into a single instruction's compute budget. |
nothing calls this directly
no outgoing calls
no test coverage detected