MCPcopy
hub / github.com/bcoin-org/bcoin / equals

Method equals

lib/script/script.js:297–300  ·  view source on GitHub ↗

* Test equality against script. * @param {Script} script * @returns {Boolean}

(script)

Source from the content-addressed store, hash-verified

295 */
296
297 equals(script) {
298 assert(Script.isScript(script));
299 return this.raw.equals(script.raw);
300 }
301
302 /**
303 * Compare against another script.

Callers 15

reserializeUndoFunction · 0.45
reserializeCoinsFunction · 0.45
reserializeEntriesFunction · 0.45
isMainChainFunction · 0.45
verifyMethod · 0.45
getReceivedByAddressMethod · 0.45
removeBlockMethod · 0.45
removeConflictsMethod · 0.45
pushKeyMethod · 0.45
executeMethod · 0.45
findAndDeleteMethod · 0.45
indexOfMethod · 0.45

Calls 1

isScriptMethod · 0.80

Tested by

no test coverage detected