Documentation ¶
Index ¶
- Variables
- type TransactionList
- func (*TransactionList) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionList) GetTransactionList() []*services.Transaction
- func (*TransactionList) ProtoMessage()
- func (x *TransactionList) ProtoReflect() protoreflect.Message
- func (x *TransactionList) Reset()
- func (x *TransactionList) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_transaction_list_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TransactionList ¶
type TransactionList struct { TransactionList []*services.Transaction `protobuf:"bytes,1,rep,name=transaction_list,json=transactionList,proto3" json:"transaction_list,omitempty"` // contains filtered or unexported fields }
* A simple protobuf wrapper to store a list of transactions. This is used by `Transaction.[from|to]Bytes()` in the SDKs. The reason the SDK needs a list of transactions is because it holds onto a transaction per node. So if a transaction is to be submitted to nodes 3 and 4 the SDK Transaction type would contain a list of 2 protobuf transactions, one for node 3 and one for node 4.
func (*TransactionList) Descriptor
deprecated
func (*TransactionList) Descriptor() ([]byte, []int)
Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.
func (*TransactionList) GetTransactionList ¶
func (x *TransactionList) GetTransactionList() []*services.Transaction
func (*TransactionList) ProtoMessage ¶
func (*TransactionList) ProtoMessage()
func (*TransactionList) ProtoReflect ¶
func (x *TransactionList) ProtoReflect() protoreflect.Message
func (*TransactionList) Reset ¶
func (x *TransactionList) Reset()
func (*TransactionList) String ¶
func (x *TransactionList) String() string
Click to show internal directories.
Click to hide internal directories.