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

Method setData

lib/script/script.js:2703–2705  ·  view source on GitHub ↗
(index, data)

Source from the content-addressed store, hash-verified

2701 }
2702
2703 setData(index, data) {
2704 return this.set(index, Opcode.fromData(data));
2705 }
2706
2707 pushData(data) {
2708 return this.push(Opcode.fromData(data));

Callers

nothing calls this directly

Calls 2

setMethod · 0.95
fromDataMethod · 0.80

Tested by

no test coverage detected