Cleanup SHAMap and simplify interfaces:

* Improve error reporting (more readable exception messages)
* Reduce function complexity (split oversized function to smaller pieces)
* Reduce code duplication
* Reduce buffer copying
This commit is contained in:
Nik Bougalis
2020-05-04 11:14:01 -07:00
parent e8f3525226
commit 362a017eee
13 changed files with 384 additions and 488 deletions

View File

@@ -140,7 +140,6 @@ public:
.addRootNode(
source.getHash(),
makeSlice(*gotNodes_a.begin()),
snfWIRE,
nullptr)
.isGood());
}