barretenberg
Loading...
Searching...
No Matches
join_split.hpp
1#pragma once
2#include "barretenberg/join_split_example/types.hpp"
3#include "barretenberg/srs/factories/crs_factory.hpp"
4#include "join_split_tx.hpp"
5
6namespace join_split_example {
7namespace proofs {
8namespace join_split {
9
10void init_proving_key(bool mock);
11
12void release_proving_key();
13
14void init_verification_key();
15
16Prover new_join_split_prover(join_split_tx const& tx, bool mock);
17
18bool verify_proof(plonk::proof const& proof);
19
20std::shared_ptr<plonk::proving_key> get_proving_key();
21
22std::shared_ptr<plonk::verification_key> get_verification_key();
23
24} // namespace join_split
25} // namespace proofs
26} // namespace join_split_example
Definition: prover.hpp:12
Definition: proof.hpp:11