Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_addBlock
Method · 0.45
verify
Method · 0.45
storeOrphan
Method · 0.45
Calls
4
fromRaw
Method · 0.45
toNum
Method · 0.45
equals
Method · 0.45
fromNum
Method · 0.45
Tested by
no test coverage detected