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

Method getMultisigInput

lib/script/script.js:2324–2334  ·  view source on GitHub ↗

* Get multisig signatures if present. * @returns {Buffer[]|null}

()

Source from the content-addressed store, hash-verified

2322 */
2323
2324 getMultisigInput() {
2325 if (!this.isMultisigInput())
2326 return null;
2327
2328 const sigs = [];
2329
2330 for (let i = 1; i < this.code.length; i++)
2331 sigs.push(this.getData(i));
2332
2333 return sigs;
2334 }
2335
2336 /**
2337 * "Guess" whether the input script is pay-to-scripthash.

Callers

nothing calls this directly

Calls 3

isMultisigInputMethod · 0.95
getDataMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected