bark: Prefer Vtxo<Bare> by default

  • check or remove this line after you've added a CHANGELOG entry or if your PR doesn't need one (they should go into CHANGELOG/unreleased/)

Big memory and performance benefits with this one. Right now we use Vtxo<Full> by default even for operations that do not require any genesis item information. This MR will make breaking changes to the API to return Vtxo<Bare> by default, with additional options to "hydrate" a VTXO to a full-fat variant for use when signing.

This should substantially speed up maintenance checks which can currently be very slow with large VTXOs.

There is one TODO which will be a separate MR, we currently don't have any migration scheme for the StorageAdapter implementation, to get the same improvement in performance this will be implemented outside of this MR.

Edited by Peter

Merge request reports

Loading