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

Method Value

protocol/bc/blockheader.go:74–76  ·  view source on GitHub ↗

Value satisfies the Valuer interface from database/sql/driver.

()

Source from the content-addressed store, hash-verified

72
73// Value satisfies the Valuer interface from database/sql/driver.
74func (bh *BlockHeader) Value() (driver.Value, error) {
75 return proto.Marshal(bh)
76}
77
78func (item *DataItem) asTxvm() txvm.Data {
79 switch item.Type {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected