mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-28 15:58:07 +00:00
SHAMapAddNode gains getBad() and getDuplicate() beside getGood(), so a verdict can be read as counts. Every accessor, mutator and factory is documented, and reset(), get() and operator+= move after the static factories, so the counters and the ways to read or combine them stay grouped. get() is a log format, and src/tests/libxrpl/shamap/SHAMapAddNode.cpp is the one place that depends on its wording: it pins that format, the counts the three accessors report, and the way one tally accumulates into another.