provide method
Provide adds the given cid to the content routing system. If 'true' is passed, it also announces it, otherwise it is just kept in the local accounting of which objects are being provided.
Implementation
@override
Future<void> provide(CID cid, bool announce) async {
if (!announce) {
return;
}
await _discovery.advertise(cidToNs(cid), _opts);
}