diff --git a/include/xrpl/shamap/SHAMapNodeID.h b/include/xrpl/shamap/SHAMapNodeID.h index 9155b6db39..31473382d6 100644 --- a/include/xrpl/shamap/SHAMapNodeID.h +++ b/include/xrpl/shamap/SHAMapNodeID.h @@ -47,6 +47,17 @@ public: return id_; } + /** + * Get the SHAMapNodeID of a child node at the specified branch. + * + * @param m The branch number (0-15) indicating which child to descend to. + * In the SHAMap's 16-way radix tree, each inner node has up to + * 16 children, indexed by the corresponding nibble (4 bits) of + * the key at the current depth. + * @return SHAMapNodeID of the child node at branch m. + * @throws std::logic_error if this node is at the maximum leaf depth (64) + * or if the node's id doesn't match its depth mask. + */ SHAMapNodeID getChildNodeID(unsigned int m) const; diff --git a/sanitizers/suppressions/runtime-asan-options.txt b/sanitizers/suppressions/runtime-asan-options.txt index 42c18d48e1..95a0d7ec7f 100644 --- a/sanitizers/suppressions/runtime-asan-options.txt +++ b/sanitizers/suppressions/runtime-asan-options.txt @@ -1,3 +1,4 @@ detect_container_overflow=0 detect_stack_use_after_return=0 debug=true +halt_on_error=false