github.com/aychain/blockbook@v0.1.1-0.20181121092459-6d1fc7e07c5b/bchain/tx.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: tx.proto
     3  
     4  /*
     5  Package bchain is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	tx.proto
     9  
    10  It has these top-level messages:
    11  	ProtoTransaction
    12  */
    13  package bchain
    14  
    15  import proto "github.com/golang/protobuf/proto"
    16  import fmt "fmt"
    17  import math "math"
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    29  
    30  type ProtoTransaction struct {
    31  	Txid      []byte                       `protobuf:"bytes,1,opt,name=Txid,proto3" json:"Txid,omitempty"`
    32  	Hex       []byte                       `protobuf:"bytes,2,opt,name=Hex,proto3" json:"Hex,omitempty"`
    33  	Blocktime uint64                       `protobuf:"varint,3,opt,name=Blocktime" json:"Blocktime,omitempty"`
    34  	Locktime  uint32                       `protobuf:"varint,4,opt,name=Locktime" json:"Locktime,omitempty"`
    35  	Height    uint32                       `protobuf:"varint,5,opt,name=Height" json:"Height,omitempty"`
    36  	Vin       []*ProtoTransaction_VinType  `protobuf:"bytes,6,rep,name=Vin" json:"Vin,omitempty"`
    37  	Vout      []*ProtoTransaction_VoutType `protobuf:"bytes,7,rep,name=Vout" json:"Vout,omitempty"`
    38  }
    39  
    40  func (m *ProtoTransaction) Reset()                    { *m = ProtoTransaction{} }
    41  func (m *ProtoTransaction) String() string            { return proto.CompactTextString(m) }
    42  func (*ProtoTransaction) ProtoMessage()               {}
    43  func (*ProtoTransaction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    44  
    45  func (m *ProtoTransaction) GetTxid() []byte {
    46  	if m != nil {
    47  		return m.Txid
    48  	}
    49  	return nil
    50  }
    51  
    52  func (m *ProtoTransaction) GetHex() []byte {
    53  	if m != nil {
    54  		return m.Hex
    55  	}
    56  	return nil
    57  }
    58  
    59  func (m *ProtoTransaction) GetBlocktime() uint64 {
    60  	if m != nil {
    61  		return m.Blocktime
    62  	}
    63  	return 0
    64  }
    65  
    66  func (m *ProtoTransaction) GetLocktime() uint32 {
    67  	if m != nil {
    68  		return m.Locktime
    69  	}
    70  	return 0
    71  }
    72  
    73  func (m *ProtoTransaction) GetHeight() uint32 {
    74  	if m != nil {
    75  		return m.Height
    76  	}
    77  	return 0
    78  }
    79  
    80  func (m *ProtoTransaction) GetVin() []*ProtoTransaction_VinType {
    81  	if m != nil {
    82  		return m.Vin
    83  	}
    84  	return nil
    85  }
    86  
    87  func (m *ProtoTransaction) GetVout() []*ProtoTransaction_VoutType {
    88  	if m != nil {
    89  		return m.Vout
    90  	}
    91  	return nil
    92  }
    93  
    94  type ProtoTransaction_VinType struct {
    95  	Coinbase     string   `protobuf:"bytes,1,opt,name=Coinbase" json:"Coinbase,omitempty"`
    96  	Txid         []byte   `protobuf:"bytes,2,opt,name=Txid,proto3" json:"Txid,omitempty"`
    97  	Vout         uint32   `protobuf:"varint,3,opt,name=Vout" json:"Vout,omitempty"`
    98  	ScriptSigHex []byte   `protobuf:"bytes,4,opt,name=ScriptSigHex,proto3" json:"ScriptSigHex,omitempty"`
    99  	Sequence     uint32   `protobuf:"varint,5,opt,name=Sequence" json:"Sequence,omitempty"`
   100  	Addresses    []string `protobuf:"bytes,6,rep,name=Addresses" json:"Addresses,omitempty"`
   101  }
   102  
   103  func (m *ProtoTransaction_VinType) Reset()                    { *m = ProtoTransaction_VinType{} }
   104  func (m *ProtoTransaction_VinType) String() string            { return proto.CompactTextString(m) }
   105  func (*ProtoTransaction_VinType) ProtoMessage()               {}
   106  func (*ProtoTransaction_VinType) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
   107  
   108  func (m *ProtoTransaction_VinType) GetCoinbase() string {
   109  	if m != nil {
   110  		return m.Coinbase
   111  	}
   112  	return ""
   113  }
   114  
   115  func (m *ProtoTransaction_VinType) GetTxid() []byte {
   116  	if m != nil {
   117  		return m.Txid
   118  	}
   119  	return nil
   120  }
   121  
   122  func (m *ProtoTransaction_VinType) GetVout() uint32 {
   123  	if m != nil {
   124  		return m.Vout
   125  	}
   126  	return 0
   127  }
   128  
   129  func (m *ProtoTransaction_VinType) GetScriptSigHex() []byte {
   130  	if m != nil {
   131  		return m.ScriptSigHex
   132  	}
   133  	return nil
   134  }
   135  
   136  func (m *ProtoTransaction_VinType) GetSequence() uint32 {
   137  	if m != nil {
   138  		return m.Sequence
   139  	}
   140  	return 0
   141  }
   142  
   143  func (m *ProtoTransaction_VinType) GetAddresses() []string {
   144  	if m != nil {
   145  		return m.Addresses
   146  	}
   147  	return nil
   148  }
   149  
   150  type ProtoTransaction_VoutType struct {
   151  	ValueSat        []byte   `protobuf:"bytes,1,opt,name=ValueSat,proto3" json:"ValueSat,omitempty"`
   152  	N               uint32   `protobuf:"varint,2,opt,name=N" json:"N,omitempty"`
   153  	ScriptPubKeyHex []byte   `protobuf:"bytes,3,opt,name=ScriptPubKeyHex,proto3" json:"ScriptPubKeyHex,omitempty"`
   154  	Addresses       []string `protobuf:"bytes,4,rep,name=Addresses" json:"Addresses,omitempty"`
   155  }
   156  
   157  func (m *ProtoTransaction_VoutType) Reset()                    { *m = ProtoTransaction_VoutType{} }
   158  func (m *ProtoTransaction_VoutType) String() string            { return proto.CompactTextString(m) }
   159  func (*ProtoTransaction_VoutType) ProtoMessage()               {}
   160  func (*ProtoTransaction_VoutType) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
   161  
   162  func (m *ProtoTransaction_VoutType) GetValueSat() []byte {
   163  	if m != nil {
   164  		return m.ValueSat
   165  	}
   166  	return nil
   167  }
   168  
   169  func (m *ProtoTransaction_VoutType) GetN() uint32 {
   170  	if m != nil {
   171  		return m.N
   172  	}
   173  	return 0
   174  }
   175  
   176  func (m *ProtoTransaction_VoutType) GetScriptPubKeyHex() []byte {
   177  	if m != nil {
   178  		return m.ScriptPubKeyHex
   179  	}
   180  	return nil
   181  }
   182  
   183  func (m *ProtoTransaction_VoutType) GetAddresses() []string {
   184  	if m != nil {
   185  		return m.Addresses
   186  	}
   187  	return nil
   188  }
   189  
   190  func init() {
   191  	proto.RegisterType((*ProtoTransaction)(nil), "bchain.ProtoTransaction")
   192  	proto.RegisterType((*ProtoTransaction_VinType)(nil), "bchain.ProtoTransaction.VinType")
   193  	proto.RegisterType((*ProtoTransaction_VoutType)(nil), "bchain.ProtoTransaction.VoutType")
   194  }
   195  
   196  func init() { proto.RegisterFile("tx.proto", fileDescriptor0) }
   197  
   198  var fileDescriptor0 = []byte{
   199  	// 331 bytes of a gzipped FileDescriptorProto
   200  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xc1, 0x6e, 0xea, 0x30,
   201  	0x10, 0x94, 0x89, 0x5f, 0x80, 0x7d, 0xa0, 0x87, 0xf6, 0xf0, 0x14, 0xa1, 0x1e, 0x52, 0x4e, 0x39,
   202  	0xe5, 0x40, 0xd5, 0x0f, 0x68, 0x7b, 0x41, 0x6a, 0x85, 0x90, 0x83, 0x72, 0x4f, 0x82, 0x05, 0x56,
   203  	0xa9, 0x4d, 0x13, 0x47, 0x02, 0xa9, 0x3f, 0xd3, 0x73, 0x7f, 0xb2, 0xf2, 0x12, 0x42, 0x41, 0xea,
   204  	0x6d, 0x67, 0xbc, 0xe3, 0x19, 0x4f, 0x02, 0x3d, 0xbb, 0x8f, 0x77, 0xa5, 0xb1, 0x06, 0xfd, 0xbc,
   205  	0xd8, 0x64, 0x4a, 0x4f, 0x3e, 0x39, 0x8c, 0x16, 0x8e, 0x59, 0x96, 0x99, 0xae, 0xb2, 0xc2, 0x2a,
   206  	0xa3, 0x11, 0x81, 0x2f, 0xf7, 0x6a, 0x15, 0xb0, 0x90, 0x45, 0x03, 0x41, 0x33, 0x8e, 0xc0, 0x9b,
   207  	0xc9, 0x7d, 0xd0, 0x21, 0xca, 0x8d, 0x78, 0x03, 0xfd, 0xc7, 0xad, 0x29, 0x5e, 0xad, 0x7a, 0x93,
   208  	0x81, 0x17, 0xb2, 0x88, 0x8b, 0x33, 0x81, 0x63, 0xe8, 0xbd, 0x9c, 0x0e, 0x79, 0xc8, 0xa2, 0xa1,
   209  	0x68, 0x31, 0xfe, 0x07, 0x7f, 0x26, 0xd5, 0x7a, 0x63, 0x83, 0x3f, 0x74, 0xd2, 0x20, 0x9c, 0x82,
   210  	0x97, 0x2a, 0x1d, 0xf8, 0xa1, 0x17, 0xfd, 0x9d, 0x86, 0xf1, 0x31, 0x62, 0x7c, 0x1d, 0x2f, 0x4e,
   211  	0x95, 0x5e, 0x1e, 0x76, 0x52, 0xb8, 0x65, 0xbc, 0x07, 0x9e, 0x9a, 0xda, 0x06, 0x5d, 0x12, 0xdd,
   212  	0xfe, 0x2e, 0x32, 0xb5, 0x25, 0x15, 0xad, 0x8f, 0xbf, 0x18, 0x74, 0x9b, 0x7b, 0x5c, 0xd4, 0x27,
   213  	0xa3, 0x74, 0x9e, 0x55, 0x92, 0x9e, 0xdc, 0x17, 0x2d, 0x6e, 0xab, 0xe8, 0xfc, 0xa8, 0x02, 0x1b,
   214  	0x4b, 0x8f, 0xc2, 0xd3, 0x8c, 0x13, 0x18, 0x24, 0x45, 0xa9, 0x76, 0x36, 0x51, 0x6b, 0xd7, 0x13,
   215  	0xa7, 0xfd, 0x0b, 0xce, 0xf9, 0x24, 0xf2, 0xbd, 0x96, 0xba, 0x90, 0xcd, 0xc3, 0x5b, 0xec, 0xca,
   216  	0x7c, 0x58, 0xad, 0x4a, 0x59, 0x55, 0xb2, 0xa2, 0x02, 0xfa, 0xe2, 0x4c, 0x8c, 0x3f, 0xa0, 0x77,
   217  	0xca, 0xef, 0x6e, 0x49, 0xb3, 0x6d, 0x2d, 0x93, 0xcc, 0x36, 0x1f, 0xa8, 0xc5, 0x38, 0x00, 0x36,
   218  	0xa7, 0xa8, 0x43, 0xc1, 0xe6, 0x18, 0xc1, 0xbf, 0xa3, 0xff, 0xa2, 0xce, 0x9f, 0xe5, 0xc1, 0xc5,
   219  	0xf2, 0x48, 0x70, 0x4d, 0x5f, 0xba, 0xf3, 0x2b, 0xf7, 0xdc, 0xa7, 0x5f, 0xe6, 0xee, 0x3b, 0x00,
   220  	0x00, 0xff, 0xff, 0x95, 0x9e, 0x00, 0x7a, 0x3e, 0x02, 0x00, 0x00,
   221  }