MCPcopy
hub / github.com/gitcoinco/web / add

Method add

app/assets/v2/js/ipfs-api.js:48196–48202  ·  view source on GitHub ↗
(ma)

Source from the content-addressed store, hash-verified

48194 }
48195
48196 add (ma) {
48197 ma = ensureMultiaddr(ma)
48198
48199 if (!this.has(ma)) {
48200 this._multiaddrs.push(ma)
48201 }
48202 }
48203
48204 // addSafe - prevent multiaddr explosion™
48205 // Multiaddr explosion is when you dial to a bunch of nodes and every node

Callers 15

addSafeMethod · 0.95
replaceMethod · 0.95
test_searchMethod · 0.80
test_revoke_tokenMethod · 0.80
test_reset_tokenMethod · 0.80

Calls 2

hasMethod · 0.95
ensureMultiaddrFunction · 0.85