pub fn announce<T: Config<I>, I: 'static>(
cid: OpaqueCid,
maybe_expire: Option<DispatchTime<BlockNumberFor<T>>>,
)Expand description
Publish an announcement.
Parameters:
origin: Must be the Config::AnnouncementOrigin.cid: CID of the IPFS document to announce.maybe_expire: Expiration block of the announcement. IfNoneConfig::AnnouncementLifetimeused as a default.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::announce.