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

Method GetVersion

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

Source from the content-addressed store, hash-verified

205func (*BlockHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
206
207func (m *BlockHeader) GetVersion() uint64 {
208 if m != nil {
209 return m.Version
210 }
211 return 0
212}
213
214func (m *BlockHeader) GetHeight() uint64 {
215 if m != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected