MCPcopy Index your code
hub / github.com/chain/Core / Spend

Struct Spend

protocol/bc/bc.pb.go:707–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707type Spend struct {
708 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
709 Data *Hash `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
710 ExtHash *Hash `protobuf:"bytes,3,opt,name=ext_hash,json=extHash" json:"ext_hash,omitempty"`
711 WitnessDestination *ValueDestination `protobuf:"bytes,4,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
712 WitnessArguments [][]byte `protobuf:"bytes,5,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
713 WitnessAnchoredId *Hash `protobuf:"bytes,6,opt,name=witness_anchored_id,json=witnessAnchoredId" json:"witness_anchored_id,omitempty"`
714 Ordinal uint64 `protobuf:"varint,7,opt,name=ordinal" json:"ordinal,omitempty"`
715}
716
717func (m *Spend) Reset() { *m = Spend{} }
718func (m *Spend) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected