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

Method getCoinbaseHeight

lib/script/script.js:2403–2405  ·  view source on GitHub ↗

* Get coinbase height. * @returns {Number} `-1` if not present.

()

Source from the content-addressed store, hash-verified

2401 */
2402
2403 getCoinbaseHeight() {
2404 return Script.getCoinbaseHeight(this.raw);
2405 }
2406
2407 /**
2408 * Get coinbase height.

Callers 3

_addBlockMethod · 0.45
verifyMethod · 0.45
storeOrphanMethod · 0.45

Calls 4

fromRawMethod · 0.45
toNumMethod · 0.45
equalsMethod · 0.45
fromNumMethod · 0.45

Tested by

no test coverage detected