oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains
https://oasisprotocol.org
Apache License 2.0
334 stars 110 forks source link

Make storage request more peers if no checkpoints can be found #5750

Open kostko opened 3 months ago

kostko commented 3 months ago

In case the storage worker is unable to initialize because there are no usable checkpoints available, make it able to request additional peers from the P2P subsystem (they could be requested through discovery etc.).

Similar should probably be done for other protocols, e.g. in case key manager client is unable to do queries it should try to discover more peers etc.