Delete the internal endpoint get-tree-head-unsigned
Instead, change the the internal get-leaves end-point to
- allow end-index beyond the end of the tree (just clamp to end), and
- return 404 (not 400) when start-index equals the current size.
Then secondary can do a simple loop on get-leaves, without asking for any tree heads.
Edited by Niels Möller