input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
115 stars 36 forks source link

Remove connections coupling with providers in database #1711

Closed jpraynaud closed 1 month ago

jpraynaud commented 1 month ago

Why

We need to make the providers capable of returning an iterator alongside of a collection. The providers are currently using the database connection which prevents this operation to be done easily (in particular because of lifetime issues).

What

Remove the connection from the all the providers in the Mithril nodes and rename them to a more appropriate name (as they will not provide anything anymore).

How

Later