61 return std::vector<fr>({
nullifier, nextKey, nextIndex });
70 static std::string
name() {
return "NullifierLeafValue"; };
113 os <<
"slot = " << v.
slot <<
" : value = " << v.
value;
123 return std::vector<fr>({
slot,
value, nextIndex, nextValue });
132 static std::string
name() {
return "PublicDataLeafValue"; };
158 static std::string
name() {
return LeafType::name(); }
167 if (
this != &other) {
177 if (
this != &other) {
187 os <<
leaf.leaf <<
"\nnextIdx = " <<
leaf.nextIndex <<
"\nnextKey = " <<
leaf.nextKey;
#define MSGPACK_FIELDS(...)
size_t hash_as_tuple(const Ts &... ts)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
IndexedLeaf(const IndexedLeaf< LeafType > &other)=default
bool operator==(IndexedLeaf< LeafType > const &other) const
static IndexedLeaf< LeafType > padding(index_t i)
IndexedLeaf< LeafType > & operator=(IndexedLeaf< LeafType > const &other)
static IndexedLeaf< LeafType > empty()
std::vector< fr > get_hash_inputs() const
IndexedLeaf< LeafType > & operator=(IndexedLeaf< LeafType > &&other) noexcept
static bool is_updateable()
friend std::ostream & operator<<(std::ostream &os, const IndexedLeaf< LeafType > &leaf)
IndexedLeaf(IndexedLeaf< LeafType > &&other) noexcept=default
static std::string name()
std::vector< fr > get_hash_inputs(fr nextKey, fr nextIndex) const
friend std::ostream & operator<<(std::ostream &os, const NullifierLeafValue &v)
NullifierLeafValue & operator=(NullifierLeafValue &&other) noexcept
bool operator==(NullifierLeafValue const &other) const
size_t hash() const noexcept
static NullifierLeafValue empty()
static std::string name()
NullifierLeafValue & operator=(const NullifierLeafValue &other)
static bool is_updateable()
~NullifierLeafValue()=default
NullifierLeafValue(const NullifierLeafValue &other)=default
NullifierLeafValue(NullifierLeafValue &&other)=default
static NullifierLeafValue padding(index_t i)
static bool is_updateable()
~PublicDataLeafValue()=default
static std::string name()
bool operator==(PublicDataLeafValue const &other) const
PublicDataLeafValue(PublicDataLeafValue &&other)=default
static PublicDataLeafValue padding(index_t i)
friend std::ostream & operator<<(std::ostream &os, const PublicDataLeafValue &v)
static PublicDataLeafValue empty()
PublicDataLeafValue(const PublicDataLeafValue &other)=default
PublicDataLeafValue & operator=(const PublicDataLeafValue &other)
size_t hash() const noexcept
std::vector< fr > get_hash_inputs(fr nextValue, fr nextIndex) const
PublicDataLeafValue & operator=(PublicDataLeafValue &&other) noexcept
BB_INLINE constexpr bool is_zero() const noexcept
static constexpr field zero()