Wildmeshing Toolkit
merkle_tree_diff.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <nlohmann/json.hpp>
3 #include <optional>
4 
5 
6 namespace wmtk::utils {
7 class Hashable;
8 class MerkleTreeInteriorNode;
9 // returns a json object if there is a difference
10 std::optional<nlohmann::json>
11 merkle_tree_diff(const Hashable& a, const Hashable& b, bool detailed = false);
12 
13 
14 } // namespace wmtk::utils
std::optional< nlohmann::json > merkle_tree_diff(const Hashable &a, const Hashable &b, bool detailed)