Skip to content

Delete the internal endpoint get-tree-head-unsigned

Niels Möller requested to merge no-GetUnsignedTreeHead into main

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

Merge request reports

Loading