MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / right

Method right

mlspp/src/tree_math.cpp:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126NodeIndex
127NodeIndex::right() const
128{
129 if (is_leaf()) {
130 return *this;
131 }
132
133 return NodeIndex{ val ^ (uint32_t(0x03) << (level() - 1)) };
134}
135
136NodeIndex
137NodeIndex::parent() const

Callers 7

TreeMathTestVectorMethod · 0.80
verifyMethod · 0.80
siblingMethod · 0.80
parent_hash_validMethod · 0.80
resolveMethod · 0.80
TreeHashInputClass · 0.80
getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected