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

Method constructor

lib/script/script.js:54–60  ·  view source on GitHub ↗

* Create a script. * @constructor * @param {Buffer|Array|Object} code

(options)

Source from the content-addressed store, hash-verified

52 */
53
54 constructor(options) {
55 this.raw = EMPTY_BUFFER;
56 this.code = [];
57
58 if (options)
59 this.fromOptions(options);
60 }
61
62 /**
63 * Get length.

Callers

nothing calls this directly

Calls 1

fromOptionsMethod · 0.95

Tested by

no test coverage detected