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
wmtk::utils
Definition:
Tuple.hpp:22
wmtk::utils::merkle_tree_diff
std::optional< nlohmann::json > merkle_tree_diff(const Hashable &a, const Hashable &b, bool detailed)
Definition:
merkle_tree_diff.cpp:81
src
wmtk
utils
merkle_tree_diff.hpp
Generated by
1.9.1