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

Function init

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

Source from the content-addressed store, hash-verified

348}
349
350func init() {
351 proto.RegisterType((*Hash)(nil), "bc.Hash")
352 proto.RegisterType((*Predicate)(nil), "bc.Predicate")
353 proto.RegisterType((*DataItem)(nil), "bc.DataItem")
354 proto.RegisterType((*BlockHeader)(nil), "bc.BlockHeader")
355 proto.RegisterType((*RawTx)(nil), "bc.RawTx")
356 proto.RegisterType((*RawBlock)(nil), "bc.RawBlock")
357 proto.RegisterEnum("bc.DataType", DataType_name, DataType_value)
358}
359
360func init() { proto.RegisterFile("bc.proto", fileDescriptor0) }
361

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected