代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go.
// source: dah.proto
// DO NOT EDIT!
/*
Package util is a generated protocol buffer package.
It is generated from these files:
dah.proto
It has these top-level messages:
TX
*/
package util
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type TX struct {
Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
LockTime uint32 `protobuf:"varint,2,opt,name=lockTime" json:"lockTime,omitempty"`
Txin []*TX_TXIN `protobuf:"bytes,3,rep,name=txin" json:"txin,omitempty"`
Txout []*TX_TXOUT `protobuf:"bytes,4,rep,name=txout" json:"txout,omitempty"`
Blocks [][]byte `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"`
Fee uint64 `protobuf:"varint,6,opt,name=fee" json:"fee,omitempty"`
}
func (m *TX) Reset() { *m = TX{} }
func (m *TX) String() string { return proto.CompactTextString(m) }
func (*TX) ProtoMessage() {}
func (*TX) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *TX) GetTxin() []*TX_TXIN {
if m != nil {
return m.Txin
}
return nil
}
func (m *TX) GetTxout() []*TX_TXOUT {
if m != nil {
return m.Txout
}
return nil
}
type TX_TXIN struct {
Ix uint32 `protobuf:"varint,1,opt,name=ix" json:"ix,omitempty"`
SourceHash []byte `protobuf:"bytes,2,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
Script []byte `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
Sequence uint32 `protobuf:"varint,4,opt,name=sequence" json:"sequence,omitempty"`
}
func (m *TX_TXIN) Reset() { *m = TX_TXIN{} }
func (m *TX_TXIN) String() string { return proto.CompactTextString(m) }
func (*TX_TXIN) ProtoMessage() {}
func (*TX_TXIN) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
type TX_TXOUT struct {
Value uint64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
Color []byte `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
Quantity uint64 `protobuf:"varint,4,opt,name=quantity" json:"quantity,omitempty"`
}
func (m *TX_TXOUT) Reset() { *m = TX_TXOUT{} }
func (m *TX_TXOUT) String() string { return proto.CompactTextString(m) }
func (*TX_TXOUT) ProtoMessage() {}
func (*TX_TXOUT) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
func init() {
proto.RegisterType((*TX)(nil), "util.TX")
proto.RegisterType((*TX_TXIN)(nil), "util.TX.TXIN")
proto.RegisterType((*TX_TXOUT)(nil), "util.TX.TXOUT")
}
func init() { proto.RegisterFile("dah.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 277 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x91, 0xcf, 0x4b, 0xc3, 0x30,
0x1c, 0xc5, 0x59, 0x9b, 0x56, 0xfd, 0xba, 0x0d, 0xf9, 0x22, 0x12, 0x7a, 0x90, 0x29, 0x1e, 0x76,
0xea, 0x41, 0xff, 0x09, 0xbd, 0x28, 0x84, 0x0a, 0xbb, 0x76, 0x31, 0xba, 0x68, 0x6d, 0xb6, 0xfc,
0x18, 0xf5, 0xea, 0x5f, 0x6e, 0x92, 0x76, 0xa3, 0x42, 0x0f, 0xf9, 0xf4, 0x3d, 0xde, 0x7b, 0x21,
0x70, 0xf6, 0x56, 0x6f, 0xca, 0xad, 0x56, 0x56, 0x21, 0x71, 0x56, 0x36, 0xb7, 0xbf, 0x29, 0x24,
0xd5, 0x0a, 0x29, 0x9c, 0xec, 0x85, 0x36, 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0xdd, 0x9e, 0x01, 0x00, 0x00,
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。