MCPcopy Create free account
hub / github.com/chain/txvm / GetHeight

Method GetHeight

protocol/bc/bc.pb.go:214–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214func (m *BlockHeader) GetHeight() uint64 {
215 if m != nil {
216 return m.Height
217 }
218 return 0
219}
220
221func (m *BlockHeader) GetPreviousBlockId() *Hash {
222 if m != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected