MCPcopy Index your code
hub / github.com/bcoin-org/bcoin / compare

Method compare

lib/script/script.js:308–311  ·  view source on GitHub ↗

* Compare against another script. * @param {Script} script * @returns {Number}

(script)

Source from the content-addressed store, hash-verified

306 */
307
308 compare(script) {
309 assert(Script.isScript(script));
310 return this.raw.compare(script.raw);
311 }
312
313 /**
314 * Clear the script.

Callers 7

getEntriesMethod · 0.45
cmpFunction · 0.45
sortKeysFunction · 0.45
_syncBlockMethod · 0.45
outpoint-test.jsFile · 0.45
net-test.jsFile · 0.45
input-test.jsFile · 0.45

Calls 1

isScriptMethod · 0.80

Tested by

no test coverage detected