MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / remove_provided_subnet

Method remove_provided_subnet

ipld/resolver/src/client.rs:46–49  ·  view source on GitHub ↗

Remove a subnet no longer supported by this node.

(&self, subnet_id: SubnetID)

Source from the content-addressed store, hash-verified

44
45 /// Remove a subnet no longer supported by this node.
46 pub fn remove_provided_subnet(&self, subnet_id: SubnetID) -> anyhow::Result<()> {
47 let req = Request::RemoveProvidedSubnet(subnet_id);
48 self.send_request(req)
49 }
50
51 /// Add a subnet we know really exist and we are interested in them.
52 pub fn pin_subnet(&self, subnet_id: SubnetID) -> anyhow::Result<()> {

Callers 1

handle_requestMethod · 0.45

Calls 1

send_requestMethod · 0.80

Tested by

no test coverage detected