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

Method leaf_node

mlspp/src/treekem.cpp:628–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628std::optional<LeafNode>
629TreeKEMPublicKey::leaf_node(LeafIndex index) const
630{
631 const auto& node = node_at(index);
632 if (node.blank()) {
633 return std::nullopt;
634 }
635
636 return node.leaf_node();
637}
638
639TreeKEMPrivateKey
640TreeKEMPublicKey::update(LeafIndex from,

Callers 11

verifyMethod · 0.80
update_proposalMethod · 0.80
validMethod · 0.80
verify_internalMethod · 0.80
signMethod · 0.80
verifyMethod · 0.80
findMethod · 0.80
updateMethod · 0.80
TreeHashInputClass · 0.80
all_leavesMethod · 0.80
any_leafMethod · 0.80

Calls 1

blankMethod · 0.80

Tested by

no test coverage detected